[mkgmap-dev] java error
From WanMil wmgcnfg at web.de on Fri Apr 6 23:01:45 BST 2012
Hi, the error was caused by an empty way. I wasn't aware that this is possible. This case is now handled in the UnusedElementsRemoverHook. Thanks for the report! WanMil > Hi, > > when I compile small local test files (from overpass api) > I get following java error: > > > > java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 > at java.util.ArrayList.RangeCheck(ArrayList.java:547) > at java.util.ArrayList.get(ArrayList.java:322) > at > uk.me.parabola.mkgmap.reader.osm.UnusedElementsRemoverHook.end(UnusedElementsRemoverHook.java:140) > at > uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79) > at > uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:73) > at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:206) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:203) > 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:662) > Exiting - if you want to carry on regardless, use the --keep-going option > > > > versions: > > mkgmap 2263 > > java version "1.6.0_31" > Java(TM) SE Runtime Environment (build 1.6.0_31-b05) > Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) > > OS=win7 > > > Any hints what could cause this error ? > > Chris > > > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] java error
- Next message: [mkgmap-dev] java error
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list