Henning Nöth created TOBAGO-2491:
------------------------------------

             Summary: Sheet paging might cause NPE
                 Key: TOBAGO-2491
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2491
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 6.9.1
            Reporter: Henning Nöth


Fast clicking on the paging element of a sheet can throw an 
NullPointerException.



{code:java}
java.lang.NullPointerException: Cannot invoke 
"org.apache.myfaces.tobago.event.SheetAction.ordinal()" because the return 
value of "org.apache.myfaces.tobago.event.PageActionEvent.getAction()" is null

at 
org.apache.myfaces.tobago.internal.component.AbstractUISheet.performPaging(AbstractUISheet.java:810)

at 
org.apache.myfaces.tobago.internal.component.AbstractUISheet.broadcast(AbstractUISheet.java:551)

at jakarta.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:1248)

at jakarta.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:429)

at jakarta.faces.component.UIViewRoot._process(UIViewRoot.java:1719)

at jakarta.faces.component.UIViewRoot.processApplication(UIViewRoot.java:930)

at 
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:43)
{code}






--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to