logo separator

[mkgmap-dev] Bug in the splitter

From Gerd Petermann gpetermann_muenchen at hotmail.com on Tue Jan 24 15:23:08 GMT 2012

Hi Maetma,

I tried with splitter r200 and france.osm.pbf from today and your command, but on windows, not linux.

Gerd



Date: Tue, 24 Jan 2012 16:12:22 +0100
From: maetma91 at gmail.com
To: mkgmap-dev at lists.mkgmap.org.uk
Subject: Re: [mkgmap-dev] Bug in the splitter

I utilize only the the command i send before.

Did you use a big file ? Because Italy or a France region is OK but all France is no OK.

2012/1/24 Gerd Petermann <gpetermann_muenchen at hotmail.com>





Hi Maetma,

I am not able to reproduce the error :-(
Please, could you send the complete logs created by splitter for both cases? Does this error also appear when you specify e.g. -Xmx1000m ?

Ciao,
Gerd



Date: Tue, 24 Jan 2012 14:01:56 +0100
From: maetma91 at gmail.com
To: mkgmap-dev at lists.mkgmap.org.uk

Subject: Re: [mkgmap-dev] Bug in the splitter

java -ea -jar splitter.jar --max-areas=100 /fast-scratch/OSM/france.osm.pbf   -> OK

java -ea -jar splitter.jar --max-areas=50 /fast-scratch/OSM/france.osm.pbf   -> NO OK


Exception in thread "worker-1" java.lang.NullPointerException

    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Prim.addStringsToStringtable(BinaryMapWriter.java:69)
    at crosby.binary.BinarySerializer.processBatch(BinarySerializer.java:116)
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Processor.checkLimit(BinaryMapWriter.java:364)


    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Processor.process(BinaryMapWriter.java:376)
    at uk.me.parabola.splitter.BinaryMapWriter.write(BinaryMapWriter.java:517)
    at uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.processElement(SplitProcessor.java:353)


    at uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.java:388)
    at java.lang.Thread.run(Thread.java:679)
Exception in thread "worker-0" java.lang.NullPointerException
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Prim.addStringsToStringtable(BinaryMapWriter.java:69)


    at crosby.binary.BinarySerializer.processBatch(BinarySerializer.java:116)
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Processor.checkLimit(BinaryMapWriter.java:364)
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Processor.process(BinaryMapWriter.java:376)


    at uk.me.parabola.splitter.BinaryMapWriter.write(BinaryMapWriter.java:517)
    at uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.processElement(SplitProcessor.java:353)
    at uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.java:388)


    at java.lang.Thread.run(Thread.java:679)
Exception in thread "worker-2" java.lang.NullPointerException
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Prim.addStringsToStringtable(BinaryMapWriter.java:69)


    at crosby.binary.BinarySerializer.processBatch(BinarySerializer.java:116)
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Processor.checkLimit(BinaryMapWriter.java:364)
    at uk.me.parabola.splitter.BinaryMapWriter$PBFSerializer$Processor.process(BinaryMapWriter.java:376)


    at uk.me.parabola.splitter.BinaryMapWriter.write(BinaryMapWriter.java:517)
    at uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.processElement(SplitProcessor.java:353)
    at uk.me.parabola.splitter.SplitProcessor$OSMWriterWorker.run(SplitProcessor.java:388)


    at java.lang.Thread.run(Thread.java:679)


2012/1/24 Carlos Dávila <cdavilam at orangecorreo.es>





  


El 24/01/12 11:54, Maetma 91 escribió:
Good morning,

  

I think have found a bug in the splitter. I am trying making a map of
France using the farnce.osm.pbf file from geofabrik.de. With the values by
default the splitter crashed in the third pass. I tried to reduce
MAX_AREAS and it always crashed in the third pass. Then I make
MAX_AREAS bigger and it works but this is because now I have two pass.
In summary when there are 3 pass or more the splitter crashes in the
third pass.
Could you send your working and not working commands?



_______________________________________________

mkgmap-dev mailing list

mkgmap-dev at lists.mkgmap.org.uk

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev 		 	   		  

_______________________________________________

mkgmap-dev mailing list

mkgmap-dev at lists.mkgmap.org.uk

http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev at lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120124/e9f6d8ef/attachment.html 


More information about the mkgmap-dev mailing list