2009-01-16 13:41:48 PST (Framework : FATAL) [RID:4] - [POP.001.0002] A “java.lang.NullPointerException” occurred with the Message “at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.createFacesContext(PortalRulesMechanics.java:812)”
java.lang.NullPointerException
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.createFacesContext(PortalRulesMechanics.java:812)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.initPortalRulesFacesContext(PortalRulesMechanics.java:782)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.preparePortalRuleContext(PortalRulesMechanics.java:750)
at com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getRuleForUser(PortalRulesMechanics.java:423)
at com.webMethods.portal.portlet.impl.wm_xt_skin.mechanics.SkinMechanics.getCurrentSkinID(SkinMechanics.java:474)
at com.webMethods.portal.framework.presentation.PresentationManager.setSessionData(PresentationManager.java:533)
at com.webMethods.portal.framework.presentation.PresentationManager.preparePresentationData(PresentationManager.java:237)
at com.webMethods.portal.framework.dispatch.DispatchManager.preparePresentationData(DispatchManager.java:810)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:432)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:371)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:242)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:34)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at com.webMethods.portal.webApplication.WmWebAppContext.handle(WmWebAppContext.java:159)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
I don’t know what exactly the cause of this problem might be (you probably may need to open an SR). What you can try is to redeploy wm_xt_portalrules.pdp component by touching (changing timestamp) on /server/default/deploy/wm_xt_portalrules.pdp file and then restarting a server.
I am also facing the same issue even after several re-installs and restarts, please help me how to fix this issue
MWS full.log entries
2014-02-26 01:27:25 IST (Framework:INFO) [RID:3] - [1toyddyjmhvpv16ox9jvvouosj:Guest] - http://xxxxx-xx.xxxxxxx.corp:7575/favicon.ico (GET)
2014-02-26 01:27:26 IST (Framework:INFO) [RID:3] - Completed request. Response time=1272ms
2014-02-26 01:27:40 IST (Framework:INFO) - [1jvp6p1sk0vabwi2kxt7eazv:Guest] - Session timed out
2014-02-26 01:27:50 IST (Framework:INFO) [RID:4] - [3vb2uo6hx51med9kkj10bx8:null] - http://localhost:7575/ (GET)
2014-02-26 01:27:50 IST (Framework:WARN) [RID:4] - RequestURI: /
2014-02-26 01:27:50 IST (Framework:WARN) [RID:4] - RequestPath: /
2014-02-26 01:27:50 IST (Framework:WARN) [RID:4] - Parameters:
2014-02-26 01:27:50 IST (Framework:FATAL) [RID:4] - com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getAllMatchingRulesForUser(Lcom/webMethods/portal/service/meta2/thing/IThingID;Lcom/webMethods/portal/service/meta2/thing/IThingID;)Ljava/util/Collection;
java.lang.AbstractMethodError: com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getAllMatchingRulesForUser(Lcom/webMethods/portal/service/meta2/thing/IThingID;Lcom/webMethods/portal/service/meta2/thing/IThingID;)Ljava/util/Collection;
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:223)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:389)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:640)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:470)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:381)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:305)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:50)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:28)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:47)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2014-02-26 01:27:50 IST (Framework:INFO) [RID:4] - Completed request. Response time=28ms
2014-02-26 01:27:50 IST (org.mortbay.log:ERROR) - Error for /
java.lang.AbstractMethodError: com.webMethods.portal.portlet.wm_xt_portalrules.mechanics.PortalRulesMechanics.getAllMatchingRulesForUser(Lcom/webMethods/portal/service/meta2/thing/IThingID;Lcom/webMethods/portal/service/meta2/thing/IThingID;)Ljava/util/Collection;
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:223)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:389)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:640)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:470)
at com.webMethods.portal.framework.dispatch.DispatchManager.handleError(DispatchManager.java:414)
at com.webMethods.portal.framework.error.ErrorManager.handleException(ErrorManager.java:97)
at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:329)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.webMethods.portal.framework.impl.NTLMV1Filter.doFilter(NTLMV1Filter.java:50)
at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:28)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:47)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
2014-02-26 01:28:28 IST (Framework:INFO) - [1toyddyjmhvpv1x9jvvouosj:Guest] - Session timed out
2014-02-26 01:28:52 IST (Framework:INFO) - [3vb2uo526hx51d9kkj10bx8:Guest] - Session timed out