logo separator

[mkgmap-dev] mkgmap r2372 and --process-destination bug?

From Thorsten Kukuk kukuk at suse.de on Tue Nov 13 08:30:28 GMT 2012

Hi,

I tried mkgmap r2372 with --process-destination option today.
I made the necessary changes to my style file, but at some time
I get the following backtrace:

java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1)
        at java.util.ArrayList.subListRangeCheck(Unknown Source)
        at java.util.ArrayList.subList(Unknown Source)
        at uk.me.parabola.mkgmap.reader.osm.LinkDestinationHook.retrieveWays(LinkDestinationHook.java:69)
        at uk.me.parabola.mkgmap.reader.osm.LinkDestinationHook.end(LinkDestinationHook.java:207)
        at uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)
        at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:71)
        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:210)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:207)
        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)

That's reproduceable and removing the --process-destination option
solves this.

Any ideas what's going wrong?

  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)



More information about the mkgmap-dev mailing list