Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-07 Thread UliBaer
Hi Gerd, now it works multithreaded on JDK 8. Thanks again! Uli -- View this message in context: http://gis.19327.n5.nabble.com/NPE-with-mkgmap-3320-tp5813472p5823529.html Sent from the Mkgmap Development mailing list archive at Nabble.com. ___

Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-07 Thread Steve Ratcliffe
On 06/11/14 09:42, Gerd Petermann wrote: @Steve: I am not sure what to do here. A method like City.getName() should probably used the getEncText() method if getText() returns null? But getEncText() returns a char[] while getText() returns a String, so that seems to be inefficient :-( No, not

Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-06 Thread Gerd Petermann
...@gmail.com To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] NPE with mkgmap 3320 Last night this error happened again at the same spot. The remedy is still the same: Run only one thread or declare the method synchronized. I still think, something is not right

Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-06 Thread Gerd Petermann
Oops, sorry, r3076 was the merge of the sort branch, not the unicode branch Gerd From: gpetermann_muenc...@hotmail.com To: mkgmap-dev@lists.mkgmap.org.uk Date: Thu, 6 Nov 2014 10:42:03 +0100 Subject: Re: [mkgmap-dev] NPE with mkgmap 3320 Hi Uli, I am able to reproduce a similar error when I

Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-06 Thread UliBaer
Hi Gerd, this is good news! I'll use my single threaded workaround for the time being. When a patch or a different approach is committed, i will run again multi threaded. I was sure that the error also happened with Java 7, but now i'm not so sure anymore. Maybe, i had already switched to Java

Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-06 Thread GerdP
Hi Uli, please try r3345. I think there is more to do, but the NPE should no longer occur. Gerd UliBaer wrote Hi Gerd, this is good news! I'll use my single threaded workaround for the time being. When a patch or a different approach is committed, i will run again multi threaded. I

Re: [mkgmap-dev] NPE with mkgmap 3320

2014-11-05 Thread UliBaer
Last night this error happened again at the same spot. The remedy is still the same: Run only one thread or declare the method synchronized. I still think, something is not right there... java.lang.NullPointerException at uk.me.parabola.imgfmt.app.net.RoadDef.compareTo(RoadDef.java:700)

[mkgmap-dev] NPE with mkgmap 3320

2014-08-02 Thread UliBaer
With the latest versions (tried, back until 3316) of mkgmap i'm getting a NPE with a new setup on an older 32Bit XP Machine: java.lang.NullPointerException at uk.me.parabola.imgfmt.app.net.RoadDef.compareTo(RoadDef.java:700) at