Ignore:
Timestamp:
2010-05-05T19:10:04+02:00 (12 years ago)
Author:
bastiK
Message:

fixed #4971 NullPointerException at OsmReader.java:586, caused by NullPointerException at Storage.java:317;
fixed #4964 exception undo "node-merge" with nodes children of relations.

File:
1 edited

Legend:

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

    r3129 r3217  
    271271                String key = atts.getValue("k");
    272272                String value = atts.getValue("v");
     273                if (key == null || value == null) {
     274                    throwException(tr("Missing key or value attribute in tag."));
     275                }
    273276                currentPrimitive.put(intern(key), intern(value));
    274277
Note: See TracChangeset for help on using the changeset viewer.