We want to create amazing apps without being stopped by crashes. Join us to help others who have the same bug.

I want to fix my crash

I want to help others

java.lang.IndexOutOfBoundsException: Invalid index x, size is y error. Can this have to do with fact that on every onResume, before I read the database, I clear the list (I don't lose the reference) and add the items back to it? The full exception log: java.lang.IndexOutOfBoundsException: Invalid index 8, size is 1

java.lang.IndexOutOfBoundsException: Invalid index x, size is y error. Can this have to do with fact that on every onResume, before I read the database, I clear the list (I don't lose the reference) and add the items back to it? The full exception log: java.lang.IndexOutOfBoundsException: Invalid index 8, size is 1

Root Cause Analysis

java.lang.IndexOutOfBoundsException

Invalid index x, size is y error. Can this have to do with fact that on every onResume, before I read the database, I clear the list (I don't lose the reference) and add the items back to it? The full exception log: java.lang.IndexOutOfBoundsException: Invalid index 8, size is 1