Details
Description
NPE exception is thrown in system listener when navigation is executed after the session was invalidated:
java.lang.NullPointerException
at org.icefaces.event.WindowAndViewIDSetup$1.encode(WindowAndViewIDSetup.java:52)
at org.icefaces.event.UIOutputWriter.encodeBegin(UIOutputWriter.java:32)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:151)
java.lang.NullPointerException
at org.icefaces.event.WindowAndViewIDSetup$1.encode(WindowAndViewIDSetup.java:52)
at org.icefaces.event.UIOutputWriter.encodeBegin(UIOutputWriter.java:32)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1611)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at org.icefaces.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:151)
Activity
Mircea Toma
created issue -
Mircea Toma
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee | Mircea Toma [ mircea.toma ] |
Mircea Toma
made changes -
Salesforce Case | [] | |
Fix Version/s | 2.0-Beta [ 10231 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Fix Version/s | 2.0-Beta1 [ 10231 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #21956 | Mon Jul 19 15:04:57 MDT 2010 | mircea.toma | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/event/WindowAndViewIDSetup.java
MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/application/WindowScopeManager.java |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Ken Fyten
made changes -
Fix Version/s | 2.0.0 [ 10230 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
First test to see if the windowID and the ice.view are available. If they are not available (due to an Exception or other null condition) the hidden fields should not be written but this should be logged as errors.