logo separator

[mkgmap-dev] mkgmap NPE

From Carlos Dávila cdavilam at orangecorreo.es on Sun Sep 10 18:08:31 BST 2017

Hello
I'm getting a NPE building a map of Asia:
java.lang.NullPointerException
         at 
uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.useAddrPlaceTag(HousenumberGenerator.java:873)
         at 
uk.me.parabola.mkgmap.osmstyle.housenumber.HousenumberGenerator.generate(HousenumberGenerator.java:626)
         at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:658)
         at 
uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:243)
         at 
uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:157)
         at 
uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:154)
         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:52)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:263)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:259)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at java.lang.Thread.run(Thread.java:745)
Tile causing the error can be downloaded from: 
http://alternativaslibres.org/51700527.o5m
mkgmap command: export MAPA=Asia FID=70 ABR=ASI NAMETAG=name 
LANGUAGE=non_latin; java -Xmx7G -ea -Dlog.config=logging.properties -jar 
mkgmap-r3995/mkgmap.jar --output-dir=./tmp --bounds=bounds.zip 
--precomp-sea=sea.zip --max-jobs --route --latin1 --code-page=1252 
--area-name=$MAPA --family-name="OpenStreetMap $MAPA" 
--family-id=1${FID} --product-id=1 --series-name="OSM-$MAPA" 
--overview-mapname=$ABR-1${FID} --overview-mapnumber=51${FID}0000 
--name-tag-list=$NAMETAG --process-destination --process-exits 
--housenumbers --reduce-point-density=4 --polygon-size-limits="24:12, 
18:10, 16:0" --add-pois-to-areas --report-similar-arcs 
--report-dead-ends=2 --link-pois-to-ways 
--location-autofill=is_in,nearest --drive-on=detect --check-roundabouts 
--check-roundabout-flares --license-file=license_ODbL.txt 
--copyright-message="OpenStreetMap contributors, ODbL. See: 
http://www.openstreetmap.org/copyright" 51700527.o5m


More information about the mkgmap-dev mailing list