[kepler-dev] [Bug 4062] New: - Web Services and Data Transformation demo throws a StringOutOfBounds

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue May 12 18:54:04 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4062

           Summary: Web Services and Data Transformation demo  throws a
                    StringOutOfBounds
           Product: Kepler
           Version: 1.x dev
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org


Web Services and Data Transformation demo brings up an exception:

Java.lang.StringIndexOutOfBoundsException: String index out of range: -5
        at java.lang.String.substring(String.java:1768)
        at org.sdm.spa.WebService.attributeChanged(WebService.java:417)
        at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:1992)
        at ptolemy.data.expr.Variable._evaluate(Variable.java:1646)
        at ptolemy.data.expr.Variable._propagate(Variable.java:1732)
        at ptolemy.data.expr.Variable.validate(Variable.java:1430)
        at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:666)
        at com.microstar.xml.XmlParser.doParse(XmlParser.java:162)
        at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
        at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1410)
        at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1347)
        at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1298)
        at
ptolemy.actor.gui.PtolemyEffigy$Factory.createEffigy(PtolemyEffigy.java:417)
        at ptolemy.actor.gui.EffigyFactory.createEffigy(EffigyFactory.java:215)
        at ptolemy.actor.gui.Configuration.openModel(Configuration.java:666)
        at ptolemy.actor.gui.Configuration.openModel(Configuration.java:626)
        at ptolemy.actor.gui.HTMLViewer.hyperlinkUpdate(HTMLViewer.java:295)
        at javax.swing.JEditorPane.fireHyperlinkUpdate(JEditorPane.java:320)
        at
javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(HTMLEditorKit.java:827)
        at
javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(HTMLEditorKit.java:637)
        at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
        at java.awt.Component.processMouseEvent(Component.java:5605)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
        at java.awt.Component.processEvent(Component.java:5367)
b       at java.awt.Container.processEvent(Container.java:2010)
        at java.awt.Component.dispatchEventImpl(Component.java:4068)
        at java.awt.Container.dispatchEventImpl(Container.java:2068)
        at java.awt.Component.dispatchEvent(Component.java:3903)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3945)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
        at java.awt.Container.dispatchEventImpl(Container.java:2054)
        at java.awt.Window.dispatchEventImpl(Window.java:1801)
        at java.awt.Component.dispatchEvent(Component.java:3903)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

This happens in both the installer and the svn tree.


More information about the Kepler-dev mailing list