question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ArrayIndexOutOfBoundsException in CountryCodeDialog.java

See original GitHub issue

One 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:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
joielechongcommented, Apr 11, 2019

I’ve update the code with the changes. You can use the 2.3.2 version. Sorry, for the late update.

0reactions
devenpawar18commented, Apr 11, 2019

Thanks @joielechong

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found