Getting below exception on ArrayList.clear()
Any reason why would clear throw such exception.  I know add or get might throw this for  negative index or larger thn list size.
Fatal Exception: java.lang.ArrayIndexOutOfBoundsException: length=49; index=49
       at java.util.ArrayList.clear(ArrayList.java:569)
 
    