logo separator

[mkgmap-dev] Splitter 542 stops working

From Gerd Petermann GPetermann_muenchen at hotmail.com on Thu Dec 29 10:13:30 GMT 2016

Hi Henning,

thanks for reporting. In r548 I  fixed a stupid bug in AreaSet that caused this error.
I also added a unit test that reproduced the error.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Henning Scholland <osm at aighes.de>
Gesendet: Donnerstag, 29. Dezember 2016 10:43:48
An: Development list for mkgmap
Betreff: [mkgmap-dev] Splitter 542 stops working

Hi Gerd,
yesterday I updated to v542 (v531 same behaviour) of splitter and now
splitting doesn't work anymore. I'm using an updated planet.o5m with the
attached areas.list and the following command:

java -Xmx10000M -XX:+UseCompressedOops -XX:+UseParallelGC -jar
.\bin\splitter.jar --status-freq=0 --output=o5m --max-areas=2048
--max-threads=%threads% --overlap=0 --keep-complete
--split-file=.\resources\areas.list --description=RadReiseKarte
.\data\planet.o5m > splitter.log 2> splitter_error.log

So far I tested again v476 to check if the o5m-file is still ok. v476 is
running smooth. Do I need to change anything in my script or wait for
one of the branches?

Best regards,
Henning

Error:
java.lang.IndexOutOfBoundsException: Index (14) is greater than or equal
to list size (14)
        at it.unimi.dsi.fastutil.ints.IntArrayList.removeInt(IntArrayList.java:229)
        at uk.me.parabola.splitter.AreaSet.clear(AreaSet.java:109)
        at uk.me.parabola.splitter.AreaSet.subtract(AreaSet.java:140)
        at
uk.me.parabola.splitter.MultiTileProcessor.orSubRelWriters(MultiTileProcessor.java:556)
        at
uk.me.parabola.splitter.MultiTileProcessor.calcWritersOfMultiPolygonRels(MultiTileProcessor.java:436)
        at
uk.me.parabola.splitter.MultiTileProcessor.endMap(MultiTileProcessor.java:264)
        at
uk.me.parabola.splitter.AbstractMapProcessor.consume(AbstractMapProcessor.java:73)
        at uk.me.parabola.splitter.OSMFileHandler.execute(OSMFileHandler.java:159)
        at
uk.me.parabola.splitter.ProblemLists.calcMultiTileElements(ProblemLists.java:250)
        at uk.me.parabola.splitter.Main.useProblemLists(Main.java:474)
        at uk.me.parabola.splitter.Main.start(Main.java:112)
        at uk.me.parabola.splitter.Main.main(Main.java:66)


More information about the mkgmap-dev mailing list