BlurView: java.lang.IndexOutOfBoundsException: Index: 6, Size: 0
1.6.3
huawei p20 lite - OS Version: 9
when launching activity
<eightbitlab.com.blurview.BlurView
android:id="@+id/bottom_nav_bar_blurView"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:blurOverlayColor="@color/colorTransparentWhite9">
Process: com.dollargeneral.qa2.android, PID: 7780
java.lang.IndexOutOfBoundsException: Index: 6, Size: 0
at java.util.ArrayList.get(ArrayList.java:437)
at android.view.ViewGroup.getAndVerifyPreorderedView(ViewGroup.java:3635)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4168)
at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:2023)
at android.view.View.draw(View.java:20486)
at android.view.View.draw(View.java:20353)
at android.view.ViewGroup.drawChild(ViewGroup.java:4394)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4170)
at android.view.View.draw(View.java:20486)
at eightbitlab.com.blurview.BlockingBlurController.updateBlur(BlockingBlurController.java:150)
at eightbitlab.com.blurview.BlockingBlurController.draw(BlockingBlurController.java:230)
at eightbitlab.com.blurview.BlurView.draw(BlurView.java:51)
at android.view.View.draw(View.java:20353)
at android.view.ViewGroup.drawChild(ViewGroup.java:4394)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4170)
at android.view.View.draw(View.java:20351)
at android.view.ViewGroup.drawChild(ViewGroup.java:4394)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4170)
at androidx.constraintlayout.widget.ConstraintLayout.dispatchDraw(ConstraintLayout.java:2023)
at android.view.View.draw(View.java:20486)
at android.view.View.draw(View.java:20353)
at android.view.ViewGroup.drawChild(ViewGroup.java:4394)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4170)
at android.view.View.draw(View.java:20486)
at eightbitlab.com.blurview.BlockingBlurController.updateBlur(BlockingBlurController.java:150)
at eightbitlab.com.blurview.BlockingBlurController.draw(BlockingBlurController.java:230)
at eightbitlab.com.blurview.BlurView.draw(BlurView.java:51)
at android.view.View.updateDisplayListIfDirty(View.java:19294)
at android.view.View.draw(View.java:20211)
at android.view.ViewGroup.drawChild(ViewGroup.java:4394)
at android.view.ViewG
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 6
- Comments: 21 (11 by maintainers)
Commits related to this issue
- Update Dimezis/BlurView to 1.6.6 Fixes Android crash: https://github.com/Dimezis/BlurView/issues/110#issuecomment-786939860 — committed to Lemon-King/react-native-blur by Lemon-King 3 years ago
1.6.6 is out and this should be resolved
This is also happening in
@react-native-community/blurif we try to render two BlurView in screen.@Dimezis I’m having the same issue in my react native app with @react-native-community/blur. i’ve done some test with different implementation and able to reproduce the issue. You can find the sample here
@invyctus92 Until someone posts a reliable way of reproducing this issue, I can’t help