logo separator

[mkgmap-dev] mkgmap NPE

From Carlos Dávila cdavilam at orangecorreo.es on Mon Sep 11 18:41:26 BST 2017

Hi Gerd
Thanks for the quick fix. I can't test it until tomorrow or after 
tomorrow. I will report then.


El 11/09/17 a las 11:14, Gerd Petermann escribió:
> Hi Carlos,
>
> thanks for reporting, I think I found a work-around in r3996. Problem was caused by this node
> https://www.openstreetmap.org/node/5068689766 which is connected to this addr:interpolation way
> https://www.openstreetmap.org/way/519922639
> The problem also seems to disappear when I add name=Hadeed Road to
> https://www.openstreetmap.org/way/288880029
> I did not find out why this situation causes a null pointer :-(
>
> Gerd
> ________________________________________
> Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Carlos Dávila <cdavilam at orangecorreo.es>
> Gesendet: Sonntag, 10. September 2017 19:08:31
> An: Development list for mkgmap
> Betreff: [mkgmap-dev] mkgmap NPE
>
> 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
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>


More information about the mkgmap-dev mailing list