[myfaces-example-simple-1.1.9] Panel stack example fails with NPE
-----------------------------------------------------------------

                 Key: TOMAHAWK-1454
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1454
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Panel Stack
    Affects Versions: 1.1.9
         Environment: Mojarra 1.2_14-SNAPSHOT
Mojarra 2.0.0-SNAPSHOT
Mac OS 10.5.6
JDK 1.6.0

            Reporter: Ryan Lubke


Execution of the panel stack demo yields:

java.lang.NullPointerException
        at 
org.apache.myfaces.custom.panelstack.HtmlPanelStack.getSelectedPanel(HtmlPanelStack.java:64)
        at 
org.apache.myfaces.custom.panelstack.HtmlPanelStackRenderer.encodeEnd(HtmlPanelStackRenderer.java:63)
        at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
        at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:244)
        at 
com.sun.faces.renderkit.html_basic.GroupRenderer.encodeChildren(GroupRenderer.java:106)
        at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to