<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 &amp; 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>&gt; Date: Sun, 13 Apr 2014 17:09:43 +0200<br>&gt; From: osm@aighes.de<br>&gt; To: mkgmap-dev@lists.mkgmap.org.uk<br>&gt; Subject: [mkgmap-dev] NPE with r3183 &amp; r3185<br>&gt; <br>&gt; Hi everybody,<br>&gt; <br>&gt; since updating to r3183 I get the following NPE. Also Updating to r3185<br>&gt; doesn't solve the issue to me. The NPE doesn't occur in all my maps, but<br>&gt; in several ones, mainly in maps with higher density of mapping.<br>&gt; <br>&gt; Henning<br>&gt; <br>&gt; java.lang.NullPointerException<br>&gt;         at<br>&gt; uk.me.parabola.mkgmap.reader.osm.RestrictionRelation.eval(RestrictionRelation.java:106)<br>&gt;         at<br>&gt; uk.me.parabola.mkgmap.reader.osm.RelationStyleHook.end(RelationStyleHook.java:56)<br>&gt;         at<br>&gt; uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)<br>&gt;         at<br>&gt; uk.me.parabola.mkgmap.reader.osm.o5m.O5mBinMapDataSource.load(O5mBinMapDataSource.java:49)<br>&gt;         at<br>&gt; uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:127)<br>&gt;         at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:167)<br>&gt;         at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:63)<br>&gt;         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)<br>&gt;         at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:216)<br>&gt;         at java.util.concurrent.FutureTask.run(FutureTask.java:262)<br>&gt;         at<br>&gt; java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br>&gt;         at<br>&gt; java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>&gt;         at java.lang.Thread.run(Thread.java:744)<br>&gt; <br>&gt; _______________________________________________<br>&gt; mkgmap-dev mailing list<br>&gt; mkgmap-dev@lists.mkgmap.org.uk<br>&gt; http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                               </div></body>
</html>