logo separator

[mkgmap-dev] [PATCH v4] Precompiled sea

From Clinton Gladstone clinton.gladstone at googlemail.com on Fri May 18 10:25:04 BST 2012

On May 17, 2012, at 21:27, WanMil wrote:

> I have added the index like Gerd proposed. The number of files is now reduced by 90%.
> 
> I have uploaded new precompiled files to http://www.navmaps.eu/wanmil/sea_20120331.zip

Hi WanMil,

I tried patch v4 and the new precompiled sea files on the Geofabrik extract of Europe. I got a lot of NPE errors such as below.

Can I do anything to help? I've included an example from the logfile as well. 

It appears that src.getElementSaver().getWays() is null in the loadPrecompTile method.

----

Logfile example:

2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Load precompiled sea tiles
2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Started loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_163840.osm.pbf
2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Finished loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_163840.osm.pbf
2012/05/18 10:48:24 SEVERE (SeaGenerator): 23000001.osm.pbf: java.lang.NullPointerException
2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Started loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_196608.osm.pbf
2012/05/18 10:48:24 INFO (SeaGenerator): 23000001.osm.pbf: Finished loading coastlines from /Users/clinton/dev/mkgmap/styles/sea/sea_1998848_196608.osm.pbf
2012/05/18 10:48:24 SEVERE (SeaGenerator): 23000001.osm.pbf: java.lang.NullPointerException

----

java.lang.NullPointerException
	at uk.me.parabola.mkgmap.reader.osm.SeaGenerator.loadPrecompTile(SeaGenerator.java:342)
	at uk.me.parabola.mkgmap.reader.osm.SeaGenerator.addPrecompSea(SeaGenerator.java:428)
	at uk.me.parabola.mkgmap.reader.osm.SeaGenerator.end(SeaGenerator.java:562)
	at uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)
	at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:68)
	at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144)
	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:210)
	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:207)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

Cheers.


More information about the mkgmap-dev mailing list