Modify

Opened 16 years ago

Closed 16 years ago

#1520 closed defect (fixed)

NullPointerException while Closing Preferences

Reported by: anonymous Owned by: framm
Priority: critical Milestone:
Component: Core Version: latest
Keywords: preferences Cc:

Description

I downloaded the newest JOSM version from svn-repository and every time i tried to save my preferences, an Exception was thrown.
The exception came from: PluginPreference.java from the ok () method.
The reason was that the plugins string was empty (I guess, because I have no plugins?) and then set to null. But after that, there comes an plugins.equals() on a null string, this raises the exception. And so I made a small patch for this, which in my oppinion solves the problem.

  • Revision: 935
  • System: Win XP SP2

Attachments (1)

pref.patch (864 bytes ) - added by anonymous 16 years ago.
The Patch that sovels the Problem

Download all attachments as: .zip

Change History (2)

by anonymous, 16 years ago

Attachment: pref.patch added

The Patch that sovels the Problem

comment:1 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r936.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.