← Back to team overview

gephi.team team mailing list archive

[Bug 631663] Re: Exception on clicking on 'Hierarchy' while running multilevel layout

 

** Changed in: gephi
       Status: Fix Committed => Fix Released

** Changed in: gephi/0.7
       Status: Fix Committed => Fix Released

-- 
Exception on clicking on 'Hierarchy' while running multilevel layout
https://bugs.launchpad.net/bugs/631663
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 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)





References