Re: [solved] Exception handling JSF2

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

#20129

I just looked at the JSF RI 2.0.3 sources. The NPE occurs in these lines:


286  private void notifyAfter(FacesContext context, Lifecycle lifecycle) {
287    UIViewRoot viewRoot = context.getViewRoot();
288    MethodExpression afterPhase = viewRoot.getAfterPhaseListener();

Seems like ViewRoot is not set… Hmmm…