logo separator

[mkgmap-dev] mkgmap r3221: java.lang.NullPointerException

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Apr 22 14:10:28 BST 2014

Hi Thorsten,

okay, r3223 is now correct. The previous version did not crash, 
but it did not check the way following a removed one.
This happened in the method that handles the mkgmap:set_unconnected_type=*
tag.

Gerd

> Date: Tue, 22 Apr 2014 05:56:27 -0700
> From: gpetermann_muenchen at hotmail.com
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] mkgmap r3221: java.lang.NullPointerException
> 
> Hi Thorsten,
> 
> no, sorry, the fix will not work.
> 
> Gerd
> 
> GerdP wrote
> > Hi Thorsten,
> > 
> > thanks for reporting, it is fixed with r3222.
> > 
> > Gerd
> > Thorsten Kukuk wrote
> >> Hi,
> >> 
> >> With mkgmap r3221 I get the following NullPointerException:
> >> 
> >> java.lang.NullPointerException
> >>         at
> >> uk.me.parabola.mkgmap.osmstyle.StyledConverter.rotateClosedWaysToFirstNode(StyledConverter.java:550)
> >>         at
> >> uk.me.parabola.mkgmap.osmstyle.StyledConverter.end(StyledConverter.java:435)
> >>         at
> >> uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:248)
> >>         at
> >> uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:67)
> >>         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$Sync.innerRun(Unknown Source)
> >>         at java.util.concurrent.FutureTask.run(Unknown Source)
> >>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown
> >> Source)
> >>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
> >> Source)
> >>         at java.lang.Thread.run(Unknown Source)
> >> 
> >> This does not happen with mkgmap r3217. No other changes to sources
> >> or my style.
> >> 
> >>   Thorsten
> >> -- 
> >> Thorsten Kukuk, Senior Architect SLES & Common Code Base
> >> SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
> >> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
> >> _______________________________________________
> >> mkgmap-dev mailing list
> 
> >> mkgmap-dev at .org
> 
> >> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
> 
> 
> 
> 
> 
> --
> View this message in context: http://gis.19327.n5.nabble.com/mkgmap-r3221-java-lang-NullPointerException-tp5803840p5803848.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> 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/20140422/70711846/attachment.html>


More information about the mkgmap-dev mailing list