Project

General

Profile

Bug #4062

Web Services and Data Transformation demo throws a StringOutOfBounds

Added by Christopher Brooks about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
05/12/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4062

Description

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.


Related issues

Blocked by Kepler - Bug #3734: Some demos no longer work after new build/reposResolved01/08/2009

History

#1 Updated by Daniel Crawl about 10 years ago

This error is from the web service actor. I'll look into it.

#2 Updated by Daniel Crawl about 10 years ago

Fixed: looks like the actor relied on its parameters to be set in a specific order.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 4062

Also available in: Atom PDF