Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.3
-
Fix Version/s: EE-3.3.0.GA_P02
-
Component/s: Sample Apps
-
Labels:None
-
Environment:HideICEfaces 3.3.0 RC1
ICEfaces3 trunk revision# 34294
JBoss5
Instructions on updating JSF version on JBoss5 can be found here (I replaced bundled jars with 2.1.19 on trunk): http://wiki.icesoft.com/pages/viewpage.action?pageId=6225949ShowICEfaces 3.3.0 RC1 ICEfaces3 trunk revision# 34294 JBoss5 Instructions on updating JSF version on JBoss5 can be found here (I replaced bundled jars with 2.1.19 on trunk): http://wiki.icesoft.com/pages/viewpage.action?pageId=6225949
-
Assignee Priority:P3
Description
The showcase demo bean source code is not being displayed for these demos and there is an exception on the server when navigating to, or interacting with these demos.
ace:comboBox Overview, Filtering
ace:selectMenu > Overview
ace:simpleSelectOneMenu > Overview
java.lang.StringIndexOutOfBoundsException: String index out of range: -1377
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:881)
at java.lang.StringBuilder.substring(StringBuilder.java:55)
at org.icefaces.samples.showcase.util.SourceCodeLoaderConnection.get(SourceCodeLoaderConnection.java:201)
at org.icefaces.samples.showcase.util.SourceCodeLoaderConnection.get(SourceCodeLoaderConnection.java:41)
at javax.el.MapELResolver.getValue(MapELResolver.java:51)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at org.apache.el.parser.AstValue.getValue(AstValue.java:118)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
at javax.faces.component.UIOutput.getValue(UIOutput.java:170)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
at org.icefaces.ace.util.Utils.renderChild(Utils.java:61)
at org.icefaces.ace.util.Utils.renderChildren(Utils.java:43)
at org.icefaces.ace.util.Utils.renderChild(Utils.java:59)
at org.icefaces.ace.component.tabset.TabSetRenderer.renderTabBody(TabSetRenderer.java:438)
at org.icefaces.ace.component.tabset.TabSetRenderer.doTab(TabSetRenderer.java:519)
.....................
ace:comboBox Overview, Filtering
ace:selectMenu > Overview
ace:simpleSelectOneMenu > Overview
java.lang.StringIndexOutOfBoundsException: String index out of range: -1377
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:881)
at java.lang.StringBuilder.substring(StringBuilder.java:55)
at org.icefaces.samples.showcase.util.SourceCodeLoaderConnection.get(SourceCodeLoaderConnection.java:201)
at org.icefaces.samples.showcase.util.SourceCodeLoaderConnection.get(SourceCodeLoaderConnection.java:41)
at javax.el.MapELResolver.getValue(MapELResolver.java:51)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:203)
at org.apache.el.parser.AstValue.getValue(AstValue.java:118)
at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
at com.sun.faces.facelets.el.TagValueExpression.getValue(TagValueExpression.java:109)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:194)
at javax.faces.component.ComponentStateHelper.eval(ComponentStateHelper.java:182)
at javax.faces.component.UIOutput.getValue(UIOutput.java:170)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:205)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:355)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:164)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
at org.icefaces.ace.util.Utils.renderChild(Utils.java:61)
at org.icefaces.ace.util.Utils.renderChildren(Utils.java:43)
at org.icefaces.ace.util.Utils.renderChild(Utils.java:59)
at org.icefaces.ace.component.tabset.TabSetRenderer.renderTabBody(TabSetRenderer.java:438)
at org.icefaces.ace.component.tabset.TabSetRenderer.doTab(TabSetRenderer.java:519)
.....................
ICEfaces-EE-3.3.0.GA Build17
Server: JBoss AS 5.1.0.GA
This exception is still occurring but during recent testing the Source Code is displayed fine. The exception doesn't seem to effect any functionality.