logo separator

[mkgmap-dev] NullPointerException in TDB code in mkgmap r1457

From Marko Mäkelä marko.makela at iki.fi on Mon Jan 4 07:18:14 GMT 2010

I just got this with mkgmap r1457 and Geofabrik's finland.osm.bz2 from today:

Exception in thread "main" java.lang.NullPointerException
	at uk.me.parabola.tdbfmt.OverviewMapBlock.setArea(OverviewMapBlock.java:100)
	at uk.me.parabola.mkgmap.combiners.TdbBuilder.addToTdb(TdbBuilder.java:114)
	at uk.me.parabola.mkgmap.combiners.TdbBuilder.onMapEnd(TdbBuilder.java:103)
	at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:369)
	at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:124)
	at uk.me.parabola.mkgmap.main.Main.main(Main.java:122)

Same thing with yesterday's finland.osm.bz2.  r1455 worked fine, but r1457
is throwing the NullPointerException.  I rebuilt both maps once more with
r1455, with success.  I invoked mkgmap with assertions enabled, except for
the very last run (today's map with r1455).

	Marko



More information about the mkgmap-dev mailing list