Commit ec0ad539df020644e0c16777a94db0b8ceb5a59f

Authored by Ednara Oliveira
1 parent 1b354042
Exists in master

Ajustes para evitar NullPointer no tratamente de exceções.

impl/extension/jsf/src/main/java/br/gov/frameworkdemoiselle/internal/implementation/AbstractExceptionHandler.java
... ... @@ -68,7 +68,7 @@ public abstract class AbstractExceptionHandler extends ExceptionHandlerWrapper {
68 68 exceptionContext = (ExceptionQueuedEventContext) iter.next().getSource();
69 69 root = getRoot(exceptionContext.getException());
70 70  
71   - if (root == null || handleException(root, facesContext)) {
  71 + if (handleException(root, facesContext)) {
72 72 iter.remove();
73 73 }
74 74 }
... ...