logo separator

[mkgmap-dev] mkgmap 2098 (not previous versions): java.lang.NullPointerException

From Felix Hartmann extremecarver at gmail.com on Thu Nov 17 14:34:15 GMT 2011

When compiling a map with mkgmap 2098 I get the following error 
(austria.pbf from geofabrik, my style).
2097 still compiles without problems/error messages.

Also 2098 is not faster than 2097 for me (actually in 2 out of 3 tries 
even very slightly (could be measuring error) slower).

It seems however that even though this error is thrown, the map is 
compiled more or less correctly.
Here is the full description:

java.lang.NullPointerException
         at 
uk.me.parabola.imgfmt.app.net.RoadDef.getStartSubdivNumber(RoadDef.java:341)
         at 
uk.me.parabola.imgfmt.app.net.NETFile.sortRoads(NETFile.java:140)
         at uk.me.parabola.imgfmt.app.net.NETFile.writePost(NETFile.java:86)
         at 
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:206)
         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:97)
         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)
         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:217)
         at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
         at java.util.concurrent.FutureTask.run(Unknown Source)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown 
Source)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown 
Source)
         at java.lang.Thread.run(Unknown Source)



More information about the mkgmap-dev mailing list