← Back to team overview

gephi.team team mailing list archive

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

 

Public bug reported:

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)

** Affects: gephi
     Importance: High
     Assignee: Mathieu Bastian (mathieu.bastian)
         Status: Fix Committed

** Affects: gephi/0.7
     Importance: High
         Status: Fix Committed


** Tags: hierarchy

** Also affects: gephi/0.7
   Importance: Undecided
       Status: New

** Changed in: gephi/0.7
       Status: New => Confirmed

** Changed in: gephi/0.7
   Importance: Undecided => High

-- 
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 Committed
Status in Gephi 0.7 series: Fix Committed

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)





Follow ups

References