gephi/trunk — Issue #219: Error on right-clicking on the graph when no project is loaded
Author: mbastian
Created: 2011-10-22 16:44:05+00:00
State: open
Labels: Fix Released, Low, ui

Way to reproduce:
1) Open Gephi
2) Right-click on the graph
Exception is thrown

Stack trace:

java.lang.NullPointerException
at org.gephi.visualization.bridge.DHNSEventBridge.canExpand(DHNSEventBridge.java:70)
at org.gephi.visualization.api.GraphContextMenu.getMenu(GraphContextMenu.java:77)
at org.gephi.visualization.swing.StandardGraphIO.mouseClicked(StandardGraphIO.java:193)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.Component.processMouseEvent(Component.java:6266)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
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)