Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by PinkDuck
, 1 year ago
java.lang.NullPointerException: 	at net.osmand.osm.edit.OsmMapUtils.ray_intersect_lon(OsmMapUtils.java:348)	at net.osmand.util.MapAlgorithms.countIntersections(MapAlgorithms.java:326)	at net.osmand.util.MapAlgorithms.containsPoint(MapAlgorithms.java:295)	at net.osmand.osm.edit.OsmMapUtils.getWeightCenterForWay(OsmMapUtils.java:94)	at net.osmand.osm.edit.OsmMapUtils.getCenter(OsmMapUtils.java:31)	at net.osmand.osm.edit.EntityParser.parseMapObject(EntityParser.java:50)	at net.osmand.osm.edit.EntityParser.parseAmenities(EntityParser.java:187)	at net.osmand.data.preparation.IndexPoiCreator.iterateEntity(IndexPoiCreator.java:98)	at net.osmand.data.preparation.IndexCreator.iterateMainEntity(IndexCreator.java:230)	at net.osmand.data.preparation.IndexCreator.access$100(IndexCreator.java:51)	at net.osmand.data.preparation.IndexCreator$6.iterateEntity(IndexCreator.java:725)	at net.osmand.data.preparation.OsmDbAccessor.iterateOverEntities(OsmDbAccessor.java:244)	at net.osmand.data.preparation.OsmDbAccessor.iterateOverEntities(OsmDbAccessor.java:198)	at net.osmand.data.preparation.IndexCreator.iterateMainEntities(IndexCreator.java:722)	at net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:567)	at net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:479)	at net.osmand.swing.OsmExtractionUI$13.run(OsmExtractionUI.java:547)	at net.osmand.swing.ProgressDialog$WorkerThread.run(ProgressDialog.java:87)