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