Ignore:
Timestamp:
2009-06-01T00:07:28+02:00 (17 years ago)
Author:
stoecker
Message:

close #2677 - NPE on upload

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java

    r1628 r1630  
    100100                // add the last entered comment to the changeset
    101101                String cmt = "";
    102                 List<String> history = new LinkedList<String>(Main.pref.getCollection(UploadAction.HISTORY_KEY, null));
     102                List<String> history = new LinkedList<String>(
     103                Main.pref.getCollection(UploadAction.HISTORY_KEY, new LinkedList<String>()));
    103104                if(history.size() > 0) {
    104105                    cmt = history.get(0);
Note: See TracChangeset for help on using the changeset viewer.