logo separator

[mkgmap-dev] Problem using jar file in a different location

From Steve Ratcliffe steve at parabola.me.uk on Wed Oct 10 13:22:37 BST 2012

Hi

> There must be something else missing. Placing both jar files into /lib
> the error is thrown at an earlier step (14 sec vs 2 min 13 sec), and the
> error message is slightly different:
> Bad file format: ethiopia.osm.pbf

Oh, so are you compiling several pbf files and some work and one
fails? The setup that ran for 2min 13sec was probably OK, but
there is a faulty/bad pbf.

If that is true, then you need to look at the individual pbf files,
check that they are not zero size, too small or otherwise corrupted.

> Failed to read binary file ethiopia.osm.pbf
> Exception in thread "main" java.lang.NullPointerException
>           at uk.me.parabola.mkgmap.combiners.FileInfo.getFileInfo(FileInfo.java:147)
>           at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:429)

This happens happens after all pbf files have been compiled to .img
files and it means that one of the files did not compile and so the
.img is missing.

..Steve



More information about the mkgmap-dev mailing list