logo separator

[mkgmap-dev] Bug-Report: java.lang.UnsupportedOperationException

From Bernhard Hiller bhil at gmx.de on Wed Feb 13 16:49:11 GMT 2013

After upating from version 2337 to 2484, I receive following error:

java.lang.UnsupportedOperationException
     at 
uk.me.parabola.mkgmap.osmstyle.eval.AbstractOp.value(AbstractOp.java:110)
     at uk.me.parabola.mkgmap.osmstyle.eval.EqualsOp.eval(EqualsOp.java:44)
     at uk.me.parabola.mkgmap.osmstyle.eval.OrOp.eval(OrOp.java:33)
     at uk.me.parabola.mkgmap.osmstyle.eval.AndOp.eval(AndOp.java:34)
     at 
uk.me.parabola.mkgmap.osmstyle.ActionRule.resolveType(ActionRule.java:59)
     at uk.me.parabola.mkgmap.osmstyle.RuleSet.resolveType(RuleSet.java:68)
     at 
uk.me.parabola.mkgmap.osmstyle.StyledConverter.convertWay(StyledConverter.java:216)
     at 
uk.me.parabola.mkgmap.reader.osm.ElementSaver.convert(ElementSaver.java:237)
     at 
uk.me.parabola.mkgmap.reader.osm.bin.OsmBinMapDataSource.load(OsmBinMapDataSource.java:75)
     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:201)
     at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:198)
     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)
Exiting - if you want to carry on regardless, use the --keep-going option

Then mkgmap stops.

Does it mean that current mkgmap does not like a statement in my style 
file? If so, how can I find out which one?

No, I did not change anything in that stylefile during the upgrade. 
mkgmap 2337 still exists on my machine, and I can switch back to that 
version with ease, and that works without the error.


More information about the mkgmap-dev mailing list