Handling this annoying "java.lang.IndexOutOfBoundsException: getChars (5 ... 0) has an end before running" error

I get about 50 of them coming from my users every day.

I understand this is a Motorola Droid bug - http://code.google.com/p/android/issues/detail?id=5164

Anyway, can I catch this error in my code?

+4
source share
1 answer

The exception seems to be triggered in the back of the TextView , so unless you use a subclass of TextView or the options you use and catch that exception in a protected method, you cannot do this.

0
source

Source: https://habr.com/ru/post/1301316/


All Articles