Re: [solved] Getting Exception rarerly with my website askkuber.com

Splash Forums PrettyFaces Users [solved] Getting Exception rarerly with my website askkuber.com Re: [solved] Getting Exception rarerly with my website askkuber.com

#19930

Regarding the NullPointerException: I really think that this has something to do with the FacesContext not releasing correctly. Could you try this in you filter:

try {
chain.doFilter(request, response);
}
finally {
FacesContext context = FacesContext.getCurrentInstance();
if(context != null) {
context.release();
}
}

You wrote that your filter is executing before the PrettyFilter. So this code should correctly release the FacesContext if not done already.