FacesPortlet Life Cycle error

Hi all,

Can anybody help me to solve the following issue.

java.lang.NullPointerException
at com.webMethods.caf.faces.portlet.FacesPortlet.getLifecycle(FacesPortlet.java:189)
at com.webMethods.caf.faces.portlet.FacesPortlet.getFacesContext(FacesPortlet.java:268)
at com.webMethods.caf.faces.portlet.FacesPortlet.render(FacesPortlet.java:404)
at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:492)
at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
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.dispatch(WebApplicationHandler.java:473)
at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:286)
at org.mortbay.jetty.servlet.Dispatcher.include(Dispatcher.java:163)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:220)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:129)
at com.webMethods.portal.framework.portletcontainer.PortletContainer.renderPortlet(PortletContainer.java:102)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.processRequest(PortletBean.java:166)
at com.webMethods.portal.framework.portletcontainer.beans.PortletBean.getContentInternal(PortletBean.java:72)
at com.webMethods.portal.framework.portlet.beans.BasicPortletBean.getContent(BasicPortletBean.java:143)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.getPortletContent(PortletMechanics.java:95)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:403)
at com.webMethods.portal.mech.storage.page.PortletHelper.renderContent(PortletHelper.java:375)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.renderPageContent(DefaultRenderer.java:286)
at com.webMethods.portal.framework.presentation.renderers.DefaultRenderer.render(DefaultRenderer.java:188)
at com.webMethods.portal.framework.presentation.PresentationManager.handlePres(PresentationManager.java:363)
at com.webMethods.portal.framework.dispatch.DispatchManager.pres(DispatchManager.java:618)
at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:458)
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:32)
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)

hi
could you please provide a bit more detail info? what have you done? what controls did you add to the view that may cause this?
just the stacktrace is not really helpful.

best regards
Javier

Nothing was done…Just published the portlet from Designer…
And this issue got solved when we remove the logs and restarted the server…

mmm… maybe a somehow “incomplete” deployment from Designer/MWS.
But at least the issue is “gone” :slight_smile: .
best regards,
Javier