Bug 881425 - NullPointerException in GTK file dialog when choosing from "recently used files"
Summary: NullPointerException in GTK file dialog when choosing from "recently used files"
Keywords:
Status: CLOSED DUPLICATE of bug 928500
Alias: None
Product: Fedora
Classification: Fedora
Component: arduino
Version: 17
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Peter Oliver
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-28 21:35 UTC by Brendan Jackman
Modified: 2013-03-27 19:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-27 19:12:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
~/local/share/recently-used.xbel (756 bytes, text/plain)
2012-11-28 21:38 UTC, Brendan Jackman
no flags Details

Description Brendan Jackman 2012-11-28 21:35:30 UTC
Description of problem:
When opening a file from GTK's "recently used files", the following exception is thrown:

Exception in thread "Thread-0" 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:172)
        at sun.awt.X11.GtkFileDialogPeer.access$000(GtkFileDialogPeer.java:39)
        at sun.awt.X11.GtkFileDialogPeer$1.run(GtkFileDialogPeer.java:114)

The user interface stops responding to events (however the application is still redrawn and other threads continue. I'm not sure how to inspect further..

Version-Release number of selected component (if applicable):
Version     : 1.0.1
Release     : 1.fc17

How reproducible:
File >> Open >> Select any file from "recently used files".

Problem persists after reboot and after removing (then re-populating by opening files) ~.local/share/recently-used.xbel. I have attached the contents of that file when it only contains one element.

On my installation arduino reports on launch:

WARNING:  RXTX Version mismatch
        Jar version = RXTX-2.2
        native lib Version = RXTX-2.2pre2
$ yum search rxtx
(...)
Version     : 2.2
Release     : 0.6.20100211.fc17.1

(I can't see how that would be related but I have reported it just in case!)

Comment 1 Brendan Jackman 2012-11-28 21:38:12 UTC
Created attachment 653769 [details]
~/local/share/recently-used.xbel

Comment 2 Gianluca Sforna 2013-03-27 19:12:14 UTC
This is really a bug in openjdk, I opened bug #928500 with a patch, let's hope it lands soonish

*** This bug has been marked as a duplicate of bug 928500 ***


Note You need to log in before you can comment on or make changes to this bug.