logo separator

[mkgmap-dev] problem with style

From aighes osm at aighes.de on Fri Sep 28 13:41:52 BST 2012

Hi,
I've got a NPE while testing my style-file ( 
http://www.aighes.de/data/rrk_style.zip ).

Any guesses were the fault could be? Maybe a better errormessage could 
be generated by mkgmap in this case?

Henning

java -jar -Xmx6000M bin\mkgmap.jar --style-file=data\style_rrk --list-styles
Time started: Fri Sep 28 14:34:32 CEST 2012
The following styles are available:
Exception in thread "main" java.lang.NullPointerException
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isIndexable(RuleFileReader.java:239)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isSolved(RuleFileReader.java:247)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.isFinished(RuleFileReader.java:259)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.rearrangeExpression(RuleFileReader.java:139)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.rearrangeExpression(RuleFileReader.java:144)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.saveRule(RuleFileReader.java:120)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.java:96)
         at 
uk.me.parabola.mkgmap.osmstyle.RuleFileReader.load(RuleFileReader.java:72)
         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.main.Main.listStyles(Main.java:289)
         at uk.me.parabola.mkgmap.main.Main.processOption(Main.java:250)
         at 
uk.me.parabola.mkgmap.CommandArgsReader$CommandOption.processArg(CommandArgsReader.java:297)
         at 
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:123)
         at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120928/d28ae361/attachment.html 


More information about the mkgmap-dev mailing list