Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal error: java.lang.NullPointerException.

Hi There

Has anyboday experienced the problem below?

We have a Business Objects XI Release 2 installation that we are currently using for reporting. The BO installation is running on Windows Server 2003 R2 with SP2 and

we're using Apache Tomcat 5.0.27 as a web Application Server.

We have no problems accessing/using the server from inside the department network using the internal hostname srvrhonelbo01.mpuedu.gov.za eg. Infoview/Crystal Reports/Desktop Intelligence reports are all working fine.

However the problem comes when we try to access Infoview from the internet. The external hostname for the BO server is bemis.mpu.gov.za. For our network gateway we use a Microsoft ISA 2006 server.

Whenever a request for bemis.mpu.gov.za arrives at the gateway, the ISA server does a straight NAT to redirect the request to the internal IP address of srvrhonelbo01.

The problem we experience at the moment is that you can log in to Infoview (using enterprise authentication) successfullly and the main Infoview page will load up to a certain point,

after which it will give an error popup: "Internal error: java.lang.NullPointerException. See the log for more information."

If you dismiss the popup the site is still displayed, but you can't browse any folders or viwe any reports.

In the Tomcat\logs folder on the BO server the fllowing is displayed in the stdout.log file:

0 http-8080-Processor20 ERROR com.businessobjects.encyclopedia.uitoolkit.web.ToolkitServlet - Request = /businessobjects/enterprise115/desktoplaunch/applications/init.bouitoolkit

16 http-8080-Processor20 ERROR com.businessobjects.encyclopedia.uitoolkit.web.ToolkitServlet - From = 10.175.220.11

16 http-8080-Processor20 ERROR com.businessobjects.encyclopedia.uitoolkit.web.ToolkitServlet - java.lang.NullPointerException

The localhost_log.2008-08-26.txt contains the following entry:

2008-08-26 10:56:33 StandardContext[/businessobjects/enterprise115/desktoplaunch]java.lang.NullPointerException

java.lang.NullPointerException

at com.businessobjects.encyclopedia.reportviewer.encyclopedia.EncyclopediaApplication.init(EncyclopediaApplication.java:167)

at com.businessobjects.encyclopedia.uitoolkit.web.HtmlApplicationFactory.createApplication(HtmlApplicationFactory.java:103)

at com.businessobjects.encyclopedia.reportviewer.wrapper.InfoViewPanel.init(InfoViewPanel.java:106)

at com.businessobjects.encyclopedia.uitoolkit.web.HtmlApplicationFactory.createApplication(HtmlApplicationFactory.java:103)

at com.businessobjects.encyclopedia.uitoolkit.web.ToolkitServlet.doPost(ToolkitServlet.java:265)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)

at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)

at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

at java.lang.Thread.run(Thread.java:534)

I suspect it has something to do with a token that gets passed during the Infoview loading process.

When I analyze the the http requests sent by the client, every request contains the following string:

CE_LastAps=SRVRHONELBO01.MPUEDU.GOV.ZA; CE_LogonToken=SRVRHONELBO01.MPUEDU.GOV.ZA@266440Jz0rGDk9eZ2BQbuZ266438JZOR2hc1YZSdA1Sr;

So even though the client is connecting to bemis.mpu.gov.za, once the client authenticates, the application server sends back a token referencing srvrhonelbo01.mpuedu.gov.za, which I suspects causes the problem.

Please advise if you have encountered this error before and how to rectify it.

Thanks

Angela

Former Member
Not what you were looking for? View more on this topic or Ask a question