Modify

Opened 5 years ago

Closed 5 years ago

#1520 closed defect (fixed)

NullPointerException while Closing Preferences

Reported by: anonymous Owned by: framm
Priority: critical 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 5 years ago.
The Patch that sovels the Problem

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by anonymous

The Patch that sovels the Problem

comment:1 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r936.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.