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)
Change History (2)
Changed 5 years ago by anonymous
comment:1 Changed 5 years ago by anonymous
- Resolution set to fixed
- Status changed from new to closed
Fixed in r936.



The Patch that sovels the Problem