[mkgmap-dev] Crash "Illegal Capacity" when converting map
From Gerd Petermann GPetermann_muenchen at hotmail.com on Mon Dec 19 05:41:26 GMT 2016
Hi Jakob, this seems to be a special case in the (OSM) data. I can probably add a check to avoid the crash but I'd like to know what happens and I was not yet able to reproduce it. I assume it happens only for one input file? Please post a link to that file and maybe your style and options if needed. Gerd ________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Jakob Mühldorfer <mail at jmuehldorfer.de> Gesendet: Montag, 19. Dezember 2016 02:17:20 An: mkgmap-dev at lists.mkgmap.org.uk Betreff: [mkgmap-dev] Crash "Illegal Capacity" when converting map Hi, currently I am getting a ton of crashes like this: > java.lang.IllegalArgumentException: Illegal Capacity: -1 > at java.util.ArrayList.<init>(ArrayList.java:156) > at > uk.me.parabola.mkgmap.filters.ShapeMergeFilter.mergeLongestSequence(ShapeMergeFilter.java:363) > at > uk.me.parabola.mkgmap.filters.ShapeMergeFilter.tryMerge(ShapeMergeFilter.java:226) > at > uk.me.parabola.mkgmap.filters.ShapeMergeFilter.addWithConnectedHoles(ShapeMergeFilter.java:167) > at > uk.me.parabola.mkgmap.filters.ShapeMergeFilter.merge(ShapeMergeFilter.java:98) > at > uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:1124) > at > uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:791) > at > uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:701) > at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:232) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107) > at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:256) > at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:252) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > Exiting - if you want to carry on regardless, use the --keep-going option Any idea what might be wrong? It happened in 3706 to 3730 Sometimes the exact same conversion process (splitting+mkgmap) on the exact same OSM file works, but that is rarely the case If you need any more information, or an upload of the style and split tiles that cause the crash, let me know. Hope you can help Jakob _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20161219/5777b567/attachment-0001.html>
- Previous message: [mkgmap-dev] Crash "Illegal Capacity" when converting map
- Next message: [mkgmap-dev] Crash "Illegal Capacity" when converting map
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list