gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00308
[Bug 538701] Re: "Node must be in the graph" error
** Changed in: gephi
Status: Fix Committed => Fix Released
** Changed in: gephi/0.7
Status: Fix Committed => Fix Released
--
"Node must be in the graph" error
https://bugs.launchpad.net/bugs/538701
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.
Status in Gephi - Network exploration and manipulation: Fix Released
Status in Gephi 0.7 series: Fix Released
Bug description:
Way to reproduce:
1) Open a graph file
2) Run Modularity to get some partitions
3) Go to Partition and pick "Modularity Class" and apply colors
4) Go to filter module and create a "Degree Range Filter", enable Filtering
5) Open another graph file, in a new workspace
4) Go back to the first workspace
An exception is thrown
Stack trace:
Java.lang.IllegalArgumentException: Node must be in the graph
at org.gephi.graph.dhns.graph.AbstractGraphImpl.checkNode(AbstractGraphImpl.java:127)
at org.gephi.graph.dhns.graph.HierarchicalGraphImpl.getParent(HierarchicalGraphImpl.java:230)
at org.gephi.partition.impl.PartitionControllerImpl.isGroupable(PartitionControllerImpl.java:254)
at org.gephi.desktop.partition.PartitionChooser.refreshGrouped(PartitionChooser.java:332)
at org.gephi.desktop.partition.PartitionChooser.refreshModel(PartitionChooser.java:409)
at org.gephi.desktop.partition.PartitionChooser.setup(PartitionChooser.java:419)
at org.gephi.desktop.partition.PartitionTopComponent.refreshModel(PartitionTopComponent.java:84)
at org.gephi.desktop.partition.PartitionTopComponent.access$000(PartitionTopComponent.java:36)
at org.gephi.desktop.partition.PartitionTopComponent$1.select(PartitionTopComponent.java:66)
at org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:287)
at org.gephi.project.impl.ProjectControllerImpl.openWorkspace(ProjectControllerImpl.java:234)
at org.gephi.ui.workspace.WorkspaceUISelectorPanel$2.actionPerformed(WorkspaceUISelectorPanel.java:72)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
References