Exception on clicking on 'Hierarchy' while running multilevel layout

Bug #631663 reported by Mathieu Bastian on 2010-09-06
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 Gephi with graph
2) Run Yifan Hu Multi-level layout
3) Click on Hierarchy
Exception is sometimes thrown

Stack trace:
java.lang.IllegalArgumentException: Level must be between 0 and the height of the tree, currently height=9
        at org.gephi.graph.dhns.graph.HierarchicalGraphImpl.getLevelSize(HierarchicalGraphImpl.java:166)
        at org.gephi.desktop.hierarchy.HierarchyControlPanel.initLevelsLinks(HierarchyControlPanel.java:176)
        at org.gephi.desktop.hierarchy.HierarchyControlPanel.setup(HierarchyControlPanel.java:140)
        at org.gephi.desktop.hierarchy.HierarchyPropertyBarAddon$HierarchyAddonButton.createPopup(HierarchyPropertyBarAddon.java:88)
        at org.gephi.desktop.hierarchy.HierarchyPropertyBarAddon$HierarchyAddonButton.access$000(HierarchyPropertyBarAddon.java:65)
        at org.gephi.desktop.hierarchy.HierarchyPropertyBarAddon$HierarchyAddonButton$1.actionPerformed(HierarchyPropertyBarAddon.java:80)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

fixed in rev 1753

Changed in gephi:
status: Confirmed → Fix Committed
Changed in gephi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers