logo separator

[mkgmap-dev] NullPointerExceptio

From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Dec 8 13:34:04 GMT 2017

Hi Andreas,

the problem occurs while reading the ovm*.img files for the overview map. It seems that mkgmap reads a POI without a label, thus the NullPointerException.
The code contains no check for this, so I guess it normally never happens, so maybe it is an I/O problem. If you can reproduce the problem and there is no simple
explanation like a full disk please post the style and describe how you create the pbf files so that I can reproduce the problem.

ciao,
Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von andreas.schmidt.hetschbach at t-online.de <andreas.schmidt.hetschbach at t-online.de>
Gesendet: Freitag, 8. Dezember 2017 14:02:07
An: Development list for mkgmap
Betreff: [mkgmap-dev] NullPointerExceptio

Way 341306282 [highway=path, mkgmap:label:1=Path[?], mkgmap:unpaved=1, radweg=?] nach
Way 341306281 [highway=path, mkgmap:residential=yes, mkgmap:unpaved=1, radweg=?] vor
Way 341306281 [highway=path, mkgmap:label:1=Path[?], mkgmap:residential=yes, mkgmap:unpaved=1, radweg=?] nach
Number of MapFailedExceptions: 0
Exception in thread "main" java.lang.NullPointerException
        at uk.me.parabola.mkgmap.combiners.OverviewBuilder.readPoints(OverviewBuilder.java:284)
        at uk.me.parabola.mkgmap.combiners.OverviewBuilder.readFileIntoOverview(OverviewBuilder.java:250)
        at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onMapEnd(OverviewBuilder.java:84)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:588)
        at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
        at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:136)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:107)

I built many maps so far – never got this error. What do I have to obtain for further analysis?

java -Xmx1024m -jar ..\bin\mkgmap.jar --tdbfile --gmapi --max-jobs --generate-sea=extend-sea-sectors --add-pois-to-areas --route --latin1 --family-id=7012 --mapname=44000000 --product-id=1 --family-name=Andreas-Austria --index --order-by-decreasing-area --draw-priority=25 --style-file=".\style" .\typ\M07012.typ 6*.pbf

C:\Garmin\bin\mkgmap-r3997

Regards

Andreas

Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10



More information about the mkgmap-dev mailing list