[kepler-dev] [Bug 5451] New: Componets ->(right mouse) View Dokumentation causes NameDuplicationException

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Aug 5 07:28:59 PDT 2011


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

           Summary: Componets ->(right mouse) View Dokumentation causes
                    NameDuplicationException
           Product: Kepler
           Version: 2.2.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: documentation
        AssignedTo: altintas at sdsc.edu
        ReportedBy: melchiaros at aol.com
         QAContact: kepler-dev at kepler-project.org
   Estimated Hours: 0.0


When I try to call "View Documentation" (right mouse click on a
component->"View Documetation") and there is already a help window open from
another comonent, than Kepler popup an error window and throw a exeption:

[null] ptolemy.kernel.util.NameDuplicationException: Attempt to insert object
named "DocEffigy" into container named ".configuration.directory.effigy3",
which already contains an object with that name.
     [null]     at ptolemy.kernel.util.NamedList.append(NamedList.java:133)
     [null]     at
ptolemy.kernel.CompositeEntity._addEntity(CompositeEntity.java:2122)
     [null]     at
ptolemy.kernel.ComponentEntity.setContainer(ComponentEntity.java:518)
     [null]     at
ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1857)
     [null]     at ptolemy.actor.gui.Effigy.setContainer(Effigy.java:401)
     [null]     at
ptolemy.kernel.ComponentEntity.<init>(ComponentEntity.java:106)
     [null]     at
ptolemy.kernel.CompositeEntity.<init>(CompositeEntity.java:164)
     [null]     at ptolemy.actor.gui.Effigy.<init>(Effigy.java:133)
     [null]     at ptolemy.vergil.actor.DocEffigy.<init>(DocEffigy.java:60)
     [null]     at
org.kepler.gui.ShowDocumentationAction.actionPerformed(ShowDocumentationAction.java:136)
     [null]     at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
     [null]     at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
     [null]     at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
     [null]     at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
     [null]     at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
     [null]     at
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
     [null]     at
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
     [null]     at java.awt.Component.processMouseEvent(Component.java:6268)
     [null]     at
javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
     [null]     at java.awt.Component.processEvent(Component.java:6033)
     [null]     at java.awt.Container.processEvent(Container.java:2045)
     [null]     at java.awt.Component.dispatchEventImpl(Component.java:4629)
     [null]     at java.awt.Container.dispatchEventImpl(Container.java:2103)
     [null]     at java.awt.Component.dispatchEvent(Component.java:4455)
     [null]     at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
     [null]     at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
     [null]     at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
     [null]     at java.awt.Container.dispatchEventImpl(Container.java:2089)
     [null]     at java.awt.Window.dispatchEventImpl(Window.java:2517)
     [null]     at java.awt.Component.dispatchEvent(Component.java:4455)
     [null]     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
     [null]     at java.awt.EventQueue.access$000(EventQueue.java:96)
     [null]     at java.awt.EventQueue$1.run(EventQueue.java:608)
     [null]     at java.awt.EventQueue$1.run(EventQueue.java:606)
     [null]     at java.security.AccessController.doPrivileged(Native Method)
     [null]     at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
     [null]     at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
     [null]     at java.awt.EventQueue$2.run(EventQueue.java:622)
     [null]     at java.awt.EventQueue$2.run(EventQueue.java:620)
     [null]     at java.security.AccessController.doPrivileged(Native Method)
     [null]     at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
     [null]     at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
     [null]     at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
     [null]     at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
     [null]     at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
     [null]     at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
     [null]     at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
     [null]     at
java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
     [null] Using default context menu stuff for class:
ptolemy.kernel.ComponentEntity
     [null] Using default context menu stuff for class:
ptolemy.kernel.ComponentEntity
     [null] Using default context menu stuff for class:
ptolemy.kernel.ComponentEntity

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list