Commit ec0ad539df020644e0c16777a94db0b8ceb5a59f
1 parent
1b354042
Exists in
master
Ajustes para evitar NullPointer no tratamente de exceções.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/AbstractExceptionHandler.java
@@ -68,7 +68,7 @@ public abstract class AbstractExceptionHandler extends ExceptionHandlerWrapper { | @@ -68,7 +68,7 @@ public abstract class AbstractExceptionHandler extends ExceptionHandlerWrapper { | ||
68 | exceptionContext = (ExceptionQueuedEventContext) iter.next().getSource(); | 68 | exceptionContext = (ExceptionQueuedEventContext) iter.next().getSource(); |
69 | root = getRoot(exceptionContext.getException()); | 69 | root = getRoot(exceptionContext.getException()); |
70 | 70 | ||
71 | - if (root == null || handleException(root, facesContext)) { | 71 | + if (handleException(root, facesContext)) { |
72 | iter.remove(); | 72 | iter.remove(); |
73 | } | 73 | } |
74 | } | 74 | } |