NullPointerException at org.openide.windows.OpenComponentAction.actionPerformed at first start

Bug #522706 reported by Mathieu Bastian
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Gephi
Incomplete
Undecided
Unassigned

Bug Description

Way to reproduce:
1. First start on Linux, 2.6.31-19-generic, i386 with OpenJDK Client VM, 14.0-b16, OpenJDK Runtime Environment, 1.6.0_0-b16

Stack:
java.lang.NullPointerException
 at org.openide.windows.OpenComponentAction.actionPerformed(OpenComponentAction.java:77)
 at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:139)
 at org.netbeans.modules.openide.util.ActionsBridge.implPerformAction(ActionsBridge.java:83)
 at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:67)
 at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:142)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
 at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
 at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
 at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
 at java.awt.Component.processMouseEvent(Component.java:6108)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
 at java.awt.Component.processEvent(Component.java:5873)
 at java.awt.Container.processEvent(Container.java:2105)
 at java.awt.Component.dispatchEventImpl(Component.java:4469)
 at java.awt.Container.dispatchEventImpl(Container.java:2163)
 at java.awt.Component.dispatchEvent(Component.java:4295)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
 at java.awt.Container.dispatchEventImpl(Container.java:2149)
 at java.awt.Window.dispatchEventImpl(Window.java:2478)
 at java.awt.Component.dispatchEvent(Component.java:4295)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
 at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:125)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Revision history for this message
behindtherabbit (driscoll451) wrote :

I am the original reporter of this bug. I am working on a fresh install of Ubuntu, a fresh install of java JRE 1.6, and a fresh install of Gephi 0.7a. when I launch Gephi (via ./bin/gephidesktop), no graph window appears. I select the Window:Graph menu option and Gephi throws this exception. I've repeated this after a reboot of Ubuntu.

Revision history for this message
Sébastien Heymann (sebastien.heymann) wrote :

Hi, do not use OpenJDK but only the official JRE. See http://gephi.org/users/install/#linux

Changed in gephi:
status: New → Invalid
milestone: none → 0.7alpha
Revision history for this message
truemped (truemped) wrote :

Hi,

I am having the exact same problem here, except that I am not using OpenJDK but the Sun JDK.

$ java -version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02, mixed mode)

Running "$ ./bin/gephidesktop" starts gephi but does not show the Graph window. Selecting "Window -> Graph" will result in the same exception as pasted above!

Any ideas? Best
Daniel

Changed in gephi:
status: Invalid → Incomplete
Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

That issue is resulting from somthing bad happened during init, I would need the complete log to get the original error source.

Could you locate the message.log file and paste it here ? Thanks

Revision history for this message
truemped (truemped) wrote :

As requested: the messages.log file. Hope this helps...

Revision history for this message
ari (download6828) wrote :

I've run into the same problem as above.

Please note that I run gephi-0.7-alpha4 on Ubuntu via VirtualBox (Host: Mac OS 10.5.8/ Guest: Ubuntu 10.04). I've to use this computer at work.

Strangely enough, I managed to run gephi-0.7-alpha4 on my home PC (OS: Ubuntu 10.04) without any problems. Unfortunately, I can't use my PC at work.

Btw I also tried gephi-0.6-beta3.linux.i586 and had the same error.

Thanks a lot for your help.

Ari

Revision history for this message
Mathieu Bastian (mathieu.bastian) wrote :

Hi, this seems to be a graphic-related error.

The original error is "java.lang.IllegalArgumentException: GLDrawableFactory.chooseGraphicsConfiguration() was not used when creating this Component" and it comes from the X11 code that is managing the OpenGL initialization.

So this problem is related to JOGL (our OpenGL) library and your system. I recommend to update your graphic drivers and latest JRE.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.