https://kotlinlang.org logo
#compose
Title
# compose
m

Madhava

07/16/2020, 5:18 AM
Got a possible issue which I can replicate in my app causing a crash, where i filter the items for LazyColumnItems from a search box and then bind them to the items with a state {}. Sometimes if you try to scroll when its empty it crashes the app:
Copy code
JNI DETECTED ERROR IN APPLICATION: JNI CallVoidMethodV called with pending exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 
at java.lang.Object java.util.ArrayList.get(int) (ArrayList.java:437)

held mutexes= "mutator lock"(shared held)
I can share more detailed error logs if anyone wants.
t

Timo Drick

07/16/2020, 12:38 PM
a

Andrey Kulikov

07/16/2020, 3:51 PM
yes, please file it with the details you have, thanks!
m

Madhava

07/16/2020, 10:44 PM
Okay no problem. 🙂
4 Views