Exception building map

I get the error below compiling France map at the end of the process: Exception in thread "main" java.lang.IllegalArgumentException at java.nio.ByteBuffer.allocate(ByteBuffer.java:311) at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:176) at uk.me.parabola.imgfmt.sys.ImgFS.sync(ImgFS.java:230) at uk.me.parabola.imgfmt.sys.ImgFS.close(ImgFS.java:240) at uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onFinish(GmapsuppBuilder.java:124) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:419) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126) at uk.me.parabola.mkgmap.main.Main.main(Main.java:129) All tiles have been created and also the osmmap.img, tdb and _mdr.img, but osmmap.mdx and gmapsupp.img are missing mkgmap version 1894

Carlos, please always post your mkgmap parameters and your splitter settings when reporting a problem. Otherwise we cannot do a lot. Thanks! WanMil
I get the error below compiling France map at the end of the process: Exception in thread "main" java.lang.IllegalArgumentException at java.nio.ByteBuffer.allocate(ByteBuffer.java:311) at uk.me.parabola.imgfmt.sys.Directory.sync(Directory.java:176) at uk.me.parabola.imgfmt.sys.ImgFS.sync(ImgFS.java:230) at uk.me.parabola.imgfmt.sys.ImgFS.close(ImgFS.java:240) at uk.me.parabola.mkgmap.combiners.GmapsuppBuilder.onFinish(GmapsuppBuilder.java:124) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:419) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126) at uk.me.parabola.mkgmap.main.Main.main(Main.java:129) All tiles have been created and also the osmmap.img, tdb and _mdr.img, but osmmap.mdx and gmapsupp.img are missing mkgmap version 1894

El 13/03/11 15:18, WanMil escribió:
Carlos,
please always post your mkgmap parameters and your splitter settings when reporting a problem. Otherwise we cannot do a lot. You are absolutely right, sorry for the lack of information. It seems it was a problem with the Geofabrik extract. Today it worked fine with the same jar file.

On Sun, Mar 13, 2011 at 08:20:32PM +0100, Carlos Dávila wrote:
It seems it was a problem with the Geofabrik extract. Today it worked fine with the same jar file.
Good software should throw a meaningful error when fed garbage, instead of crashing. Next time, please try to preserve the input for further diagnosis. Marko
participants (3)
-
Carlos Dávila
-
Marko Mäkelä
-
WanMil