United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7130662 GTK file dialog crashes with a NPE
JDK-7130662 : GTK file dialog crashes with a NPE

Details
Type:
Bug
Submit Date:
2012-01-17
Status:
Resolved
Updated Date:
2013-08-08
Project Name:
JDK
Resolved Date:
2012-01-25
Component:
client-libs
OS:
linux,generic
Sub-Component:
java.awt
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7,8
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Relates:

Sub Tasks

Description
https://bugs.openjdk.java.net/show_bug.cgi?id=100221

If I try to open a file and then select a file from the 'recently used'
documents list the file dialog crashes. Here is the full exception.

Exception in thread "Thread-10" java.lang.NullPointerException
    at sun.awt.X11.GtkFileDialogPeer.setFileInternal(GtkFileDialogPeer.java:79)
    at sun.awt.X11.GtkFileDialogPeer.run(Native Method)
    at
sun.awt.X11.GtkFileDialogPeer.showNativeDialog(GtkFileDialogPeer.java:166)
    at sun.awt.X11.GtkFileDialogPeer.access$000(GtkFileDialogPeer.java:39)
    at sun.awt.X11.GtkFileDialogPeer$1.run(GtkFileDialogPeer.java:108)


I've got Gnome 3 on linux mint 12 and I'm using the default openjdk version.

                                    

Comments
EVALUATION

A patch is contributed at http://mail.openjdk.java.net/pipermail/awt-dev/2012-January/002154.html
                                     
2012-01-17



Hardware and Software, Engineered to Work Together