gephi/trunk — Issue #46: Exception on clicking on 'Hierarchy' while running multilevel layout
Author: mbastian
Created: 2011-10-22 16:41:53+00:00
State: open
Labels: Fix Released, hierarchy, High

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)