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.

java.lang.IndexOutOfBoundsException: Index: 6, Size: 0

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:21 (11 by maintainers)

github_iconTop GitHub Comments

17reactions
Dimeziscommented, Feb 26, 2021

1.6.6 is out and this should be resolved

12reactions
witalobeniciocommented, Jul 10, 2020

This is also happening in @react-native-community/blur if we try to render two BlurView in screen.

Read more comments on GitHub >

github_iconTop Results From Across the Web

java.lang.IndexOutOfBoundsException: Index: 6, Size
Your max possible index is therefore 5 in an array of size 6. ... final index, as it is zero indexed - that...
Read more >
[Solved] java.lang.IndexOutOfBoundsException
This exception is thrown by String methods to indicate that an index is either negative or greater than the size of the String....
Read more >
Build fails with java.lang.IndexOutOfBoundsException: Index 6 ...
Build fails with java.lang.IndexOutOfBoundsException: Index 6 out of bounds for length 6 when referencing class in xmlutil-android.
Read more >
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 ... The code that generates this error is: IInfoObjects infoObjects = infoStore.query(query);. IInfoObject ...
Read more >
Array Index Out Of Bounds Exception in Java - GeeksforGeeks
The index of an array is an integer value that has value in the interval [0, n-1], where n is the size of...
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