[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
Hi > 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 way). I've written and attached a patch that will print out an error when this happens with the file name. ..Steve -------------- 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
- Previous message: [mkgmap-dev] java.nio.Buffer.position(Unknown Source)
- Next message: [mkgmap-dev] Dubious interpretation of "Arena/Track"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list