java.lang.NullPointerException

GitHub | PinkDuck | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at net.osmand.osm.edit.OsmMapUtils.ray_intersect_lon()
  2. net.osmand.osm
    OsmMapUtils.ray_intersect_lon
    1. net.osmand.osm.edit.OsmMapUtils.ray_intersect_lon(OsmMapUtils.java:348)
    1 frame
  3. net.osmand.util
    MapAlgorithms.containsPoint
    1. net.osmand.util.MapAlgorithms.countIntersections(MapAlgorithms.java:326)
    2. net.osmand.util.MapAlgorithms.containsPoint(MapAlgorithms.java:295)
    2 frames
  4. net.osmand.osm
    EntityParser.parseAmenities
    1. net.osmand.osm.edit.OsmMapUtils.getWeightCenterForWay(OsmMapUtils.java:94)
    2. net.osmand.osm.edit.OsmMapUtils.getCenter(OsmMapUtils.java:31)
    3. net.osmand.osm.edit.EntityParser.parseMapObject(EntityParser.java:50)
    4. net.osmand.osm.edit.EntityParser.parseAmenities(EntityParser.java:187)
    4 frames
  5. net.osmand.data
    IndexCreator.generateIndexes
    1. net.osmand.data.preparation.IndexPoiCreator.iterateEntity(IndexPoiCreator.java:98)
    2. net.osmand.data.preparation.IndexCreator.iterateMainEntity(IndexCreator.java:230)
    3. net.osmand.data.preparation.IndexCreator.access$100(IndexCreator.java:51)
    4. net.osmand.data.preparation.IndexCreator$6.iterateEntity(IndexCreator.java:725)
    5. net.osmand.data.preparation.OsmDbAccessor.iterateOverEntities(OsmDbAccessor.java:244)
    6. net.osmand.data.preparation.OsmDbAccessor.iterateOverEntities(OsmDbAccessor.java:198)
    7. net.osmand.data.preparation.IndexCreator.iterateMainEntities(IndexCreator.java:722)
    8. net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:567)
    9. net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:479)
    9 frames
  6. net.osmand.swing
    ProgressDialog$WorkerThread.run
    1. net.osmand.swing.OsmExtractionUI$13.run(OsmExtractionUI.java:547)
    2. net.osmand.swing.ProgressDialog$WorkerThread.run(ProgressDialog.java:87)
    2 frames