Modify

Opened 15 years ago

Closed 15 years ago

#5299 closed defect (worksforme)

NullPointerException on File Open Dialog

Reported by: peter@… Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open Josm
  2. Open "Open File" Dialog
  3. Navigate to removable drive
  4. [crash]
  5. Restart Josm
  6. Open "Open File" Dialog
  7. [crash]

What is the expected result?

Open the "Open File" Dialog

What happens instead?

The "Open File" Dialog keeps invisible but a NullPointerException is raised

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-08-04 01:31:57
Last Changed Author: bastiK
Revision: 3413
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-08-04 00:10:31 +0200 (Wed, 04 Aug 2010)
Last Changed Rev: 3413

Identification: JOSM/1.5 (3413 de)
Memory Usage: 33 MB / 245 MB (7 MB allocated, but free)
Java version: 1.6.0_20, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows 7

Plugin: DirectUpload (22017)
Plugin: dataimport (22542)
Plugin: editgpx (22548)
Plugin: measurement (22547)
Plugin: openstreetbugs (22548)
Plugin: plastic_laf (20000)
Plugin: remotecontrol (22479)
Plugin: reverter (22533)
Plugin: turnrestrictions (22477)
Plugin: validator (22550)

java.lang.NullPointerException
	at java.util.Arrays$ArrayList.<init>(Unknown Source)
	at java.util.Arrays.asList(Unknown Source)
	at sun.awt.shell.Win32ShellFolderManager2.isFileSystemRoot(Unknown Source)
	at sun.awt.shell.ShellFolder.isFileSystemRoot(Unknown Source)
	at javax.swing.filechooser.FileSystemView.isFileSystemRoot(Unknown Source)
	at javax.swing.filechooser.FileSystemView.getShellFolder(Unknown Source)
	at javax.swing.filechooser.FileSystemView.getFiles(Unknown Source)
	at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run0(Unknown Source)
	at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by bastiK, 15 years ago

This seems to be a Java bug. Not much, the JOSM developers can do about it. Strange that JOSM remembers the path although you did not click OK button.

comment:2 by stoecker, 15 years ago

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.