Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1454

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.9
    • 1.1.10
    • Panel Stack
    • None
    • Mojarra 1.2_14-SNAPSHOT
      Mojarra 2.0.0-SNAPSHOT
      Mac OS 10.5.6
      JDK 1.6.0

    Description

      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)

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            ryan.lubke@sun.com Ryan Lubke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: