Java.lang.NullPointerException is displayed when selecting ·Products/Services Builder for Screens/Deployments/J2EE Session EJBs· in MCS
Technical Note USA12031Created 23-Feb-2006Applies To
Services Builder for Screens 3.0
Synapta
Management and Control Services
WebSphere 5.1 or 6.0
Symptoms
Java.lang.NullPointerException is displayed when selecting ·Products/Services Builder for Screens/Deployments/J2EE Session EJBs· in MCSFull Error Message:
java.lang.NullPointerException
at com.ibm.ws.webcontainer.httpsession.SessionData.getValueGuts(SessionData.java(Compiled Code))
at com.ibm.ws.webcontainer.httpsession.SessionData.getValue(SessionData.java(Inlined Compiled Code))
at com.ibm.ws.webcontainer.httpsession.SessionData.getAttribute(SessionData.java(Compiled Code))
at com.attachmate.j2ee.deployment.mcsplugin.CommonHelper.getGenerationWorkerFromSession(CommonHelper.java:1229)
at com.attachmate.j2ee.deployment.mcsplugin.J2EESessionEJBPagesHelper.cleanupGenerationWorker(J2EESessionEJBPagesHelper.java:344)
at org.apache.jsp._J2EESessionEJBs._jspService(_J2EESessionEJBs.java:554)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:974)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))Fix
Please contact Attachmate Technical Support for information on a fix for this issue.Workaround:
1. Find and edit J2EESessionEJBs.jsp generally located in ·...\mcs.war\resources\connectordeploy·.
2. Comment out line reading 'support.cleanupGenerationWorker();' by putting two backslashes (·\\·) in front of it.
3. Stop and Restart MCS via the WebSphere Administrative Console; the servlet engine should recompile the JSP the next time it is loaded, if not restart WebSphere.
Did this technical note answer your question?
Need further help? For technical support, please contact
Support.