Bug #4997
closedSEEK/garpModel_ImageJ.xml has an exception while opening
0%
Description
In Kepler-2.0-RC2,
SEEK/garpModel_ImageJ.xml has an exception while opening
ptolemy.kernel.util.NameDuplicationException: Attempt to insert object named "description" into a container that already contains an object with that name.
at ptolemy.kernel.util.NamedList.append(NamedList.java:133)
at ptolemy.kernel.util.NamedObj._addAttribute(NamedObj.java:2165)
at ptolemy.kernel.util.Attribute.setContainer(Attribute.java:398)
at ptolemy.data.expr.Variable.setContainer(Variable.java:819)
at ptolemy.kernel.util.Attribute.<init>(Attribute.java:109)
at ptolemy.kernel.util.Attribute.<init>(Attribute.java:86)
at ptolemy.kernel.util.AbstractSettableAttribute.<init>(AbstractSettableAttribute.java:88)
at ptolemy.data.expr.Variable.<init>(Variable.java:255)
at ptolemy.data.expr.Parameter.<init>(Parameter.java:125)
at ptolemy.data.expr.StringParameter.<init>(StringParameter.java:76)
at sun.reflect.GeneratedConstructorAccessor26.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at ptolemy.moml.MoMLParser._createInstance(MoMLParser.java:4243)
at ptolemy.moml.MoMLParser._handlePropertyElement(MoMLParser.java:5474)
at ptolemy.moml.MoMLParser.startElement(MoMLParser.java:2898)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:921)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
at com.microstar.xml.XmlParser.parseContent(XmlParser.java:1104)
at com.microstar.xml.XmlParser.parseElement(XmlParser.java:924)
at com.microstar.xml.XmlParser.parseDocument(XmlParser.java:481)
at com.microstar.xml.XmlParser.doParse(XmlParser.java:159)
at com.microstar.xml.XmlParser.parse(XmlParser.java:132)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1418)
at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1354)
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:233)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:823)
at ptolemy.actor.gui.Configuration.openModel(Configuration.java:783)
at ptolemy.actor.gui.TableauFrame._read(TableauFrame.java:987)
at ptolemy.gui.Top._open(Top.java:801)
at ptolemy.gui.Top$FileMenuListener.actionPerformed(Top.java:1207)
at org.kepler.gui.MenuMapper$1.actionPerformed(MenuMapper.java:362)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:334)
at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
at java.awt.MenuItem.processActionEvent(MenuItem.java:597)
at java.awt.MenuItem.processEvent(MenuItem.java:556)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:298)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:286)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:466)
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)
Related issues
Updated by David Welker over 14 years ago
This is still occurring in RC3. I think it is a problem with paths that is probably easily fixed. I will try to take care of this soon.
Updated by David Welker over 14 years ago
The maintainer of this workflow is going to need to fix this. I have fixed the paths and put in different names to avoid a NameDuplicationException.
But after I do that, ImageJ gives me the following error:
Unrecognized Command: ASC TextReader
Who is the maintainer of this workflow?
Updated by David Welker over 14 years ago
I am moving this workflow and all similar workflows that do not work into an unsupported directory. It will be up to the maintainers to fix these if they want them moved out of that directory.
Updated by David Welker over 14 years ago
Closing. Workflows moved to unsupported.