[mkgmap-dev] [PATCH] Fix crash when parsing invalid UTF-8 files
From Rutger Nijlunsing rutger.nijlunsing at gmail.com on Sun Oct 23 16:34:49 BST 2011
Extract of Benelux crashes when using "--road-name-pois" because of different exception occurs then expected. Catch this exception also. Index: src/uk/me/parabola/imgfmt/app/srt/Sort.java =================================================================== --- src/uk/me/parabola/imgfmt/app/srt/Sort.java (revision 2052) +++ src/uk/me/parabola/imgfmt/app/srt/Sort.java (working copy) @@ -128,6 +128,8 @@ return new SrtSortKey<T>(object, key, second); } catch (CharacterCodingException e) { return new SrtSortKey<T>(object, ZERO_KEY); + } catch (IllegalStateException e) { + return new SrtSortKey<T>(object, ZERO_KEY); } }
- Previous message: [mkgmap-dev] [PATCH v1] Add defer relation support to PBF reading
- Next message: [mkgmap-dev] [PATCH] Fix crash when parsing invalid UTF-8 files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list