NullPointerException while Closing Preferences
|Reported by:||anonymous||Owned by:||framm|
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