Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at com.sun.faces.portlet.LifecycleImpl.getWindowStateIdentifier(LifecycleImpl.java:554)	at com.sun.faces.portlet.LifecycleImpl.restore(LifecycleImpl.java:405)	at com.sun.faces.portlet.LifecycleImpl.execute(LifecycleImpl.java:214)	at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)	at com.icesoft.faces.context.View$2.respond(View.java:44)	at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)	at com.icesoft.faces.context.View.servePage(View.java:274)	at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)	at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)	at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)	at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)	at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)	at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)	at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)	at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:823)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)	at org.apache.pluto.core.impl.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:112)	at com.icesoft.faces.webapp.http.portlet.MainPortlet.doInclude(MainPortlet.java:122)	at com.icesoft.faces.webapp.http.portlet.MainPortlet.doView(MainPortlet.java:55)	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:235)	at javax.portlet.GenericPortlet.render(GenericPortlet.java:163)	at com.ibm.wps.pe.pc.std.cmpf.impl.PortletFilterChainImpl.render(PortletFilterChainImpl.java:144)	at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.dispatch(PortletServlet.java:130)	at com.ibm.wps.pe.pc.std.invoker.impl.PortletServlet.doGet(PortletServlet.java:69)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)	at com.ibm.wps.pe.pc.std.cache.CacheablePortlet.service(CacheablePortlet.java:393)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:823)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)	at com.ibm.wps.pe.om.definition.impl.ServletDefinitionImpl$RDWrapper.include(ServletDefinitionImpl.java:419)	at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:206)	at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.invoke(PortletInvokerImpl.java:168)	at com.ibm.wps.pe.pc.std.invoker.impl.PortletInvokerImpl.render(PortletInvokerImpl.java:97)	at com.ibm.wps.pe.pc.std.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:110)	at com.ibm.wps.pe.pc.PortletContainerImpl.doRenderPortlet(PortletContainerImpl.java:587)	at com.ibm.wps.pe.ext.render.AbstractRenderManager.performService(AbstractRenderManager.java:264)	at com.ibm.wps.pe.pc.PortletContainerImpl.renderPortlet(PortletContainerImpl.java:115)	at com.ibm.wps.engine.tags.PortletRenderTag.doStartTag(PortletRenderTag.java:161)	at com.ibm._jsp._Control._jspx_meth_portal$1skin_portletRender_0(_Control.java:183)	at com.ibm._jsp._Control._jspx_meth_portal$1logic_if_0(_Control.java:224)	at com.ibm._jsp._Control._jspService(_Control.java:93)	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:216)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:87)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:52)	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:45)	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:118)	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)	at com.ibm.wps.composition.elements.Component.render(Component.java:782)	at com.ibm.wps.composition.elements.Control.render(Control.java:132)	at com.ibm.wps.composition.Composition.render(Composition.java:2586)	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:243)	at com.ibm.wps.engine.tags.ComponentRenderTag.doStartTag(ComponentRenderTag.java:89)	at com.ibm._jsp._UnlayeredContainer_2D_H._jspx_meth_portal$1skin_layoutNodeRender_0(_UnlayeredContainer_2D_H.java:134)	at com.ibm._jsp._UnlayeredContainer_2D_H._jspService(_UnlayeredContainer_2D_H.java:98)	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:216)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:87)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:52)	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:45)	at com.ibm.wps.engine.templates.skins.Default.render(Default.java:118)	at com.ibm.wps.engine.templates.SkinTemplate.render(SkinTemplate.java:71)	at com.ibm.wps.composition.elements.Component.render(Component.java:782)	at com.ibm.wps.composition.Composition.render(Composition.java:2586)	at com.ibm.wps.model.wrappers.LayoutModelWrapperFactoryImpl$LayoutModelWrapperImpl.render(LayoutModelWrapperFactoryImpl.java:243)	at com.ibm.wps.engine.tags2.PageRenderTag.doStartTag(PageRenderTag.java:396)	at com.ibm._jsp._Home._jspService(_Home.java:82)	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:216)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:87)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:52)	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:54)	at com.ibm.wps.engine.templates.screens.Default.render(Default.java:91)	at com.ibm.wps.engine.templates.ScreenTemplate.render(ScreenTemplate.java:61)	at com.ibm.wps.engine.tags2.ScreenRenderTag.doStartTag(ScreenRenderTag.java:89)	at com.ibm._jsp._Default._jspx_meth_portal$1core_screenRender_0(_Default.java:498)	at com.ibm._jsp._Default._jspService(_Default.java:266)	at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:93)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:113)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)	at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:121)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:216)	at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:255)	at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:670)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.handleRequest(DispatcherServiceImpl.java:87)	at com.ibm.wps.services.dispatcher.DispatcherServiceImpl.include(DispatcherServiceImpl.java:52)	at com.ibm.wps.services.dispatcher.Dispatcher.include(Dispatcher.java:45)	at com.ibm.wps.engine.templates.themes.Default.doDispatch(Default.java:190)	at com.ibm.wps.engine.templates.themes.Default.render(Default.java:152)	at com.ibm.wps.engine.templates.ThemeTemplate.render(ThemeTemplate.java:67)	at com.ibm.wps.engine.phases.WPRenderPhase.processRendering(WPRenderPhase.java:225)	at com.ibm.wps.engine.phases.WPBaseRenderPhase.execute(WPBaseRenderPhase.java:159)	at com.ibm.wps.state.phases.AbstractRenderPhase.next(AbstractRenderPhase.java:106)	at com.ibm.wps.engine.phases.WPAbstractRenderPhase.next(WPAbstractRenderPhase.java:97)	at com.ibm.wps.engine.Servlet.callPortal(Servlet.java:782)	at com.ibm.wps.engine.Servlet.doGet(Servlet.java:620)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1694)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1643)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)	at com.ibm.wps.state.filter.StateCleanup.doFilter(StateCleanup.java:88)	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)	at com.ibm.wps.mappingurl.impl.URLAnalyzer.doFilter(URLAnalyzer.java:263)	at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)	at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)	at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:819)	at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3189)	at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)	at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)	at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)	at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:116)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:434)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:373)	at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:253)	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)	at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)	at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)	at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)	at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)	at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1475)