logo separator

[mkgmap-dev] java.nio.Buffer.position(Unknown Source)

From Steve Ratcliffe steve at parabola.me.uk on Sun Apr 29 23:33:34 BST 2012


> Exception in thread "main" java.lang.IllegalArgumentException
>           at java.nio.Buffer.position(Unknown Source)
>           at uk.me.parabola.imgfmt.Utils.bytesToString(Utils.java:80)

That is most likely from a zero length file (or corrupt in some similar

I've written and attached a patch that will print out an
error when this happens with the file name.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: corrupt-file.patch
Type: text/x-patch
Size: 3300 bytes
Desc: not available
Url : http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120429/49b42c50/attachment.bin 

More information about the mkgmap-dev mailing list