Skip to Content
0
Former Member
Dec 12, 2007 at 12:54 AM

NullPointerException in ClientInfoLoader

13 Views

Hi Experts,

I have MI JSP project with HTMLB libs loaded. Mypage loads but is blank and in NWDS console I see stack below.

I have clientinfo.jar in classpath, MI/<home> and listOfJars.txt - what else do I need?

Do I must make a setting for my laptop in .cap file somewhere?

Bip.

stack:

java.lang.NullPointerException

at com.sap.mobile.clientinfo.ClientInfoLoader.load(ClientInfoLoader.java:58)

at com.sap.mobile.clientinfo.ClientInfoLoader.load(ClientInfoLoader.java:41)

at com.sap.mobile.clientinfo.DefaultClientInfo.load(DefaultClientInfo.java:41)

at com.sapportals.htmlb.rendering.PageContext.init(PageContext.java:118)

at com.sapportals.htmlb.rendering.PageContext.<init>(PageContext.java:91)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:494)

at com.sapportals.htmlb.rendering.PageContextFactory.createPageContext(PageContextFactory.java:77)

at com.sapportals.htmlb.taglib.RendererContextTag.doStartTag(RendererContextTag.java:75)

at jsp.detail_0005fsyncboinstance._jspService(detail_0005fsyncboinstance.java:75)

at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)

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

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.facade.RequestDispatcherImpl.doForward(RequestDispatcherImpl.java:222)

at org.apache.tomcat.facade.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:162)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest(AbstractMEHttpServlet.java:907)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:348)

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:689)

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

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:313)

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

at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)

at org.apache.tomcat.core.Handler.service(Handler.java:287)

at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)

at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)

at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)

at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)

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