ArrayIndexOutOfBoundsException in CountryCodeDialog.java
See original GitHub issueOne of our user had following crash:
Fatal Exception: java.lang.ArrayIndexOutOfBoundsExceptionlength=303; index=-1 Raw Text
--
| java.util.ArrayList.get (ArrayList.java:310)
| com.rilixtech.CountryCodeDialog$ItemRecyclerViewClickListener.onClick (CountryCodeDialog.java:204)
| android.view.View.performClick (View.java:4780)
| com.android.internal.os.ZygoteInit.main (ZygoteInit.java:698)
On checking Crashlytics, I found the device GI I9500 TMMARS
running Android 5.1
.
On some investigation I found some insight about such devices here
Could you check if this is a genuine issue & fix it or its something because TMMARS
is blocking something by detecting some threat.
Thanks
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
What causes a java.lang.ArrayIndexOutOfBoundsException ...
The array goes out of bounds when the index you try to manipulate is more than the length of the array. For correctness,...
Read more >ArrayIndexOutOfBoundsException (Java Platform SE 7 )
Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal...
Read more >ArrayIndexOutOfBoundsException at android.widget.TextView ...
We started to see this crash from Android 12. Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=10; index=-1 at java.util.
Read more >ArrayIndexOutOfBoundsException - Android Developers
Constructs an ArrayIndexOutOfBoundsException class with the specified detail message. ArrayIndexOutOfBoundsException(int index).
Read more >Index 1 out of bounds for length 1 - Java Bug Database
... serviceability/sa/ClhsdbFindPC.java ArrayIndexOutOfBoundsException: Index 1 ... StackTrace.run(StackTrace.java:83) at jdk.hotspot.agent/sun.jvm.hotspot.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve update the code with the changes. You can use the 2.3.2 version. Sorry, for the late update.
Thanks @joielechong