javax.faces.FacesException

java.lang.NullPointerException

Solutions on the web364

  • via Coderanch by Edgar Castanedo, 6 months ago
    java.lang.NullPointerException
  • via Coderanch by kishore skipper, 7 months ago
    java.lang.NullPointerException
  • via Coderanch by siva prasa, 7 months ago
    java.lang.NullPointerException
  • Stack trace

    • javax.faces.FacesException: java.lang.NullPointerException at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:128) 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 com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36) at com.icesoft.faces.context.View$2.serve(View.java:72) at com.icesoft.faces.context.View.servePage(View.java:133) at com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:52) at com.icesoft.faces.webapp.http.common.ServerProxy.service(ServerProxy.java:11) at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet$4.service(MainSessionBoundServlet.java:114) 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:42) 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:62) at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23) at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:153) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at java.io.Writer.write(Unknown Source) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:182) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:168) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:119) at com.icesoft.faces.util.DOMUtils.printNode(DOMUtils.java:103) at com.icesoft.faces.context.NormalModeSerializer.serialize(NormalModeSerializer.java:61) at com.icesoft.faces.context.BridgeFacesContext$SaveCurrentDocument.serialize(BridgeFacesContext.java:866) at com.icesoft.faces.context.DOMResponseWriter.endDocument(DOMResponseWriter.java:187) at com.icesoft.faces.application.D2DViewHandler.renderResponse(D2DViewHandler.java:485) 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) ... 31 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 7 months ago