is this a known crash

When --index is used I have 5 of 433 tiles crash with an exception. Can provide the data somewher fro download if someone is interested in debug. Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 13721, Size: 258 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at uk.me.parabola.imgfmt.app.lbl.LBLFileReader.readPoiInfo(LBLFileReader.java:354) at uk.me.parabola.imgfmt.app.lbl.LBLFileReader.<init>(LBLFileReader.java:71) at uk.me.parabola.imgfmt.app.map.MapReader.<init>(MapReader.java:80) at uk.me.parabola.mkgmap.combiners.MdrBuilder.onMapEnd(MdrBuilder.java:108) at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:358) at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:124) at uk.me.parabola.mkgmap.main.Main.main(Main.java:121) -- apo

On 17/10/09 15:51, Apollinaris Schoell wrote:
When --index is used I have 5 of 433 tiles crash with an exception. Can provide the data somewher fro download if someone is interested in debug.
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 13721, Size: 258
If you could put the file somewhere, (just the files that fail will do), that would be great. Its not a known problem, although I have seen problems with cgpsmapper produced files which I believe are faults in the file. Thanks ..Steve

Hi Apollinaris On 17/10/09 15:51, Apollinaris Schoell wrote:
When --index is used I have 5 of 433 tiles crash with an exception. Can provide the data somewher fro download if someone is interested in debug.
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 13721, Size: 258
Thanks for supplying me with the failing maps and command line. I found that the problem was with the --road-name-pois option and probably the fact that the particular file(s) you were compiling had just under 255 cities in them. As that option was really only intended as a quick way of searching for roads in the absence of the global index, then perhaps it would be better to avoid the option when using the global index anyway. The bug with road-name-pois is that it causes the poi_properties section to be written as if there were less than 255 cities, whereas there are in fact more in the final file. I don't know exactly why that is happening, as there do appear to be less than 255 cities recorded at the time the records are written, so perhaps they get added later or separately. It is also possible that the bug is not directly related to road-name-pois and the option merely triggers another bug. ..Steve
participants (2)
-
Apollinaris Schoell
-
Steve Ratcliffe