[richfaces-issues] [JBoss JIRA] (RF-12533) UIDataAdaptor throws NPE with disabled PSS (webflow 2.3)

David Rawlings (JIRA) jira-events at lists.jboss.org
Fri Nov 22 11:38:05 EST 2013


     [ https://issues.jboss.org/browse/RF-12533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Rawlings updated RF-12533:
--------------------------------

    Attachment: TreeStructureManager.java


I had the same problem, using webflow 2.3.1, myfaces 2.1.12 and RichFaces 4.3.3.Final.  I'm not sure what the 'correct' fix is, but I've implemented the attached patch (spring faces 2.3.1 TreeStructureManager) that seems to work ok.  I've added comments in the attached source to show where the patch starts/finishes.

I'm no myfaces/webflow/RichFaces expert so use at your own risk...
                
> UIDataAdaptor throws NPE with disabled PSS (webflow 2.3)
> --------------------------------------------------------
>
>                 Key: RF-12533
>                 URL: https://issues.jboss.org/browse/RF-12533
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-tables
>    Affects Versions: 4.2.2.Final, 4.2.3.CR1, 4.3.0.M1
>         Environment: spring webflow 2.3.1, myfaces-impl 2.1.8
>            Reporter: Anton Zukovskij
>            Priority: Critical
>              Labels: partial_state_saving, spring
>             Fix For: 5-Tracking
>
>         Attachments: log-2.txt, log.txt, swf-rf4.zip, TreeStructureManager.java
>
>
> When partial state saving is disabled(javax.faces.PARTIAL_STATE_SAVING=false), nullpointer exception is thrown during restore state phase of webflow rendered view that contains UIDataAdaptor component. In other words NPE exception is thrown on every page submit of webflow rendered views that contain components that exted UIDataAdaptor. Please see log attached and sample application.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list