[mkgmap-dev] meaning of compile errorrs
From maning sambale emmanuel.sambale at gmail.com on Wed Aug 25 10:33:39 BST 2010
Dear Andrew, Thanks for this! Adding version number in style/version file works. On Wed, Aug 25, 2010 at 5:07 PM, Andrew McCarthy <me at andrewmccarthy.ie> wrote: > Hi, > > On Wed, Aug 25, 2010 at 02:47:33PM +0800, maning sambale wrote: >> I am compiling a custom map from OSM format, what do these error messages mean: >> ava.lang.NumberFormatException: null >> at java.lang.Integer.parseInt(Integer.java:443) >> at java.lang.Integer.parseInt(Integer.java:514) >> at uk.me.parabola.mkgmap.scan.TokenScanner.nextInt(TokenScanner.java:255) >> at uk.me.parabola.mkgmap.osmstyle.StyleImpl.checkVersion(StyleImpl.java:564) >> at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:133) >> at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.createConverter(Osm5MapDataSource.java:123) >> at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:81) >> at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:148) >> at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) >> at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:189) >> at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:186) >> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) >> at java.util.concurrent.FutureTask.run(FutureTask.java:166) >> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) >> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) >> at java.lang.Thread.run(Thread.java:636) > > I've looked through the source code. It appears that this occurs while > reading the files for a style. In particular, it's opening the file > called "version" which should simply contain an integer (all of mine > have 0 in them). > > Can you check if the version file exists and what it contains? > > Andrew > _______________________________________________ > mkgmap-dev mailing list > mkgmap-dev at lists.mkgmap.org.uk > http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev > -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------
- Previous message: [mkgmap-dev] meaning of compile errorrs
- Next message: [mkgmap-dev] [PATCH v1] Recognize more tags as polygon tags in mp algorithm
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list