Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.2
-
Component/s: Framework, ICE-Components
-
Labels:None
-
Environment:ICEfaces 2 MyFaces 2
Description
In trying to get MyFaces running with ICEfaces 2 (ICE-5868) I found that a couple of components are not operating properly due to the timing of state saving. The two currently known components with issues are:
OutputChart: after the chart is initially rendered, clicking on the image map points generates an NPE
Caused by: java.lang.NullPointerException
at com.icesoft.faces.component.outputchart.OutputChart.getGeneratedImageMapArea(OutputChart.java:414)
at com.icesoft.faces.component.outputchart.OutputChart.decode(OutputChart.java:359)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1204)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIForm.processDecodes(UIForm.java:114)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIViewRoot._processDecodesDefault(UIViewRoot.java:1320)
...
Progress Bar: the progress bar is not updated even though Push is operating properly.
OutputChart: after the chart is initially rendered, clicking on the image map points generates an NPE
Caused by: java.lang.NullPointerException
at com.icesoft.faces.component.outputchart.OutputChart.getGeneratedImageMapArea(OutputChart.java:414)
at com.icesoft.faces.component.outputchart.OutputChart.decode(OutputChart.java:359)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1204)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIForm.processDecodes(UIForm.java:114)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1198)
at javax.faces.component.UIViewRoot._processDecodesDefault(UIViewRoot.java:1320)
...
Progress Bar: the progress bar is not updated even though Push is operating properly.
Issue Links
Activity
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Fix Version/s | 2.1-Beta2 [ 10294 ] |
Deryk Sinotte
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #25326 | Wed Aug 24 15:05:06 MDT 2011 | deryk.sinotte | |
Files Changed | ||||
MODIFY
/icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/context/CompatDOMPartialViewContext.java
MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/impl/context/DOMResponseWriter.java MODIFY /icefaces2/trunk/icefaces/compat/core/src/main/java/com/icesoft/faces/renderkit/dom_html_basic/FormRenderer.java MODIFY /icefaces2/trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java |
Deryk Sinotte
made changes -
Deryk Sinotte
made changes -
Deryk Sinotte
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Assignee | Deryk Sinotte [ deryk.sinotte ] |
Deryk Sinotte
created issue -
Resolving as fixed. Code was checked in to make MyFaces behave much the same as it does with Mojarra when using compat components. Our custom FormRenderer sticks in a placeholder and then the DOMResponseWriter replaces the placeholder at the appropriate time while removing the actual node from the DOM (to avoid unnecessary DOM diff related updates).