Skip to Content
0
Former Member
Oct 25, 2009 at 11:09 PM

java.lang.NullPointerException after logging into portal

77 Views

We see the following error in the defaultTrace file when a user logs onto the portal for ESS (the user sees a 500 Internal Error):

-


#1.#00144F3B617C006B000004CF000052B5000476A0EE463C6F#1256333471265#com.sap.tc.webdynpro.sessionmanagement#sap.com/tcwddispwda#com.sap.tc.web

dynpro.sessionmanagement.ExceptionHandler.handleThrowable#Guest#0##n/a##623f0200c01b11de9d3d00144f3b617c#SAPEngine_Application_Thread[impl:3]_

36##0#0#Error#1#/System/UserInterface#Java###Exception occured during processing of Web Dynpro application . The causing exception is neste

d.

[EXCEPTION]

#2#sap.com/pb/PageBuilder#java.lang.NullPointerException

at com.sap.security.core.logon.imp.WebLoginCallbackHandler.<init>(WebLoginCallbackHandler.java:41)

at com.sap.security.core.logon.imp.SAPJ2EECallbackHandler.<init>(SAPJ2EECallbackHandler.java:45)

at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getHandler(SAPJ2EEAuthenticator.java:1191)

at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.getLoggedInUser(SAPJ2EEAuthenticator.java:142)

at com.sap.tc.webdynpro.serverimpl.wdc.um.ClientUserFactory.getLoggedInClientUser(ClientUserFactory.java:218)

at com.sap.tc.webdynpro.services.sal.um.core.ClientUserInternal.getLoggedInClientUserInternal(ClientUserInternal.java:75)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.<init>(ClientSession.java:183)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.clientsession.HttpClientSession.<init>(HttpClientSession.java:43)

at com.sap.tc.webdynpro.serverimpl.wdc.adapter.HttpRequestAdapter.createClientSession(HttpRequestAdapter.java:261)

at com.sap.tc.webdynpro.serverimpl.core.adapter.AbstractHttpRequestAdapter.getSessionObject(AbstractHttpRequestAdapter.java:296)

at com.sap.tc.webdynpro.serverimpl.core.adapter.AbstractHttpProtocolAdapter.getSessionObject(AbstractHttpProtocolAdapter.java:109)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.findClientSession(RequestManager.java:264)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:146)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)

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

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

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.

java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)

-


This only happens immediately after logon; once the user clicks on another tab in ESS, the error is never re-produced again until the user logs off and logs back on.