Details
Description
When accessing an ICEfaces page that has a component with partialSubmit set to true, the following exception is thrown:
java.lang.NullPointerException
com.icesoft.faces.application.D2DViewHandler.findComponent(D2DViewHandler.
java:731)
This configuration worked properly for WebFlow 1.0.5 and ICEFaces 1.6.2.
java.lang.NullPointerException
com.icesoft.faces.application.D2DViewHandler.findComponent(D2DViewHandler.
java:731)
This configuration worked properly for WebFlow 1.0.5 and ICEFaces 1.6.2.
One of the key factors in this bug is that SWF is performing its own state saving and this is colliding with the persistent component tree maintained by ICEfaces.
A fix being investigated is as follows:
Note that the partialSubmit functionality cannot remain in the Servlet stack when standard JSF state saving is performed – the component tree does not exist prior to ViewHandler execution. An alternative possibility is to move partial submit into the ViewHandler, however, 3rd parth PhaseListener interaction is simpler, so it is better to leave less functionality in the ViewHandler.