[ 
https://issues.apache.org/jira/browse/MYFACES-3119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13026640#comment-13026640
 ] 

Leonardo Uribe commented on MYFACES-3119:
-----------------------------------------

Could you provide more information about how to reproduce this issue? In that 
way, there are more changes this issue could be fixed soon. This type of issues 
are usually very difficult to reproduce, but very easy to solve as soon as you 
have a test case.

> NullPointerException in 
> UIComponentBase.restoreDeltaSystemEventListenerClassMap() when UIViewRoot 
> subscribed to PostAddToViewEvent
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3119
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3119
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.0.5
>            Reporter: Matt Benson
>
> As reported in MYFACES-2466 (whose summary I copied here), I am encountering 
> the NPE on the access of holderList in what is currently line 1917 of 
> UIComponentBase whenever I use a ComponentSystemEventListener on UIViewRoot.  
> Specifically I am subscribing to PreRenderViewEvent and the problem occurs 
> restoring the view regardless of whether I unsubscribe the listener e.g. 
> after RENDER_RESPONSE.
> More information:
> _systemEventListenerClassMap is null when the method is called, thus the map 
> is reinstantiated so of course the value looked up and assigned to holderList 
> is null.
> Now I have to go use Mojarra until this is fixed.  :(

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

Reply via email to