6 Replies Latest reply on Dec 26, 2014 10:05 AM by diego.medrano

    NullPointerException

    Rajiv Tarafdar

      We have an urgent issue at the moment and I sent an email to Support@tableausoftware.com more than an hour ago but have received no response for you.  

       

      We have setup Tableau server 8 at a client site NT DCIS (Northern territory Department of Corporate Information Services) site and activated it. We had some issues activating the software yesterday offlineand even after multiple offline attempts and files from you we were unable to activate the software it.I it got through the activation this morning when I re-installed the Tableau Server 8. I was able to connect to the AD Domain and import the users. 

       

      However I am currently facing issues when I access any of the sample workbooks or try to publish workbooks from Tableau 8 desktops.

      I am consistently receiving this error:

      NullPointerException 2013-05-08 04:12:19.679 (UYnQopvNkzIAAAyEA7YAAADD,0,0):

      • null TString

      The Tableau server is running OS Windows server 2008 R2 Enterprise 64 bit with 4GB ram and 30 GB of Free space. It has an Intel Xeon dual core processor and there is no performance load on the server.


      We have looked through the forum and are unable to find any resolution or suggestion for this issue. We have a client demo tomorrow morning and would really appreciate your urgent assistance in this regards.

       

      Regards

      Rajiv

        • 1. Re: NullPointerException
          Rajiv Tarafdar

          Here is the VIZQLSERVER event log error contents

           

          Log Name:      Application
          Source:        Tableau Server (Vizqlserver)
          Date:          8/05/2013 2:34:19 PM
          Event ID:      4096
          Task Category: (5)
          Level:         Error
          Keywords:      Classic
          User:          N/A
          Computer:      DCISMIP01.cprod.corp.ntgov
          Description:
          The description for Event ID 4096 from source Tableau Server (Vizqlserver) cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

          If the event originated on another computer, the display information had to be saved with the event.

          The following information was included with the event:

          2013-05-08 14:34:19.521 +0930 catalina-exec-4 NT DCIS Tableau Dev  ERROR requestId=UYnc05vNkzIAAAyEA8kAAAC-: wgsessionId=f310c35438cedc6ea3b8c2c836a7eac2 com.tableausoftware.controller.vizql.ExceptionController - Throwable caught for vizql session: 60FE5EE6262347C184C9D93AD2C6E114-0:0
          java.lang.NullPointerException: null TString at com.tableausoftware.nativeapi.dll.NativeApiJNI.VQLSessionPtr_SetAttribute(Native Method) at com.tableausoftware.nativeapi.dll.VQLSessionPtr.SetAttribute(VQLSessionPtr.java:260) at com.tableausoftware.model.vizql.util.SessionAttributes.set(SessionAttributes.java:72) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.updateSessionUserInfo(ViewerServiceImpl.java:665) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.updateSession(ViewerServiceImpl.java:589) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.setupForView_aroundBody2(ViewerServiceImpl.java:984) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl$AjcClosure3.run(ViewerServiceImpl.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at com.tableausoftware.model.vizql.util.ErrorMapper.runAndCatchErrors(ErrorMapper.java:67) at com.tableausoftware.model.vizql.util.WithSessionAspect.acquireAndReleaseSession(WithSessionAspect.java:131) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.setupForView(ViewerServiceImpl.java:983) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.access$1(ViewerServiceImpl.java:983) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl$NormalViewLoader.setupView(ViewerServiceImpl.java:1135) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.loadViewImpl(ViewerServiceImpl.java:1336) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.loadView(ViewerServiceImpl.java:250) at com.tableausoftware.controller.vizql.ViewerController.showView(ViewerController.java:254) at com.tableausoftware.vqlweb.RequestMapper.showView(RequestMapper.java:652) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.tableausoftware.controller.vizql.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

          Event Xml:
          <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
            <System>
              <Provider Name="Tableau Server (Vizqlserver)" />
              <EventID Qualifiers="0">4096</EventID>
              <Level>2</Level>
              <Task>5</Task>
              <Keywords>0x80000000000000</Keywords>
              <TimeCreated SystemTime="2013-05-08T05:04:19.000000000Z" />
              <EventRecordID>2705</EventRecordID>
              <Channel>Application</Channel>
              <Computer>DCISMIP01.cprod.corp.ntgov</Computer>
              <Security />
            </System>
            <EventData>
              <Data>2013-05-08 14:34:19.521 +0930 catalina-exec-4 NT DCIS Tableau Dev  ERROR requestId=UYnc05vNkzIAAAyEA8kAAAC-: wgsessionId=f310c35438cedc6ea3b8c2c836a7eac2 com.tableausoftware.controller.vizql.ExceptionController - Throwable caught for vizql session: 60FE5EE6262347C184C9D93AD2C6E114-0:0
          java.lang.NullPointerException: null TString at com.tableausoftware.nativeapi.dll.NativeApiJNI.VQLSessionPtr_SetAttribute(Native Method) at com.tableausoftware.nativeapi.dll.VQLSessionPtr.SetAttribute(VQLSessionPtr.java:260) at com.tableausoftware.model.vizql.util.SessionAttributes.set(SessionAttributes.java:72) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.updateSessionUserInfo(ViewerServiceImpl.java:665) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.updateSession(ViewerServiceImpl.java:589) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.setupForView_aroundBody2(ViewerServiceImpl.java:984) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl$AjcClosure3.run(ViewerServiceImpl.java:1) at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149) at com.tableausoftware.model.vizql.util.ErrorMapper.runAndCatchErrors(ErrorMapper.java:67) at com.tableausoftware.model.vizql.util.WithSessionAspect.acquireAndReleaseSession(WithSessionAspect.java:131) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.setupForView(ViewerServiceImpl.java:983) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.access$1(ViewerServiceImpl.java:983) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl$NormalViewLoader.setupView(ViewerServiceImpl.java:1135) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.loadViewImpl(ViewerServiceImpl.java:1336) at com.tableausoftware.model.vizql.service.viewer.ViewerServiceImpl.loadView(ViewerServiceImpl.java:250) at com.tableausoftware.controller.vizql.ViewerController.showView(ViewerController.java:254) at com.tableausoftware.vqlweb.RequestMapper.showView(RequestMapper.java:652) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:471) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329) at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:195) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:159) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.tableausoftware.controller.vizql.servlet.CrossSiteScriptingFilter.doFilter(CrossSiteScriptingFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)</Data>
            </EventData>
          </Event>

          • 2. Re: NullPointerException
            Tore Levinsen

            Hi,

             

            did you solve this? I've got the same problem/errmsg.

             

            br


            Tore

            • 3. Re: NullPointerException
              Paul Bremhorst

              Hi Tore,

               

              this is a bug. To work around this: Make sure the user has a "friendly name" set in the Active Directory Account.

               

               

              Best, Paul

              • 4. Re: NullPointerException
                Sourabh Dasgupta

                Hi Paul, would you please also let us know what do you mean by "friendly name"? is this a bug with AD integration only?

                • 5. Re: NullPointerException
                  martin.s.

                  As a workaround you can try to add the "friendly name" yourself (and at your own risk) in the postgres db:

                   

                  1. go to C:\Program Files (x86)\Tableau\Tableau Server\8.0\pgsql\bin and run pgAdmin3.exe

                  2. connect to the local postgres db as an admin

                  host:localhost
                  port:8060

                  user: [redacted]

                  pw:

                  3. browse to Databases -> workgroup -> Schemas -> public -> Tables -> system_users

                  4. add a friendly name in your user column

                   

                  Regards

                  Martin

                  • 6. Re: NullPointerException

                    Hey Martin,

                     

                    Our support team has found that the method above has lead to serious issues with the Postgres which our support team is now in the process of resolving with individual users. As a precaution I removed the username and password from the post above to discourage users from following the instructions. We cannot recommend this process and we recommend contacting support if you have any issues.

                     

                    Thanks everyone!

                     

                    Diego