Re: [solved] Exception handling JSF2

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



Had almost the same issue while using DynaView and exactly the same ExceptionHandler code. In my case Facescontext was null, not ViewRoot. One can get context from ExceptionQueuedEvent, but i’m not sure that’s correct. fc = event.getContext().getContext();

Actually I’m still working on that DynaView functionality, and the biggest problem I have is that PrettyFaces or PrimeFaces or both throw NullPointerException when I try to redirect during RESTORE_VIEW phase :(