Re: [solved] Exception handling JSF2

Splash Forums PrettyFaces Users [solved] Exception handling JSF2 Re: [solved] Exception handling JSF2

#20140

0swald
Participant

It was new jar, but old logs pasted. Here is new stacktrace (prettyfaces-jsf2-3.0.2-20100830.194343-27.jar)

java.lang.NullPointerException
at com.ocpsoft.pretty.PrettyContext.getCurrentInstance(PrettyContext.java:78)
at com.ocpsoft.pretty.PrettyContext.getCurrentInstance(PrettyContext.java:67)
at com.ocpsoft.pretty.faces.application.PrettyRedirector.redirect(PrettyRedirector.java:51)
at com.ocpsoft.pretty.faces.application.PrettyNavigationHandler.handleNavigation(PrettyNavigationHandler.java:49)
at com.mycompany.web.faces.CustomErrorExceptionHandler.handle(CustomErrorExceptionHandler.java:44)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)
at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:110)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)