logo separator

[mkgmap-dev] New java.lang.NullPointerException

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Apr 24 18:38:57 BST 2018

Hi Felix,

no need to compile the tiles again, the error only occurs while creating the overview map.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Felix Hartmann <extremecarver at gmail.com>
Gesendet: Dienstag, 24. April 2018 19:37:26
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] New java.lang.NullPointerException

Okay - I'm compiling with the fix - let's see. It's europe map so it will take 4-5 hours till I know if it's working.

On 24 April 2018 at 19:19, Gerd Petermann <gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>> wrote:
Hi Felix,

yes, I think so. The error was in the reading of a bitstream length field. When this fails either an assertion error occurs or a wrong number
of bytes is read and following actions see wrong data.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com>>
Gesendet: Dienstag, 24. April 2018 19:16:18
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] New java.lang.NullPointerException

it did not happen on compiling some smaller countries I think - is this related to the Bug reported by Arndt?

On 24 April 2018 at 19:15, Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:extremecarver at gmail.com>>> wrote:
The one that was current this Morning - so not including the latest fix.

On 24 April 2018 at 19:08, Gerd Petermann <gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com><mailto:gpetermann_muenchen at hotmail.com<mailto:gpetermann_muenchen at hotmail.com>>> wrote:
Hi Felix,

what version did you use?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk><mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>>> im Auftrag von Felix Hartmann <extremecarver at gmail.com<mailto:extremecarver at gmail.com><mailto:extremecarver at gmail.com<mailto:extremecarver at gmail.com>>>
Gesendet: Dienstag, 24. April 2018 19:06:03
An: Development list for mkgmap
Betreff: [mkgmap-dev] New java.lang.NullPointerException

SEVERE (StyledConverter): E:\openmtbmap\maps\65501532.osm.pbf: Attention: Tile contains both drive-on-left (17907) and drive-on-right roads (6302)
xception in thread "main" java.lang.NullPointerException
       at uk.me.parabola.imgfmt.app.trergn.RGNFileReader.readLineCommonExtType(RGNFileReader.java:349)
       at uk.me.parabola.imgfmt.app.trergn.RGNFileReader.linesForSubdiv(RGNFileReader.java:212)
       at uk.me.parabola.imgfmt.app.map.MapReader.linesForLevel(MapReader.java:142)
       at uk.me.parabola.mkgmap.combiners.OverviewBuilder.readLines(OverviewBuilder.java:322)
       at uk.me.parabola.mkgmap.combiners.OverviewBuilder.readFileIntoOverview(OverviewBuilder.java:266)
       at uk.me.parabola.mkgmap.combiners.OverviewBuilder.onMapEnd(OverviewBuilder.java:93)
       at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:649)
       at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128)
       at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:143)
       at uk.me.parabola.mkgmap.main.Main.main(Main.java:114)


Happening now to me on Europe continent extract - I'm pretty sure this did not happen with older mkgmap versions.

Felix
--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk><mailto:mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk<mailto:mkgmap-dev at lists.mkgmap.org.uk>
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



--
Felix Hartman - Openmtbmap.org & VeloMap.org
Schusterbergweg 32/8
6020 Innsbruck
Austria - Österreich


More information about the mkgmap-dev mailing list