java.lang.NullPointerException

Hello, I have a script that runs the creation of my map every sunday morning. Today, I got the following error on exactly the same osm data than last week. java.lang.NullPointerException at uk.me.parabola.mkgmap.osmstyle.StyledConverter.setBoundingBox(StyledConverter.java:399) at uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:219) at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:77) at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:149) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:217) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Exiting - if you want to carry on regardless, use the --keep-going option The options used : OPTIONS_MKGMAP_PERSO=" \ -Xmx896M \ -jar $FILEDIR/mkgmap.jar \ --draw-priority=20 \ --family-id=444 \ --latin1 \ --location-autofill=1 \ --mapname="44440000" \ --remove-short-arcs \ --route \ --style-file=$FILEDIR/styles/perso \ --transparent \ " I tried on another computer, but got the same pb. Francois --

Hi
I have a script that runs the creation of my map every sunday morning. Today, I got the following error on exactly the same osm data than last week.
java.lang.NullPointerException at uk.me.parabola.mkgmap.osmstyle.StyledConverter.setBoundingBox(StyledConverter.java:399)
Thanks for reporting this. It should be fixed now. It only happened for osm files that do not contain a bounding box. ..Steve

Le 26/09/2010 22:41, Steve Ratcliffe a écrit :
java.lang.NullPointerException at uk.me.parabola.mkgmap.osmstyle.StyledConverter.setBoundingBox(StyledConverter.java:399)
Thanks for reporting this. It should be fixed now.
It only happened for osm files that do not contain a bounding box.
Thank you Steve. Works fine now. Francois
participants (2)
-
frmas
-
Steve Ratcliffe