Project

General

Profile

Actions

Bug #5240

closed

NameDuplicationException from SequencePlotter

Added by Daniel Crawl over 13 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Category:
actors
Target version:
Start date:
11/16/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5240

Description

Reproduce with attached workflow.

ptolemy.kernel.util.IllegalActionException: Error creating effigy and tableau
in .plot-error.a plot
Because:
Attempt to insert object named "plot" into container named ".configuration.directory.effigy2", which already contains an object with that name.
at ptolemy.actor.lib.gui.Plotter.initialize(Plotter.java:167)
at ptolemy.actor.lib.gui.SequencePlotter.initialize(SequencePlotter.java:130)
at ptolemy.actor.process.ProcessThread.run(ProcessThread.java:135)
Caused by: ptolemy.kernel.util.NameDuplicationException: Attempt to insert object named "plot" into container named ".configuration.directory.effigy2", which already contains an object with that name.
at ptolemy.kernel.util.NamedList.append(NamedList.java:133)
at ptolemy.kernel.CompositeEntity._addEntity(CompositeEntity.java:2080)
at ptolemy.kernel.ComponentEntity.setContainer(ComponentEntity.java:518)
at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1815)
at ptolemy.actor.gui.Effigy.setContainer(Effigy.java:401)
at ptolemy.kernel.ComponentEntity.<init>(ComponentEntity.java:106)
at ptolemy.kernel.CompositeEntity.<init>(CompositeEntity.java:164)
at ptolemy.actor.gui.Effigy.<init>(Effigy.java:133)
at ptolemy.actor.gui.PlotEffigy.<init>(PlotEffigy.java:71)
at ptolemy.actor.lib.gui.Plotter.initialize(Plotter.java:155)
... 2 more
Caused by: ptolemy.kernel.util.NameDuplicationException: Attempt to insert object named "plot" into container named ".configuration.directory.effigy2", which already contains an object with that name.
at ptolemy.kernel.util.NamedList.append(NamedList.java:133)
at ptolemy.kernel.CompositeEntity._addEntity(CompositeEntity.java:2080)
at ptolemy.kernel.ComponentEntity.setContainer(ComponentEntity.java:518)
at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1815)
at ptolemy.actor.gui.Effigy.setContainer(Effigy.java:401)
at ptolemy.kernel.ComponentEntity.<init>(ComponentEntity.java:106)
at ptolemy.kernel.CompositeEntity.<init>(CompositeEntity.java:164)
at ptolemy.actor.gui.Effigy.<init>(Effigy.java:133)
at ptolemy.actor.gui.PlotEffigy.<init>(PlotEffigy.java:71)
at ptolemy.actor.lib.gui.Plotter.initialize(Plotter.java:155)
at ptolemy.actor.lib.gui.SequencePlotter.initialize(SequencePlotter.java:130)
at ptolemy.actor.process.ProcessThread.run(ProcessThread.java:135)


Files

plot-error.xml (66.6 KB) plot-error.xml Daniel Crawl, 11/16/2010 11:10 AM
plotErrorOpensInPtolemy2.xml (60.1 KB) plotErrorOpensInPtolemy2.xml Christopher Brooks, 12/12/2010 11:26 AM
Actions

Also available in: Atom PDF