
Since yesterday I get the error below trying to compile France and Spain maps (from Geofabrik): java.lang.AssertionError: relative pointer too large for 14 bits at uk.me.parabola.imgfmt.app.net.RouteArc.writeSecond(RouteArc.java:260) at uk.me.parabola.imgfmt.app.net.RouteNode.writeSecond(RouteNode.java:253) at uk.me.parabola.imgfmt.app.net.RouteCenter.write(RouteCenter.java:103) at uk.me.parabola.imgfmt.app.net.NODFile.writeNodes(NODFile.java:102) at uk.me.parabola.imgfmt.app.net.NODFile.write(NODFile.java:72) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:205) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:186) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:184) 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) I'm not sure max-nodes is related with the problem, but yesterday I could compile France map reducing to 1300000, but now I can't make the maps even with 400000. I had always used default max-nodes till now. I also tried with mkgmap downloaded from the web instead of my compiled one, thinking it could be a problem of my build, but didn't help. I have not changed any parameter in my script. As you can imagine, I have no java skills, so any hint is welcome. Regards Carlos

Hi Carlos,
Since yesterday I get the error below trying to compile France and Spain maps (from Geofabrik): java.lang.AssertionError: relative pointer too large for 14 bits
Hmm, I know where this is coming from but would like a little more info before I try a fix. Please use r1238 (just committed) and when it fails post the assertion message. Sorry for the inconvenience. Mark

Mark Burton escribió:
Hi Carlos,
Since yesterday I get the error below trying to compile France and Spain maps (from Geofabrik): java.lang.AssertionError: relative pointer too large for 14 bits
Hmm, I know where this is coming from but would like a little more info before I try a fix. Please use r1238 (just committed) and when it fails post the assertion message.
Here it is: java.lang.AssertionError: relative pointer too large for 14 bits (source offset = 1115876, dest offset = 1124268) at uk.me.parabola.imgfmt.app.net.RouteArc.writeSecond(RouteArc.java:260) at uk.me.parabola.imgfmt.app.net.RouteNode.writeSecond(RouteNode.java:253) at uk.me.parabola.imgfmt.app.net.RouteCenter.write(RouteCenter.java:103) at uk.me.parabola.imgfmt.app.net.NODFile.writeNodes(NODFile.java:102) at uk.me.parabola.imgfmt.app.net.NODFile.write(NODFile.java:72) at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:205) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96) at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:186) at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:184) 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)
Sorry for the inconvenience.
Mark
participants (2)
-
Carlos Dávila
-
Mark Burton