This exception occurs when you try to access an index that is outside the bounds of an array or a collection.
Let's roll it!
(1/3)
Error line is:
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
(2/3)
This suggests that we are trying to access an element at index 0 in a collection or array that has a length of 0, meaning it is empty. It could be related to the code snippet mentioned as X.001.AOM(:545).
I can confirm some Xiaomi and Samsung devices are affected, running Android 12 at this point.
You must enter whatsapp Web and delete that chat to make the bug go away for now or delete entire conversation.