-
-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
java.lang.IndexOutOfBoundsException: Index: 6, Size: 0 #110
Comments
Can you post the full layout hierarchy? |
@Dimezis
Layout looks like:
This code is working for version 1.6.1 but for 1.6.2 and 1.6.3 it is crashing. Setup is done like this:
and upon visibility toggle, app is crashing with IndexOutOfBoundsException. |
Couldn't reproduce it with the given setup. The full layout and android version would help |
Hi guys, I have the same issue, but It only appears to be occuring on a small number of my users. One user that had the problem : Android 7 & Galaxy A5(2016) Here is the full layout of my fragment which appears on top of an activity `
</androidx.constraintlayout.widget.ConstraintLayout> The setup :
} And here the backtrace of the error : java.util.ArrayList.get (ArrayList.java:411) I'd like to mention that I use Glide and Glide complier (4.10.0) and I make requests using ".disallowHardwareConfig()" which helped with this bug but there's still some happening Thanks for your help ! |
I'm having the same issue with some users. And I couldn't reproduce yet. |
This is also happening in |
You can report it to the ConstraintLayout issue tracker in this case |
@Dimezis this is not necessarily related to ConstraintLayout. I can reproduce this without ConstraintLayout as well. |
@Thecrazyskull If you can reproduce it, then please make a repo with a setup that I can run and test |
Updates ? |
@invyctus92 |
I use @react-native-community/blur which relies on BlurView to do the blur on Android. At Kureev/react-native-blur#396 you can find some react native examples that suffer from the problem. |
@invyctus92 |
@sapkotamadhusudan good job! |
Made a fix, gonna release it today-tomorrow |
@Dimezis great :) thanks for the support |
1.6.6 is out and this should be resolved |
Fixes Android crash: Dimezis/BlurView#110 (comment)
No thoughts. You can send me a repo with a setup to reproduce the problem and I will take a look. Native android project, no react. |
@Dimezis Could you describe to me what was the issue and how did you solve it ? |
1b371bf#diff-d12d186ad42254cba0b899bb19513497132d71172c16f8c491eef7be304acc9c The problem was that several BlurViews formed a drawing loop sometimes, each triggering a blur update of another BlurView. |
1.6.3
huawei p20 lite - OS Version: 9
when launching activity
The text was updated successfully, but these errors were encountered: