[mkgmap-dev] Mkgmap error appears
From ValentinAK valentin_k at inbox.ru on Tue Dec 20 23:44:13 GMT 2011
I have added to the points style file many default_name strings. And then now this error appeared: /java.lang.NullPointerException at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isIndexable(RuleFileReader.java:237) at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isSolved(RuleFileReader.java:245) at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isFinished(RuleFileReader.java:257) at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.rearrangeExpression(RuleFileReader.java:137 at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.saveRule(RuleFileReader.java:118) at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.optimiseAndSaveBinaryOp(RuleFileReader.java at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.saveRule(RuleFileReader.java:122) at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.java:94) at uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.java:70) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readRules(StyleImpl.java:304) at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:146) at uk.me.parabola.mkgmap.reader.osm.RelationStyleHook.init(RelationStyleHook.java:47) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.pluginChain(OsmMapDataSource.java:162) at uk.me.parabola.mkgmap.reader.osm.OsmMapDataSource.setupHandler(OsmMapDataSource.java:130) at uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:56 at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:144) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:206) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:203) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.get(Unknown Source) at uk.me.parabola.imgfmt.app.mdr.Mdr29.preWriteImpl(Mdr29.java:62) at uk.me.parabola.imgfmt.app.mdr.MdrSection.preWrite(MdrSection.java:138) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSection(MDRFile.java:379) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:353) at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:247) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:365) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:428) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126) at uk.me.parabola.mkgmap.main.Main.main(Main.java:112)/ I tested it on two different versions - gmap-mdr-r2144 and mkgmap2105. Both give the same error. Maybe I made a mistake with my style? My points style file located here: http://maptourist.org/files/myConfigs/points_err Thanks! ----- http://maptourist.org/ OSM Maps of All exUSSR Countries for Garmin -- View this message in context: http://gis.638310.n2.nabble.com/Mkgmap-error-appears-tp7113673p7113673.html Sent from the Mkgmap Development mailing list archive at Nabble.com.
- Previous message: [mkgmap-dev] [PATCH]mkgmap performance
- Next message: [mkgmap-dev] Mkgmap error appears
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list