logo separator

[mkgmap-dev] IllegalArgumentException: Illegal Capacity: -545480700

From toc-rox easyclasspage at googlemail.com on Fri Jun 15 10:21:22 BST 2012

Hi all,

I get this exception when building a map of france:

java -Xmx7000M -jar E:/Freizeitkarte-Entwicklung/tools/mkgmap/mkgmap.jar
--max-jobs=2 -c Freizeitkarte_Frankreich.cfg
java.lang.IllegalArgumentException: Illegal Capacity: -545480700
        at java.util.ArrayList.<init>(Unknown Source)
        at
uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadBoundaryFile(BoundaryUtil.java:154)
        at
uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.loadBoundaries(BoundaryUtil.java:225)
        at
uk.me.parabola.mkgmap.reader.osm.LocationHook.loadBoundaries(LocationHook.java:180)
        at
uk.me.parabola.mkgmap.reader.osm.LocationHook.assignPreprocBounds(LocationHook.java:242)
        at
uk.me.parabola.mkgmap.reader.osm.LocationHook.end(LocationHook.java:444)
        at
uk.me.parabola.mkgmap.reader.osm.OsmReadingHooksChain.end(OsmReadingHooksChain.java:79)
        at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:73)
        at
uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144)
        at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:206)
        at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:203)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)
        at java.lang.Thread.run(Unknown Source)
Exiting - if you want to carry on regardless, use the --keep-going option

java -Xmx7000M -jar E:/Freizeitkarte-Entwicklung/tools/mkgmap/mkgmap.jar
--version
2267

The problem occurs with the current bounds (2012-04-05) from navmaps.eu
(wanmil).
With older bounds (2012-02-22, also from navmaps.eu) I can build the map
successfully.

Any ideas ?

Regards Klaus

--
View this message in context: http://gis.19327.n5.nabble.com/IllegalArgumentException-Illegal-Capacity-545480700-tp5712904.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.



More information about the mkgmap-dev mailing list