Skip to content

Null pointer exception when trying to open non-existing file  #1384

Closed
@benelot

Description

@benelot

Hi,

I get a null pointer exception and the IDE freezes if I do the following:

-I open the IDE
-I choose File->Open...
-I choose a file from 'Recently used' (Existing in Linux Nautilus showing the documents that are recently used by any program). The file was moved but 'Recently used still has the entry'.
-I choose Open.
-The IDE freezes and the last thing that is shown in the commandline below is:

Exception in thread "Thread-1" 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 exception is handwritten because it is not possible to copy it since the IDE is freezed. Please ask for further information since there might be a typo in the exception part)

After the occurence of this exception, I can not even close the IDE the close button on the window, I have to shoot the process with "kill processID".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions