<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 Thorsten,<br><br>please try r3536. I've added a few checks to make sure that <br>StyledConverter doesn't try to add restrictions to NOD when option --route<br>is not active.<br>It produces now the same result as the trunk version.<br><br>Gerd<br><br><div>> Date: Tue, 14 Apr 2015 16:50:59 +0200<br>> From: kukuk@suse.de<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: Re: [mkgmap-dev] Backtrace with housenumber branch<br>> <br>> On Tue, Apr 14, Thorsten Kukuk wrote:<br>> <br>> > <br>> > Hi,<br>> > <br>> > with the latest releases of the housenumber branch, including r3535,<br>> > I get the following backtrace when building my bicycle map (the trunk<br>> > version is fine and works):<br>> > <br>> > java.lang.NullPointerException<br>> > at uk.me.parabola.imgfmt.app.net.RoadNetwork.addThroughRoute(RoadNetwork.java:651)<br>> > at uk.me.parabola.mkgmap.general.MapDetails.addThroughRoute(MapDetails.java:135)<br>> > at uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:658)<br>> > at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:250)<br>> > at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:67)<br>> > at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.load(OsmMapDataSource.java:130)<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:253)<br>> > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:249)<br>> > at java.util.concurrent.FutureTask.run(FutureTask.java:274)<br>> > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1157)<br>> > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:627)<br>> > at java.lang.Thread.run(Thread.java:863)<br>> > Exiting - if you want to carry on regardless, use the --keep-going option<br>> > Number of ExitExceptions: 1<br>> > <br>> > <br>> > It's the bicycle style from my web page, and I call mkgmap with:<br>> > mkgmap --style-file=bicycling --family-name=TK-DACH-Bicycling --country-name=DACH --country-abbr=DACH --area-name=DACH --latin1 --license-file=TK-DACH-Bicycling_license.txt '--copyright-message=OpenStreetMap contributors, ODbL. See: http://www.openstreetmap.org/copyright. TK-DACH-Bicycling based on data from 2015-04-13.' --series-name=TK-DACH-Bicycling --product-version=150414 --add-pois-to-areas '--pois-to-areas-placement=entrance=main;entrance=yes;building=entrance;barrier=entrance' --reduce-point-density=4 --reduce-point-density-polygon=8 --min-size-polygon=8 --polygon-size-limits=24:8,18:4,17:2,16:0 --make-opposite-cycleways --name-tag-list=name,place_name,loc_name --transparent --no-poi-address -c mkgmap.cfg --gmapsupp -c maps.cfg --description=TK-DACH-Bicycling TK_DACH.TYP<br>> <br>> I forgot, the input file:<br>> http://osm.thkukuk.de/tmp/71200177.osm.pbf<br>> <br>> And only the style:<br>> http://osm.thkukuk.de/tmp/bicycling.zip<br>> <br>> > Thorsten<br>> > <br>> > -- <br>> > Thorsten Kukuk, Senior Architect SLES & Common Code Base<br>> > SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br>> > GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<br>> > _______________________________________________<br>> > mkgmap-dev mailing list<br>> > mkgmap-dev@lists.mkgmap.org.uk<br>> > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br>> <br>> -- <br>> Thorsten Kukuk, Senior Architect SLES & Common Code Base<br>> SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany<br>> GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg)<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>