logo separator

[mkgmap-dev] ClassCastException in r2098

From Jonas Tull jonas at dalom.com on Thu Nov 17 21:41:13 GMT 2011

Hi!

The following error occurs when using r2098, not with r2072.
Input is sweden.osm.pbf from GeoFabrik (17-Nov-2011 11:35).

Splitter-command:
java -Xmx1800M -jar ../Splitter/splitter-r185/splitter.jar
--max-nodes=1000000 sweden.osm.pbf

Mkgmap-command:
java -Xmx700M -jar ../Mkgmap/mkgmap-r2098/mkgmap.jar --family-id=2000
--family-name="Routable Sweden" --latin1 --generate-sea=multipolygon --net
--route --country-name="Sweden" --mapname=13370037 --tdbfile
--road-name-pois --no-poi-address --add-pois-to-areas --remove-short-arcs
--description="OSM - Sweden" --gmapsupp -c template.args

Error:
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:1144)
    at java.util.Arrays.mergeSort(Arrays.java:1156)
    at java.util.Arrays.mergeSort(Arrays.java:1155)
    at java.util.Arrays.mergeSort(Arrays.java:1156)
    at java.util.Arrays.mergeSort(Arrays.java:1156)
    at java.util.Arrays.mergeSort(Arrays.java:1155)
    at java.util.Arrays.mergeSort(Arrays.java:1156)
    at java.util.Arrays.mergeSort(Arrays.java:1155)
    at java.util.Arrays.mergeSort(Arrays.java:1155)
    at java.util.Arrays.mergeSort(Arrays.java:1156)
    at java.util.Arrays.mergeSort(Arrays.java:1156)
    at java.util.Arrays.mergeSort(Arrays.java:1155)
    at java.util.Arrays.mergeSort(Arrays.java:1155)
    at java.util.Arrays.sort(Arrays.java:1079)
    at java.util.Collections.sort(Collections.java:117)
    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:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20111117/c387b414/attachment.html 


More information about the mkgmap-dev mailing list