ICEfaces
  1. ICEfaces
  2. ICE-9152

Showcase on Jboss5: Source code not being displayed on some demos

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA_P02
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
    • 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)
       .....................

        Activity

        Hide
        Cruz Miraback added a comment -

        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.

        Show
        Cruz Miraback added a comment - 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.
        Hide
        Ken Fyten added a comment -

        Consider this a Known Issue on JBoss with the sample app.

        Show
        Ken Fyten added a comment - Consider this a Known Issue on JBoss with the sample app.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Cruz Miraback
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: