[ 
https://issues.apache.org/jira/browse/MYFACES-3193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe resolved MYFACES-3193.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.2
                   2.0.8
         Assignee: Leonardo Uribe

commited on MYFACES-3053

> Unwrap exception in ErrorPageWriter.handleThrowable
> ---------------------------------------------------
>
>                 Key: MYFACES-3193
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3193
>             Project: MyFaces Core
>          Issue Type: Sub-task
>          Components: General
>    Affects Versions: 2.1.2-SNAPSHOT
>            Reporter: Martin Kočí
>            Assignee: Leonardo Uribe
>            Priority: Trivial
>             Fix For: 2.0.8, 2.1.2
>
>
> If user sees this exception:
> javax.faces.FacesException: java.lang.NullPointerException
>       at 
> org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.wrap(ExceptionHandlerImpl.java:241)
>       at 
> org.apache.myfaces.shared_impl.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:156)
> he/she thinks sometimes that this is a NPE (or other exception) from myfaces 
> codebase. But callstack continues:
> Caused by: java.lang.NullPointerException
>       at cz.kocicak.myfaces.ManagedBean.getValue(ManagedBean.java:2
> but nobody reads it all.
> To prevent this misunderstanding, unwrap exception in ErrorPageWriter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to