<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Gerd,</p>
<p><br>
</p>
<p>I am trying to reproduce it, but not getting very far</p>
<p>Different splitter parameters, that did nothing<br>
Deleting 2 tiles that need to be converted, still the same, delete
just one other tile, and the bug was gone.<br>
Unfortunately I am leaving this PC over christmas and can't try
much more, can I send you the folder with the script used to
convert the maps maybe?<br>
<br>
Jakob<br>
<br>
</p>
<br>
<div class="moz-cite-prefix">Am 19.12.2016 um 06:41 schrieb Gerd
Petermann:<br>
</div>
<blockquote
cite="mid:HE1PR0802MB24426AE7C973FA71452FBA679E910@HE1PR0802MB2442.eurprd08.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr"
style="font-size:12pt; color:#000000;
font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Jakob,</p>
<p><br>
</p>
<p>this seems to be a special case in the (OSM) data. I can
probably add a check to avoid the crash</p>
<p>but I'd like to know what happens and I was not yet able to
reproduce it.<br>
</p>
<p>I assume it happens only for one input file?<br>
</p>
<p>Please post a link to that file and maybe your style and
options if needed.</p>
<p><br>
</p>
<p>Gerd<br>
</p>
<p><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
color="#000000" face="Calibri, sans-serif"><b>Von:</b>
mkgmap-dev <a class="moz-txt-link-rfc2396E" href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk"><mkgmap-dev-bounces@lists.mkgmap.org.uk></a> im
Auftrag von Jakob Mühldorfer <a class="moz-txt-link-rfc2396E" href="mailto:mail@jmuehldorfer.de"><mail@jmuehldorfer.de></a><br>
<b>Gesendet:</b> Montag, 19. Dezember 2016 02:17:20<br>
<b>An:</b> <a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<b>Betreff:</b> [mkgmap-dev] Crash "Illegal Capacity" when
converting map</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi,<br>
<br>
currently I am getting a ton of crashes like this:<br>
<br>
> java.lang.IllegalArgumentException: Illegal Capacity:
-1<br>
> at
java.util.ArrayList.<init>(ArrayList.java:156)<br>
> at <br>
>
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.mergeLongestSequence(ShapeMergeFilter.java:363)<br>
> at <br>
>
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.tryMerge(ShapeMergeFilter.java:226)<br>
> at <br>
>
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.addWithConnectedHoles(ShapeMergeFilter.java:167)<br>
> at <br>
>
uk.me.parabola.mkgmap.filters.ShapeMergeFilter.merge(ShapeMergeFilter.java:98)<br>
> at <br>
>
uk.me.parabola.mkgmap.build.MapBuilder.processShapes(MapBuilder.java:1124)<br>
> at <br>
>
uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:791)<br>
> at <br>
>
uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:701)<br>
> at
uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:232)<br>
> at
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:107)<br>
> at
uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:69)<br>
> at
uk.me.parabola.mkgmap.main.Main$1.call(Main.java:256)<br>
> at
uk.me.parabola.mkgmap.main.Main$1.call(Main.java:252)<br>
> at
java.util.concurrent.FutureTask.run(FutureTask.java:266)<br>
> at <br>
>
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)<br>
> at <br>
>
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)<br>
> at java.lang.Thread.run(Thread.java:745)<br>
> Exiting - if you want to carry on regardless, use the
--keep-going option<br>
<br>
Any idea what might be wrong?<br>
<br>
It happened in 3706 to 3730<br>
Sometimes the exact same conversion process
(splitting+mkgmap) on the <br>
exact same OSM file works, but that is rarely the case<br>
If you need any more information, or an upload of the style
and split <br>
tiles that cause the crash, let me know.<br>
<br>
Hope you can help<br>
Jakob<br>
_______________________________________________<br>
mkgmap-dev mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a moz-do-not-send="true"
href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br>
</div>
</span></font>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mkgmap-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a>
<a class="moz-txt-link-freetext" href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></pre>
</blockquote>
<br>
</body>
</html>