java.lang.NullPointerException

GitHub | PinkDuck | 1 year ago
  1. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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