You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Moritz Bechler (JIRA)" <ji...@apache.org> on 2014/04/01 17:01:27 UTC
[jira] [Created] (DELTASPIKE-557) ExceptionHandler issues
Moritz Bechler created DELTASPIKE-557:
-----------------------------------------
Summary: ExceptionHandler issues
Key: DELTASPIKE-557
URL: https://issues.apache.org/jira/browse/DELTASPIKE-557
Project: DeltaSpike
Issue Type: Bug
Affects Versions: 0.6
Reporter: Moritz Bechler
Priority: Critical
ExceptionHandler.getRootCause may return null if the exception is a FacesException without a reason (this may also be a myfaces bug). This causes an IllegalArgumentException when creating ExceptionStackEvent.
This exception will break the exception propagation.
Generally, I'm also a bit confused by the exception handler setup, it looks like there is a application global instance held by the exception handler factory. Besides I don't think this is thread safe and the spec says ExceptionHandlers are request scoped - if there is an error while processing the exception or there is no other ExceptionHandler defined (e.g. Myfaces without org.apache.myfaces.ERROR_HANDLING=true) exceptions will not be removed and indefinitely delivered (ExceptionHandlerBroadcaster throws without marking as handled if there are no deltaspike handlers) for unrelated requests.
--
This message was sent by Atlassian JIRA
(v6.2#6252)