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.
Activity
Tyler Johnson
created issue -
Tyler Johnson
made changes -
Field | Original Value | New Value |
---|---|---|
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=5043 |
Ken Fyten
made changes -
Fix Version/s | 1.7.2 [ 10130 ] | |
Assignee | Ted Goddard [ ted.goddard ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17218 | Wed Jul 23 15:51:16 MDT 2008 | ted.goddard | added partialSubmit for testing ( |
Files Changed | ||||
MODIFY
/projects/swf-booking-icefaces/trunk/swf-booking-icefaces/src/main/webapp/WEB-INF/flows/main/enterSearchCriteria.xhtml
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17230 | Thu Jul 24 15:51:27 MDT 2008 | ted.goddard | PartialSubmitPhaseListener for SWF and state saving compatibility ( |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/component/UIXhtmlComponent.java
MODIFY /icefaces/trunk/icefaces/core/conf/META-INF/faces-config.xml MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/http/core/ReceiveSendUpdates.java MODIFY /icefaces/trunk/icefaces/core/conf/just-ice/faces-config.xml ADD /icefaces/trunk/icefaces/core/src/com/icesoft/faces/application/PartialSubmitPhaseListener.java |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17248 | Tue Jul 29 14:24:36 MDT 2008 | ted.goddard | PartialSubmitPhaseListener for SWF and state saving compatibility ( |
Files Changed | ||||
MODIFY
/icefaces/branches/icefaces-1.7/icefaces/core/conf/just-ice/faces-config.xml
MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/component/UIXhtmlComponent.java MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/webapp/http/core/ReceiveSendUpdates.java ADD /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/application/PartialSubmitPhaseListener.java MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/conf/META-INF/faces-config.xml |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17534 | Tue Sep 09 15:34:53 MDT 2008 | ted.goddard | checking for null responseWriter prior to release() ( |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
|
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #17538 | Wed Sep 10 08:43:20 MDT 2008 | ted.goddard | avoiding intermediate release() with SWF ( |
Files Changed | ||||
MODIFY
/icefaces/trunk/icefaces/core/src/com/icesoft/faces/context/BridgeFacesContext.java
|
Ted Goddard
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee | Ted Goddard [ ted.goddard ] |
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.