Ignore:
Timestamp:
2014-01-27T03:20:43+01:00 (10 years ago)
Author:
Don-vip
Message:

fix NPEs seen in tagchecker tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/mappaint/mapcss/Selector.java

    r6748 r6762  
    230230            if (ChildOrParentSelectorType.ELEMENT_OF.equals(type)) {
    231231
    232                 if (e.osm instanceof Node) {
     232                if (e.osm instanceof Node || e.osm.getDataSet() == null) {
    233233                    // nodes cannot contain elements
    234234                    return false;
Note: See TracChangeset for help on using the changeset viewer.