logo separator

[mkgmap-dev] How to solve/debug weird problem

From WanMil wmgcnfg at web.de on Sat Jan 22 15:23:11 GMT 2011

Am 22.01.2011 15:52, schrieb Johannes Formann:
> WanMil<wmgcnfg at web.de>  wrote:
>
>> 3. The ASCII errors should not happen. I have run a build and did not
>> see any of those errors. But I don't know what to do...
>
> The ASCII-Errors are "solved", using LC_ALL, but no change regarding the
> error:
>
> Ausgecheckt, Revision 1793.
> osm at kalium:~/build/mkgmap$ cd trunk/src/
> osm at kalium:~/build/mkgmap/trunk/src$ patch -p1
> </home/osm/radkarte/debug.patch patching file
> uk/me/parabola/imgfmt/app/trergn/Polyline.javaosm at kalium:~/build/mkgmap/
> trunk/src$ cd ..
> osm at kalium:~/build/mkgmap/trunk$ ant distBuildfile: build.xml
>
> prepare:
>      [mkdir] Created dir: /home/osm/build/mkgmap/trunk/build/classes
>
> compile:
>      [javac] Compiling 352 source files to
> /home/osm/build/mkgmap/trunk/build/classes
>      [javac] Note: Some input files use unchecked or unsafe operations.
>      [javac] Note: Recompile with -Xlint:unchecked for details.
>
> compile-pbf:
>       [echo] Protobuf binary format support
>      [javac] Compiling 3 source files to
> /home/osm/build/mkgmap/trunk/build/classes
>
> build:
>       [copy] Copying 391 files to
> /home/osm/build/mkgmap/trunk/build/classes
>
> dist:
>      [mkdir] Created dir: /home/osm/build/mkgmap/trunk/dist
>      [mkdir] Created dir: /home/osm/build/mkgmap/trunk/dist/doc/api
>        [jar] Building jar: /home/osm/build/mkgmap/trunk/dist/mkgmap.jar
>       [copy] Copying 18 files to /home/osm/build/mkgmap/trunk/dist/doc
>       [copy] Copying 4 files to /home/osm/build/mkgmap/trunk/dist
>      [mkdir] Created dir: /home/osm/build/mkgmap/trunk/dist/examples
>       [copy] Copying 11 files to
> /home/osm/build/mkgmap/trunk/dist/examples
>
> BUILD SUCCESSFUL
> Total time: 5 seconds
> osm at kalium:~/build/mkgmap/trunk$ cp dist/mkgmap.jar
> ../../osm at kalium:~/build/mkgmap/trunk$ cd ../../osm at kalium:~/build$ java
> -Xms256m -Xmx2560m -ea -Dlog.config=logging.properties -jar mkgmap.jar
> --max-jobs=1 --latin1 --code-page=1252 --remove-short-arcs=3.3
> /home/osm/build/59420066.osm.gz
> java.lang.AssertionError: deltaLong = 36103
>          at
> uk.me.parabola.imgfmt.app.trergn.MapObject.setDeltaLong(MapObject.java:1
> 39)
>          at
> uk.me.parabola.imgfmt.app.trergn.MapObject.setLongitude(MapObject.java:1
> 28)
>          at
> uk.me.parabola.imgfmt.app.trergn.LinePreparer.calcLatLong(LinePreparer.j
> ava:176)
>          at
> uk.me.parabola.imgfmt.app.trergn.LinePreparer.<init>(LinePreparer.java:6
> 2)
>          at
> uk.me.parabola.imgfmt.app.trergn.Polyline.write(Polyline.java:83)
>          at
> uk.me.parabola.imgfmt.app.trergn.RGNFile.addMapObject(RGNFile.java:140)
>          at uk.me.parabola.imgfmt.app.map.Map.addMapObject(Map.java:241)
>          at
> uk.me.parabola.mkgmap.build.MapBuilder$LineAddFilter.doFilter(MapBuilder
> .java:1044)
>          at
> uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.j
> ava:57)
>          at
> uk.me.parabola.mkgmap.filters.RemoveEmpty.doFilter(RemoveEmpty.java:61)
>          at
> uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.j
> ava:57)
>          at
> uk.me.parabola.mkgmap.filters.LineSplitterFilter.doFilter(LineSplitterFi
> lter.java:60)
>          at
> uk.me.parabola.mkgmap.build.LayerFilterChain.doFilter(LayerFilterChain.j
> ava:57)
>          at
> uk.me.parabola.mkgmap.build.LayerFilterChain.startFilter(LayerFilterChai
> n.java:75)
>          at
> uk.me.parabola.mkgmap.build.MapBuilder.processLines(MapBuilder.java:902)
>          at
> uk.me.parabola.mkgmap.build.MapBuilder.makeSubdivision(MapBuilder.java:6
> 49)
>          at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMapAreas(MapBuilder.java:584)
>          at
> uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:195)
>          at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:97)
>          at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
>          at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:220)
>          at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:217)
>          at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>          at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
> r.java:886)
>          at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:908)
>          at java.lang.Thread.run(Thread.java:662)
> Exiting - if you want to carry on regardless, use the --keep-going
> option
>
>
> greetings
>
> Johannes

Now I can reproduce your problem!
Using your tile and your parameters I get the same exception. I'll have 
to do some debugging session to see where the origin of the problem is.

WanMil



More information about the mkgmap-dev mailing list