<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Henning,<br><br>yes, these two lines are problematic:<br><pre><div class="line" id="LC5">type=restriction & except ~ '.*bicycle*.' { delete type ; delete restriction }</div><div class="line" id="LC6">type=restriction:bicycle { set restriction = '${restriction:bicycle}' }</div><div class="line" id="LC7"><br><br></div></pre>mkgmap ignored them up to release r3169, now they have an effect. I'll add checks to detect that.<br><br>Gerd<br><br><div>> Date: Sun, 13 Apr 2014 17:09:43 +0200<br>> From: osm@aighes.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: [mkgmap-dev] NPE with r3183 & r3185<br>> <br>> Hi everybody,<br>> <br>> since updating to r3183 I get the following NPE. Also Updating to r3185<br>> doesn't solve the issue to me. The NPE doesn't occur in all my maps, but<br>> in several ones, mainly in maps with higher density of mapping.<br>> <br>> Henning<br>> <br>> java.lang.NullPointerException<br>>         at<br>> uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.eval(RestrictionRelation.java:106)<br>>         at<br>> uk.me.parabola.mkgmap.reader.osm.RelationStyleHook.end(RelationStyleHook.java:56)<br>>         at<br>> uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)<br>>         at<br>> uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:49)<br>>         at<br>> uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127)<br>>         at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167)<br>>         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63)<br>>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)<br>>         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216)<br>>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>>         at<br>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>>         at<br>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>>         at java.lang.Thread.run(Thread.java:744)<br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>