"Node must be in the graph" error

Bug #538701 reported by Mathieu Bastian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Fix Released
High
Mathieu Bastian
0.7
Fix Released
High
Unassigned

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)

Changed in gephi:
milestone: none → 0.7alpha2
description: updated
Changed in gephi:
status: New → Confirmed
summary: - Node must be in the graph
+ "Node must be in the graph" error
Changed in gephi:
status: Confirmed → Fix Committed
tags: added: partition
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.