1 2 Previous Next 22 Replies Latest reply on Mar 3, 2016 3:23 PM by Hugh Nguyen

    Tabjolt error arguement type mismatch

    anand.sreeram.0

      Hi All,

       

      I am running Tabjolt for the first time and encountering below issues, any help is appreciated.

       

       

       

      WARN  [2016-02-09 05:43:36,756][main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null
      INFO  [2016-02-09 05:43:36,762][main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...
      INFO  [2016-02-09 05:43:36,763][main] (AbstractConfig.java:83)   - No override is set, using default
      INFO  [2016-02-09 05:43:36,765][main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\PerfT
      estConfig.yaml]
      INFO  [2016-02-09 05:43:36,768][main] (AbstractConfig.java:133)   - Using testConfigOverride:
      INFO  [2016-02-09 05:43:36,782][main] (AbstractConfig.java:141)   - Completed reading the [default] config
      INFO  [2016-02-09 05:43:36,783][main] (ServerTestConfig.java:135)   - Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\
      perfRunHarness
      INFO  [2016-02-09 05:43:36,793][main] (ServerTestConfig.java:141)   - Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config
      INFO  [2016-02-09 05:43:36,794][main] (ServerTestConfig.java:143)   - Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\conf
      ig\log4j.properties
      INFO  [2016-02-09 05:43:36,801][main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\S
      erverTestConfig.yaml
      INFO  [2016-02-09 05:43:36,803][main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...
      INFO  [2016-02-09 05:43:36,804][main] (AbstractConfig.java:83)   - No override is set, using default
      INFO  [2016-02-09 05:43:36,807][main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve
      rTestConfig.yaml]
      INFO  [2016-02-09 05:43:36,812][main] (AbstractConfig.java:133)   - Using testConfigOverride:
      ERROR [2016-02-09 05:43:36,816][main] (AbstractConfig.java:143)   - Failed to load config from yaml file.
      Cannot create property=users for JavaBean=com.tableausoftware.test.server.configuration.ServerTestConfig@1b467e9
      in 'string', line 2, column 5:
              hostUri: https://sw730cybspa002
              ^
      argument type mismatch
      in 'string', line 15, column 11:
                    name: asreeram
                    ^

              at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:312)
              at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct(Constructor.java:189)
              at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.construct(Constructor.java:345)
              at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:182)
              at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:141)
              at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:127)
              at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)
              at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)
              at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)
              at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)
              at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)
              at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)
              at com.tableausoftware.test.tools.perfRunHarness.PerfRunHelper.getTestPassId(PerfRunHelper.java:611)
              at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:100)
      Caused by: java.lang.IllegalArgumentException: argument type mismatch
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at org.yaml.snakeyaml.introspector.MethodProperty.set(MethodProperty.java:48)
              at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.constructJavaBean2ndStep(Constructor.java:310)
              ... 13 more
      WARN  [2016-02-09 05:43:36,892][main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null
      Exception in thread "main" java.lang.NullPointerException
              at com.tableausoftware.test.tools.perfRunHarness.PerfRunHelper.getTestPassId(PerfRunHelper.java:613)
              at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:100)

        • 1. Re: Tabjolt error arguement type mismatch
          Robin Cottiss

          Please share your ServerTestConfig.yaml and tell us which version of Tabjolt you are using. Ealry versions might not have support SSL but later versions do.

           

          Robin

          • 2. Re: Tabjolt error arguement type mismatch
            Ben Chan

            Please also make sure in the ServerTestConfig.yaml file, at the users: attribute

             

                users:

                    - !!com.tableausoftware.test.server.configuration.User         

                      name: xxxxxx

                      password: xxxxxxxxx

             

             

            You have a space after 'name:' and 'password:'.  E.g. name: anand  NOT name:anand

             

            Ben

            • 3. Re: Tabjolt error arguement type mismatch
              anand.sreeram.0

              Thanks Robin,

               

              Attached is my config file.

               

              I am pretty sure I downloaded Tabjolt for Tableau Server 9.0, 9.1, and 9.2</tableau/tabjolt/releases/tag/TabjoltForTableauServer9.1and9.0>

               

               

              Is there anyway I can check the version?

               

              Regards,

              Anand

              • 4. Re: Tabjolt error arguement type mismatch
                anand.sreeram.0

                Hi Ben,

                 

                I have the format of my config just the way you mentioned. Attached is my config file.

                 

                Regards,

                anand

                • 5. Re: Tabjolt error arguement type mismatch
                  Ben Chan

                      users:

                          - !!com.tableausoftware.test.server.configuration.User         

                            name: xxxx

                            password: 123455

                   

                  I have commented out that line in my environment, would you try?

                  • 6. Re: Tabjolt error arguement type mismatch
                    anand.sreeram.0

                    I reran with the changes and still get the error:

                     

                     

                     

                    C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master>go --t=testplans\InteractVizLoadTest.jmx --d=2 --c=2

                    Perf harness is started with parameters: --rootPath=C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master --t=testplans\InteractVizLoadT

                    est.jmx --d=2 --c=2

                    unable to load configuration file based on binary location reflection; continuing...

                    Loaded properties file from C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master/config/PerfRunHarness.properties

                    Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\perfRunHarness

                    Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config

                    Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\log4j.properties

                    INFO  [main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: ServerTestConfig.yaml

                    INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                    INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                    DEBUG [main] (AbstractConfig.java:108)   - Looking for config file: ServerTestConfig.yaml

                    INFO  [main] (AbstractConfig.java:121)   - Looking for specific folder named  in tree of [C:\Users\asreeram\Desktop\Tabjolt\

                    tabjolt-master\bin\perfRunHarness]

                    INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve

                    rTestConfig.yaml]

                    INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                    ERROR [main] (AbstractConfig.java:143)   - Failed to load config from yaml file.

                    mapping values are not allowed here

                    in 'string', line 15, column 15:

                                  name: asreeram

                                      ^

                     

                            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)

                            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)

                            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)

                            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)

                            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

                            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)

                            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)

                            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)

                            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)

                            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

                            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)

                            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)

                            at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)

                            at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)

                            at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:153)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.(ServerTestConfig.java:67)

                            at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:66)

                    WARN  [main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null

                    INFO  [main] (ServerTestConfig.java:135)   - Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\

                    perfRunHarness

                    INFO  [main] (ServerTestConfig.java:141)   - Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config

                    INFO  [main] (ServerTestConfig.java:143)   - Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\conf

                    ig\log4j.properties

                    INFO  [main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\S

                    erverTestConfig.yaml

                    INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                    INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                    INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve

                    rTestConfig.yaml]

                    INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                    ERROR [main] (AbstractConfig.java:143)   - Failed to load config from yaml file.

                    mapping values are not allowed here

                    in 'string', line 15, column 15:

                                  name: asreeram

                                      ^

                     

                            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)

                            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)

                            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)

                            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)

                            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

                            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)

                            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)

                            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)

                            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)

                            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

                            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)

                            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)

                            at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)

                            at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)

                            at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)

                            at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:66)

                    WARN  [main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null

                    INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                    INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                    INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\PerfT

                    estConfig.yaml]

                    INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                    INFO  [main] (AbstractConfig.java:141)   - Completed reading the  config

                    INFO  [main] (ServerTestConfig.java:135)   - Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\

                    perfRunHarness

                    INFO  [main] (ServerTestConfig.java:141)   - Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config

                    INFO  [main] (ServerTestConfig.java:143)   - Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\conf

                    ig\log4j.properties

                    INFO  [main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\S

                    erverTestConfig.yaml

                    INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                    INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                    INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve

                    rTestConfig.yaml]

                    INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                    ERROR [main] (AbstractConfig.java:143)   - Failed to load config from yaml file.

                    mapping values are not allowed here

                    in 'string', line 15, column 15:

                                  name: asreeram

                                      ^

                     

                            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)

                            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)

                            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)

                            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)

                            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

                            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)

                            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)

                            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)

                            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)

                            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

                            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)

                            at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)

                            at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)

                            at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)

                            at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)

                            at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)

                            at com.tableausoftware.test.tools.perfRunHarness.PerfRunHelper.getTestPassId(PerfRunHelper.java:611)

                            at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:100)

                    WARN  [main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null

                    Exception in thread "main" java.lang.NullPointerException

                            at com.tableausoftware.test.tools.perfRunHarness.PerfRunHelper.getTestPassId(PerfRunHelper.java:613)

                            at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:100)

                     

                    C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master>

                    • 7. Re: Tabjolt error arguement type mismatch
                      Ben Chan

                          users:

                          users:

                                -!!com.tableausoftware.test.server.configuration.User         

                                name: user1

                                password: abcdefgh

                       

                       

                      Get rid of the duplicate users: in your yaml file, you have 2 there

                      • 8. Re: Tabjolt error arguement type mismatch
                        anand.sreeram.0

                        Sorry Ben , Attached is the correct conf. I ran with and got the error.

                        • 9. Re: Tabjolt error arguement type mismatch
                          Ben Chan

                          In the error message, it is complaining about

                           

                          in 'string', line 15, column 15:

                                        name: asreeram

                           

                          but in your .yaml file, the name attribute has

                           

                                    name: anand

                           

                          In the error, it is reading this file, do you have more than one copy of the .yaml?

                           

                          Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\ServerTestConfig.yaml]

                          • 10. Re: Tabjolt error arguement type mismatch
                            anand.sreeram.0

                            Hi Ben,

                             

                            I did not want to send the original file, so I modified the username, pwd and host url. Do you need the original file? It’s the same format only the personal data is changed.

                             

                            Regards,

                            Anand

                            • 11. Re: Tabjolt error arguement type mismatch
                              Ben Chan

                              Yes, Anand, please email the original file, and show me the modified date too, just to make sure we are looking at the very original file.

                              • 12. Re: Tabjolt error arguement type mismatch
                                anand.sreeram.0

                                Ben is it possible to have a webex call, this is delaying our activities.

                                 

                                Below is the screen shot of the modified date for the file.

                                 

                                 

                                I just ran again with the attached Server Test Config file and below is the error.

                                 

                                 

                                 

                                C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master>go --t=testplans\InteractVizLoadTest.jmx --d=2 --c=2

                                Perf harness is started with parameters: --rootPath=C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master --t=testplans\InteractVizLoadT

                                est.jmx --d=2 --c=2

                                unable to load configuration file based on binary location reflection; continuing...

                                Loaded properties file from C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master/config/PerfRunHarness.properties

                                Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\perfRunHarness

                                Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config

                                Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\log4j.properties

                                INFO  [main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: ServerTestConfig.yaml

                                INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                                INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                                DEBUG [main] (AbstractConfig.java:108)   - Looking for config file: ServerTestConfig.yaml

                                INFO  [main] (AbstractConfig.java:121)   - Looking for specific folder named  in tree of [C:\Users\asreeram\Desktop\Tabjolt\

                                tabjolt-master\bin\perfRunHarness]

                                INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve

                                rTestConfig.yaml]

                                INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                                ERROR [main] (AbstractConfig.java:143)   - Failed to load config from yaml file.

                                mapping values are not allowed here

                                in 'string', line 15, column 15:

                                              name: asreeram

                                                  ^

                                 

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)

                                        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)

                                        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

                                        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)

                                        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)

                                        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)

                                        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)

                                        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

                                        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)

                                        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)

                                        at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)

                                        at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)

                                        at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:153)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.(ServerTestConfig.java:67)

                                        at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:66)

                                WARN  [main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null

                                INFO  [main] (ServerTestConfig.java:135)   - Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\

                                perfRunHarness

                                INFO  [main] (ServerTestConfig.java:141)   - Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config

                                INFO  [main] (ServerTestConfig.java:143)   - Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\conf

                                ig\log4j.properties

                                INFO  [main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\S

                                erverTestConfig.yaml

                                INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                                INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                                INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve

                                rTestConfig.yaml]

                                INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                                ERROR [main] (AbstractConfig.java:143)   - Failed to load config from yaml file.

                                mapping values are not allowed here

                                in 'string', line 15, column 15:

                                              name: asreeram

                                                  ^

                                 

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)

                                        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)

                                        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

                                        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)

                                        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)

                                        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)

                                        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)

                                        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

                                        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)

                                        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)

                                        at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)

                                        at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)

                                        at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)

                                        at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:66)

                                WARN  [main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null

                                INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                                INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                                INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\PerfT

                                estConfig.yaml]

                                INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                                INFO  [main] (AbstractConfig.java:141)   - Completed reading the  config

                                INFO  [main] (ServerTestConfig.java:135)   - Looking for `config` starting in: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\bin\

                                perfRunHarness

                                INFO  [main] (ServerTestConfig.java:141)   - Config folder path is: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config

                                INFO  [main] (ServerTestConfig.java:143)   - Loading Log4j configuration from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\conf

                                ig\log4j.properties

                                INFO  [main] (ServerTestConfig.java:88)   - Loading ServerTestConfig from: C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\S

                                erverTestConfig.yaml

                                INFO  [main] (AbstractConfig.java:79)   - Reading java.test.config.override from System properties...

                                INFO  [main] (AbstractConfig.java:83)   - No override is set, using default

                                INFO  [main] (AbstractConfig.java:129)   - Reading configuration from [C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master\config\Serve

                                rTestConfig.yaml]

                                INFO  [main] (AbstractConfig.java:133)   - Using testConfigOverride:

                                ERROR [main] (AbstractConfig.java:143)   - Failed to load config from yaml file.

                                mapping values are not allowed here

                                in 'string', line 15, column 15:

                                              name: asreeram

                                                  ^

                                 

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:871)

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)

                                        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226)

                                        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:558)

                                        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:158)

                                        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:143)

                                        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:224)

                                        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:155)

                                        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)

                                        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

                                        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:120)

                                        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:450)

                                        at org.yaml.snakeyaml.Yaml.load(Yaml.java:369)

                                        at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:140)

                                        at com.tableausoftware.test.server.configuration.AbstractConfig.loadConfiguration(AbstractConfig.java:85)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.loadConfiguration(ServerTestConfig.java:89)

                                        at com.tableausoftware.test.server.configuration.ServerTestConfig.getInstance(ServerTestConfig.java:164)

                                        at com.tableausoftware.test.tools.perfRunHarness.PerfRunHelper.getTestPassId(PerfRunHelper.java:611)

                                        at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:100)

                                WARN  [main] (AbstractConfig.java:176)   - Config object returned from loadConfiguration is null

                                Exception in thread "main" java.lang.NullPointerException

                                        at com.tableausoftware.test.tools.perfRunHarness.PerfRunHelper.getTestPassId(PerfRunHelper.java:613)

                                        at com.tableausoftware.test.tools.perfRunHarness.Main.main(Main.java:100)

                                 

                                C:\Users\asreeram\Desktop\Tabjolt\tabjolt-master>

                                • 13. Re: Tabjolt error arguement type mismatch
                                  Ben Chan

                                  Your original yampl file

                                   

                                      users:

                                            -!!com.tableausoftware.test.server.configuration.User  

                                   

                                  My file

                                   

                                      users:

                                          - !!com.tableausoftware.test.server.configuration.User         

                                   

                                  See there is a space after the -

                                   

                                  Yours is -!! but mine is - !!, so yours needs to be

                                   

                                  - !!com.tableausoftware.test.server.configuration.User

                                  • 14. Re: Tabjolt error arguement type mismatch
                                    Ben Chan

                                    Hi Anand, is it working now?

                                    1 2 Previous Next