[mkgmap-dev] NPE with r3183 & r3185
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sun Apr 13 16:39:14 BST 2014
Hi Henning, yes, these two lines are problematic: type=restriction & except ~ '.*bicycle*.' { delete type ; delete restriction }type=restriction:bicycle { set restriction = '${restriction:bicycle}' } mkgmap ignored them up to release r3169, now they have an effect. I'll add checks to detect that. Gerd > Date: Sun, 13 Apr 2014 17:09:43 +0200 > From: osm at aighes.de > To: mkgmap-dev at lists.mkgmap.org.uk > Subject: [mkgmap-dev] NPE with r3183 & r3185 > > Hi everybody, > > since updating to r3183 I get the following NPE. Also Updating to r3185 > doesn't solve the issue to me. The NPE doesn't occur in all my maps, but > in several ones, mainly in maps with higher density of mapping. > > Henning > > java.lang.NullPointerException > at > uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.eval(RestrictionRelation.java:106) > at > uk.me.parabola.mkgmap.reader.osm.RelationStyleHook.end(RelationStyleHook.java:56) > at > uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79) > at > uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:49) > at > uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127) > at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216) > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > at java.lang.Thread.run(Thread.java:744) > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20140413/c9b3b084/attachment.html>
- Previous message: [mkgmap-dev] NPE with r3183 & r3185
- Next message: [mkgmap-dev] NPE with r3183 & r3185
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list