Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FullAjaxExceptionHandler can produce an endless loop #386
I am experiencing an endless loop in the FullAjaxExceptionHandler.
My web.xml contains this:
Now lets say a user sends an Ajax Request like this:
And now lets say the user does not wait for the Request to complete but instead hits the logout button:
When the first request finally completes its waiting time, it produces an endless (or very long) loop which looks in the log like this:
In other cases, like invalidating the session before calling the long request or invalidating the request inside of the long request, or any other exception in an ajax request, the exception page will be shown just fine. The content of the errorpage itself does not seem to matter. For completeness:
Omnifaces 2.4 and earlyer shows the internal 'Ooops!' error message, Omnifaces 2.5 until today produces an endless loop.
I also posted on Stackoverflow: https://stackoverflow.com/questions/44329126/omnifaces-fullajaxexceptionhandler-produces-endless-loop-config-issue-bug-or