logo separator

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

From Carlos Dávila cdavilam at orangecorreo.es on Wed Oct 10 10:07:42 BST 2012

If I move my compiled mkgmap.jar file to a location different than dist 
folder and run it, I get the error below:
Error at line 56, col 58
Bad file format: tanzania.osm.pbf
Error parsing file
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)
         at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)
I have copied osmprotobuf.jar and protobuf.jar to the same location than 
mkgmap.jar, but it didn't help.
Any suggestion how to fix it?



More information about the mkgmap-dev mailing list