logo separator

[mkgmap-dev] Again NullPointerException

From GerdP gpetermann_muenchen at hotmail.com on Tue Feb 7 16:21:34 GMT 2012

Hi Thorsten,


You seem to create a boundary which doesn't contain any usable area.
I think you will see an error message if you run mkgmap with -ea

The patch that I posted before should also detect this situation.

Ciao,
Gerd



Thorsten Kukuk wrote
> 
> On Tue, Feb 07, Thorsten Kukuk wrote:
> 
>> generating boundary files did work for quite some time now 
>> with mkgmap r2188, but since yesterday I get again a Null Pointer
>> Exception:
>> 
>> Exception in thread "main" java.lang.NullPointerException
>>         at java.awt.geom.Area.<init>(Unknown Source)
>>         at
>> uk.me.parabola.mkgmap.reader.osm.boundary.Boundary.<init>(Boundary.j)
>>         at
>> uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadBoundaryF)
>>         at
>> uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreparer.workoutBo)
>>         at
>> uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreparer.run(Bound)
>>         at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:333)
>>         at
>> uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.j)
>>         at uk.me.parabola.mkgmap.main.Main.main(Main.java:112)
>> 
>> I cannot find anything from interest in the log files.
> 
> Between, I don't find any output of the new warning in
> BoundaryUtil.java from r2187. Either it is never triggered, or I have to
> adjust my logging.properties file. Which line does the rule
> need to have to get the output?
> 
>   Thorsten
> 
> -- 
> Thorsten Kukuk, Project Manager/Release Manager SLES
> 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/Again-NullPointerException-tp5463324p5463684.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list