10 Replies Latest reply on Feb 2, 2018 7:59 AM by Ash Deshpande

    NullPointerException in Tabjolt

    Tatiana Titova

      Thank you very much for publishing Tabjolt. I am super excited to make use of this for my testing.

      I am trying it against my test environment and I am getting NullPointerException.

      Below is the stack.  How can I get past this error?

       

      at com.tableausoftware.test.server.utils.TabHttpRequest.trustEveryoneSslHttpClient(TabHttpRequest.java:798)

      at com.tableausoftware.test.server.utils.TabHttpRequest.getResponse(TabHttpRequest.java:830)

      at com.tableausoftware.test.server.utils.TabHttpRequest.post(TabHttpRequest.java:569)

      at com.tableausoftware.vizportal.test.apiMethods.webClient.WebClientAPIMethodBase.getResponse(WebClientAPIMethodBase.java:264)

      at com.tableausoftware.vizportal.test.apiMethods.webClient.GetServerSettingsUnauthenticatedMethod.runit(GetServerSettingsUnauthenticatedMethod

      )

      at com.tableausoftware.vizportal.test.apiMethods.common.MethodBase.run(MethodBase.java:120)

      at com.tableausoftware.vizportal.test.webClientApi.WebClientApi.getServerSettingsUnauthenticated(WebClientApi.java:1168)

      at com.tableausoftware.test.server.perfTestSuite.ServerSettingsFetcher.setServerSetting(ServerSettingsFetcher.java:28)

      at com.tableausoftware.test.server.perfTestSuite.LoadSessionSetup.runTest(LoadSessionSetup.java:41)

      at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:191)

      at org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:429)

      at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)

      at java.lang.Thread.run(Unknown Source)

        • 1. Re: NullPointerException in Tabjolt
          kaifeng zeng

          Looks like it is failing to call GetServerSettingsUnauthenticatedMethod. Could you please share your ServerTestConfig.yaml? Could you please check if this entry "hostUri: http://localhost" is set properly?

          • 3. Re: NullPointerException in Tabjolt
            kaifeng zeng

            Tatiana, SSL is not supported yet. I will add the feature request for the next release. The workaround is to hit non-SSL tableau server.

            • 4. Re: NullPointerException in Tabjolt
              Tatiana Titova

              I see, please consider adding this soon. I would think there are more SSL servers out in the field than non-ssl.  Also when is the next release of this tool?

              • 5. Re: NullPointerException in Tabjolt
                Mike Renwick

                Hi there - are there any developments on the SSL / Tabjolt front?  We're reluctant to trust non-SSL results as it wouldn't be defensible in the event of something not working in production for a similar workload.

                 

                Many thanks,

                Mike

                • 6. Re: NullPointerException in Tabjolt
                  Mark Evans

                  All,

                   

                  If SSL is not supported in TABJOLT, what other performance tools are there we could utilize? 


                  Thanks

                   

                  Mark

                  • 7. Re: NullPointerException in Tabjolt
                    Pavan Vemuri

                    Hi

                     

                    Is there an update in the new release? I still keep seeing the same issues I had with TabJolt and workbooks on Tableau Server with SSL.

                     

                    Neelesh Kamkolkar

                    kaifeng zeng

                     

                    Thanks

                    Pavan

                    • 8. Re: NullPointerException in Tabjolt
                      kaifeng zeng

                      Could you please download the latest release (tabjolt for tableau server 9.0 and 9.1)? It supports SSL now. If you see any error, turn on verbose logging by following instruction at tabjolt\config\log4j.properties. Then kick off a run and send me this file tabjolt\logs\test.log.

                      • 9. Re: NullPointerException in Tabjolt
                        Ash Deshpande

                        Hi Kaifeng

                         

                        Bisham asked me to get in touch with you regarding similar issue we are facing.

                         

                        I have attached the test log for your reference.

                         

                        The error is as follows:-

                         

                         

                        <sample t="2523" lt="0" ts="1517488871866" s="false" lb="View Viz Test" rc="" rm="Site: ; Workbook: CampaignActivityDashboardv37; View: Campaignvs; IsPublic: false;  Exception: java.lang.NullPointerException" tn="ViewVizThreadGroup 1-1" dt="" by="0" ng="1" na="1">

                         

                        The test results are as follows:-

                         

                        C:\Tabjolt>go --t=testplans\ViewVizLoadTest.jmx --d=120 --c=1

                        [2018-02-01 12:41:04,678] Perf harness is started with parameters: --rootPath=C:

                        \Tabjolt --t=testplans\ViewVizLoadTest.jmx --d=120 --c=1

                        [2018-02-01 12:41:04,835] Loading PerfTestConfig yaml file C:\Tabjolt\config\Per

                        fTestConfig.yaml

                        [2018-02-01 12:41:04,928] Loading ServerTestConfig yaml file C:\Tabjolt\config\S

                        erverTestConfig.yaml

                        INFO  [2018-02-01 12:41:05,178][main] (PerfRunHelper.java:247)   - C:\Tabjolt\bi

                        n\dataretriever.exe -configpath=C:\Tabjolt\config\dataretriever.config -duration

                        =120 -outputpath=C:\Tabjolt\results\2018-02-01_12-41-04\wincounter.tsv

                        -------------start windows performance counters collection-------------

                        Output File:c:\tabjolt\results\2018-02-01_12-41-04\wincounter.tsv

                        -------------start collecting JMX counters--------------

                        Output File:C:\Tabjolt/results/2018-02-01_12-41-04/jmxcounter.tsv

                        -------------start collecting Zabbix counters--------------

                        Output File:C:\Tabjolt/results/2018-02-01_12-41-04/zabbixcounter.tsv

                        INFO  [2018-02-01 12:41:06,202][main] (PerfRunHelper.java:351)   - -------------

                        start Jmeter load test run-------------

                        INFO  [2018-02-01 12:41:06,202][main] (PerfRunHelper.java:352)   - Output file:

                        C:\Tabjolt/results/2018-02-01_12-41-04/result-UKCOLSLKEXE01-0.jtl

                        INFO  [2018-02-01 12:41:06,202][main] (PerfRunHelper.java:353)   - Command: [C:\

                        Tabjolt/bin/jmeter.bat, , , , , , -n, -t=C:\Tabjolt\testplans\ViewVizLoadTest.jm

                        x, -j=C:\Tabjolt/logs/jmeter_2018-02-01_12-41-04.log, -JthreadCount=1, -Jduratio

                        n=120, -JloginWeight=1.0, -JconfigFolderPath=C:\Tabjolt/config/, -Jlogpath=C:\Ta

                        bjolt/results/2018-02-01_12-41-04/result-UKCOLSLKEXE01-0.jtl, , ]

                        INFO  [2018-02-01 12:41:06,373][main] (ResultProcessor.java:129)   - -----------

                        --start processing perf counters and run result-------------

                        INFO  [2018-02-01 12:41:06,420][main] (ResultProcessor.java:130)   - Perf run re

                        sult is saving to result repository. Please use this RUN ID 83 to view your resu

                        lt in Tableau

                        INFO  [2018-02-01 12:41:06,462][Thread-7] (PerfRunMonitor.java:37)   - Starting

                        Perfrun monitor thread

                        Created the tree successfully using C:\Tabjolt\testplans\ViewVizLoadTest.jmx

                        Starting the test @ Thu Feb 01 12:41:07 GMT 2018 (1517488867184)

                        Waiting for possible shutdown message on port 4445

                        #0      Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3288 Errors:

                        1

                        #2      Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2523 Errors:

                        1

                        #5      Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2402 Errors:

                        1

                        #8      Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3029 Errors:

                        1

                        #10     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2468 Errors:

                        1

                        #13     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2452 Errors:

                        1

                        #15     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2390 Errors:

                        1

                        #17     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2499 Errors:

                        1

                        #20     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2341 Errors:

                        1

                        #23     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2953 Errors:

                        1

                        #27     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2359 Errors:

                        1

                        #29     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3890 Errors:

                        1

                        #32     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2358 Errors:

                        1

                        #35     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2452 Errors:

                        1

                        #38     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3921 Errors:

                        1

                        #40     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2358 Errors:

                        1

                        #43     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2373 Errors:

                        1

                        #45     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2390 Errors:

                        1

                        #47     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2374 Errors:

                        1

                        #50     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2452 Errors:

                        1

                        #52     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2327 Errors:

                        1

                        #54     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2437 Errors:

                        1

                        #57     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2328 Errors:

                        1

                        #61     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2359 Errors:

                        1

                        #64     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3874 Errors:

                        1

                        #66     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3077 Errors:

                        1

                        #70     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2359 Errors:

                        1

                        #72     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3719 Errors:

                        1

                        #75     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2421 Errors:

                        1

                        #78     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2468 Errors:

                        1

                        #82     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2999 Errors:

                        1

                        #86     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 4327 Errors:

                        1

                        #89     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 4171 Errors:

                        1

                        #91     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2374 Errors:

                        1

                        #93     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2343 Errors:

                        1

                        #96     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2390 Errors:

                        1

                        #99     Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3078 Errors:

                        1

                        #103    Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2422 Errors:

                        1

                        #107    Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 4031 Errors:

                        1

                        #110    Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3734 Errors:

                        1

                        #113    Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 3718 Errors:

                        1

                        #116    Threads: 1/1    Samples: 1      Latency: 0      Resp.Time: 2358 Errors:

                        1

                        Tidying up ...    @ Thu Feb 01 12:43:10 GMT 2018 (1517488990091)

                        ... end of run

                        INFO  [2018-02-01 12:43:26,466][main] (PerfRunHelper.java:193)   - Jmeter proces

                        s has exited. Waiting for the other processes to exit.

                        INFO  [2018-02-01 12:43:26,466][main] (PerfRunHelper.java:212)   - All processes

                        have exited.

                        INFO  [2018-02-01 12:43:26,466][main] (PerfRunMonitor.java:57)   - Perfrun is co

                        mpleted - ending monitor thread

                        INFO  [2018-02-01 12:43:26,732][Thread-3] (PerfCounterDBSender.java:72)   - Fini

                        shed processing all perf counter records

                        INFO  [2018-02-01 12:43:27,138][Thread-1] (JmeterResultDBSender.java:81)   - Fin

                        ish processeing all Jmeter perf result samples.

                        INFO  [2018-02-01 12:43:27,153][main] (ResultProcessor.java:186)   - -----------

                        ------------------------------------------

                        INFO  [2018-02-01 12:43:27,153][main] (ResultProcessor.java:187)   - Perf run re

                        sult have been stored. Please use this RUN ID 83 to view your result in Tableau

                         

                         

                        JMX and Other Windows monitoring works fine...

                         

                        Can you help us please?

                         

                        Regards

                        Ash

                        • 10. Re: NullPointerException in Tabjolt
                          Ash Deshpande

                          No worries Kaifeng, we managed to resolve the issues by overwriting the older version \bin folder. Now we don't get the Null.Pointer errors like before.

                           

                          Thanks

                          Ash