NPE « IceFaces « JSF Q&A





1. NPE from com.icesoft.util.SeamUtilities.getSpringFlowId ?    icefaces.org

I am trying to use ICEFaces 1.7.2 with Spring Web Flow 2.0.4 to render a simple portlet under IBM Websphere Portal Server 6.0.4. Unfortunately during the rendering of the portlet, I run into this NPE: Caused by: java.lang.NullPointerException at com.icesoft.util.SeamUtilities.getSpringFlowId(SeamUtilities.java:521) at com.icesoft.faces.renderkit.dom_html_basic.FormRenderer.encodeBegin(FormRenderer.java:150) at com.icesoft.faces.component.ext.renderkit.FormRenderer.encodeBegin(FormRenderer.java:53) at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:703) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:483) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:489) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:489) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:489) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:489) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:489) at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:282) ... ...

2. NPE in UIComponentBase    icefaces.org

4. Table renderer throws NPE    icefaces.org

I'm having a NullPointerExceptions from the table renderer at unpredictable times. See the stack trace below. Using ICE 1.8.0, facelets, JSF 1.2 (from the ICE distribution). Hope this information is useful. Regards, Paul. Code: SEVERE: Problem encountered during View.servePage javax.faces.FacesException: Problem in renderResponse: null at com.icesoft.faces.facelets.D2DFaceletViewHandler.renderResponse(D2DFaceletViewHandler.java:296) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17) at com.icesoft.faces.context.View$2$1.respond(View.java:47) at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:197) at ...

7. NPE when try to navigate second time using navigation rule    icefaces.org

I have commandLinks and navigation rules for them. When I click on any of them for the first time it navigates properly, but after that if I click any of them it throws NPE: Code: [11/29/10 15:44:39:010 EST] 00000044 ReceiveSendUp E com.icesoft.faces.webapp.http.core.ReceiveSendUpdates service Exception occured during rendering on http://localhost:9081/ssm/block/send-receive-updates [/index.jsp] java.lang.NullPointerException at com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:319) at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:190) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:471) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:159) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) ...

8. NPE navigating to second path    icefaces.org





11. panelCollapsible: NPE with 1.6.1    icefaces.org

12. Problem: enhanceAndFixDocument NPE    icefaces.org

Hi, I deployed an IceFaces-Application (JSF 1.1, IceFaces 1.6.1, Tomcat 5.5) and I got this strange error, any ideas? SCHWERWIEGEND: Servlet.service() for servlet Persistent Faces Servlet threw exception java.lang.NullPointerException at com.icesoft.faces.context.DOMResponseWriter.enhanceAndFixDocument(DOMResponseWriter.java:267) at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:178) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:542) at com.icesoft.faces.application.D2DViewHandler.renderView(D2DViewHandler.java:153) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.renderCycle(ReceiveSendUpdates.java:58) at com.icesoft.faces.webapp.http.core.ReceiveSendUpdates.service(ReceiveSendUpdates.java:45) at com.icesoft.faces.webapp.http.core.IDVerifier.service(IDVerifier.java:25) at com.icesoft.faces.webapp.http.core.ViewBoundServer.service(ViewBoundServer.java:52) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer$Matcher.serviceOnMatch(PathDispatcherServer.java:50) at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:19) at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19) at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:29) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:109) ...

13. NPE: processDecodes    icefaces.org