Skip to content
This repository has been archived by the owner on Oct 31, 2020. It is now read-only.

Exposed nodes stay when ensemble inside network deleted #26

Closed
tbekolay opened this issue Jul 10, 2012 · 2 comments
Closed

Exposed nodes stay when ensemble inside network deleted #26

tbekolay opened this issue Jul 10, 2012 · 2 comments
Labels

Comments

@tbekolay
Copy link
Member

[Issue migrated from SourceForge | ID: 2001961 | Submitted by 'nobody']
[http://sourceforge.net/support/tracker.php?aid=2001961]

Setting up a network and then having a NEFEnsemble inside with an exposed node, if the ensemble is deleted without unexposing the node the exposed nodes stick around outside the network.

@tbekolay
Copy link
Member Author

[Comment migrated from SourceForge | Submitted by 'eliasmith']

In fact, when right clicking on the network that had the exposed node, the following exception occurs

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at ca.nengo.model.impl.NetworkImpl.listStates(NetworkImpl.java:329)
at ca.nengo.ui.models.UINeoNode.constructDataCollectionMenu(UINeoNode.java:193)
at ca.nengo.ui.models.UINeoNode.constructMenu(UINeoNode.java:252)
at ca.shu.ui.lib.objects.models.ModelObject.getContextMenu(ModelObject.java:225)
at ca.shu.ui.lib.world.handlers.MouseHandler.maybeTriggerPopup(MouseHandler.java:87)
at ca.shu.ui.lib.world.handlers.MouseHandler.mousePressed(MouseHandler.java:172)
at edu.umd.cs.piccolo.event.PBasicInputEventHandler.processEvent(Unknown Source)
at edu.umd.cs.piccolo.util.PPickPath.processEvent(Unknown Source)
at edu.umd.cs.piccolo.PInputManager.dispatchEventToListener(Unknown Source)
at edu.umd.cs.piccolo.PInputManager.mousePressed(Unknown Source)
at edu.umd.cs.piccolo.event.PBasicInputEventHandler.processEvent(Unknown Source)
at edu.umd.cs.piccolo.PInputManager.processInput(Unknown Source)
at edu.umd.cs.piccolo.PRoot.processInputs(Unknown Source)
at edu.umd.cs.piccolo.PInputManager.processEventFromCamera(Unknown Source)
at edu.umd.cs.piccolo.PCanvas.sendInputEventToInputManager(Unknown Source)
at edu.umd.cs.piccolo.PCanvas$1.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Component.java:5599)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5367)
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:3933)
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)

@tbekolay
Copy link
Member Author

[Comment migrated from SourceForge | Submitted by 'dhrsmss']

fixed in revision 1060

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

1 participant