[mkgmap-dev] multi-word street search
From Andrzej Popowski popej at poczta.onet.pl on Tue Dec 16 23:09:35 GMT 2014
Hi Steve, I have experienced crash with recent version: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -126 at java.lang.String.substring(Unknown Source) at uk.me.parabola.imgfmt.app.mdr.Mdr7Record.getPartialName(Mdr7Record.java:114) at uk.me.parabola.imgfmt.app.mdr.Mdr7.preWriteImpl(Mdr7.java:162) at uk.me.parabola.imgfmt.app.mdr.MdrSection.preWrite(MdrSection.java:129) at uk.me.parabola.imgfmt.app.mdr.MDRFile.writeSections(MDRFile.java:308) at uk.me.parabola.imgfmt.app.mdr.MDRFile.write(MDRFile.java:247) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onFinish(MdrBuilder.java:338) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:575) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:128) at uk.me.parabola.mkgmap.main.Main.mainStart(Main.java:134) at uk.me.parabola.mkgmap.main.Main.main(Main.java:105) I guess this is offset greater than 127 coded on byte. I hope Garmin treat offset as unsigned byte, so you could support values up to 255. And maybe limit "end" value in addStreet function, unless size of label is already limited. -- Best regards, Andrzej
- Previous message: [mkgmap-dev] multi-word street search
- Next message: [mkgmap-dev] multi-word street search
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list