logo separator

[mkgmap-dev] MultiSortKey cannot be cast to SrtSortKey

From Rich richlv at nakts.net on Tue Jan 24 15:52:20 GMT 2012

On 11/30/11 00:09, Rich wrote:
> sorry if this is known or or already fixed, but i don't recall seeing
> something like that recently.
>
> mkgmap-r2105, trying to generate area in poland around wroclaw, fails.
> r1995 works ok on the same data.

for the record, r2174 seems to work ok with the same file again :)

> java.lang.ClassCastException: uk.me.parabola.imgfmt.app.srt.MultiSortKey
> cannot be cast to uk.me.parabola.imgfmt.app.srt.SrtSortKey
>           at
> uk.me.parabola.imgfmt.app.srt.SrtSortKey.compareTo(SrtSortKey.java:39)
>           at
> uk.me.parabola.imgfmt.app.srt.SrtSortKey.compareTo(SrtSortKey.java:22)
>           at
> uk.me.parabola.imgfmt.app.srt.CombinedSortKey.compareTo(CombinedSortKey.java:43)
>           at
> uk.me.parabola.imgfmt.app.srt.CombinedSortKey.compareTo(CombinedSortKey.java:22)
>           at java.util.Arrays.mergeSort(Arrays.java:1157)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.mergeSort(Arrays.java:1168)
>           at java.util.Arrays.sort(Arrays.java:1092)
>           at java.util.Collections.sort(Collections.java:134)
>           at
> uk.me.parabola.imgfmt.app.net.NETFile.sortRoads(NETFile.java:145)
>           at uk.me.parabola.imgfmt.app.net.NETFile.writePost(NETFile.java:86)
>           at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:206)
>           at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:97)
>           at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
>           at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)
>           at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:217)
>           at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>           at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>           at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>           at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>           at java.lang.Thread.run(Thread.java:679)
> Exiting - if you want to carry on regardless, use the --keep-going option
-- 
  Rich



More information about the mkgmap-dev mailing list