logo separator

[mkgmap-dev] Bug in Format6Encoder.encodeText()

From Felix Hartmann extremecarver at googlemail.com on Mon May 31 19:36:17 BST 2010


On 31.05.2010 20:20, Paul Ortyl wrote:
> Hi,
>
> I've got a bug to report for r1651 of mkgmap:
>
> java.lang.ArrayIndexOutOfBoundsException: 3
> 	at uk.me.parabola.imgfmt.app.labelenc.Format6Encoder.put6(Format6Encoder.java:137)
> 	at uk.me.parabola.imgfmt.app.labelenc.Format6Encoder.encodeText(Format6Encoder.java:91)
> 	at uk.me.parabola.imgfmt.app.Label.write(Label.java:115)
> 	at uk.me.parabola.imgfmt.app.lbl.LBLFile.newLabel(LBLFile.java:125)
> 	at uk.me.parabola.mkgmap.build.MapBuilder.processPOIs(MapBuilder.java:456)
> 	at uk.me.parabola.mkgmap.build.MapBuilder.makeMap(MapBuilder.java:191)
> 	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:96)
> 	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:61)
> 	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:189)
> 	at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:186)
> 	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(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:619)
>
> comes for the following POI
>
> <node id='299073581' lat='49.7950742' lon='9.9312049'>
> <tag k='addr:postcode' v='97070'/>
> <tag k='addr:housenumber' v='½'/>
> <tag k='shop' v='clothes'/>
> <tag k='addr:street' v='Schönbornstraße'/>
> <tag k='addr:city' v='Würzburg'/>
> <tag k='name' v='Marc O´Polo'/>
> </node>
>
> The problem is at the unicode character '1/2' for housenumber.
>
> Thanks,
>
> Paul
>
>
>    
Great you nailed it. I got bugged by exactly the same error too. Never 
found time to track it down though.




More information about the mkgmap-dev mailing list