Servlet.service() for servlet Faces Servlet threw exception java.lang.NullPointe

Splash Forums PrettyFaces Users Servlet.service() for servlet Faces Servlet threw exception java.lang.NullPointe

This topic contains 1 reply, has 2 voices, and was last updated by  Lincoln Baxter III 7 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17761

    richard
    Participant

    Hi everyone!

    Please help me! Thanks.

    PrettyFaces version: 3.0.2

    + JSF: 2.0

    + PrimeFaces 2.1

    PrettyFaces config:

    <url-mapping id=”verify”>

    <pattern value=”/verify/w+$” />

    <view-id>#{tsMgrBean.getVerifyView}</view-id>

    </url-mapping>

    When redirect from prettyfaces throws a NullPointException:

    Servlet.service() for servlet Faces Servlet threw exception

    java.lang.NullPointerException

    at org.primefaces.facestrace.utils.TraceUtils.getTraceData(TraceUtils.java:33)

    at org.primefaces.facestrace.phase.listener.BasePhaseListener.afterPhase(BasePhaseListener.java:30)

    at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:189)

    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:107)

    at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)

    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)

    at com.gpayments.ts.fe.common.SessionLifecycleImpl.execute(SessionLifecycleImpl.java:48)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:112)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)

    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)

    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)

    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)

    at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:87)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at com.gpayments.ts.fe.AppServletFilter.doFilter(AppServletFilter.java:52)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    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:127)

    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:298)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

    at java.lang.Thread.run(Unknown Source)

    #20038

    It looks like this exception is being caused by PrimeFaces FacesTrace; what happens if you disable that?

    –Lincoln

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Comments are closed.