»»»

java.utilArrayList errorsJava Runtime

Top patterns

  1. Index provided to the ArrayList method is either greater or equal to size of the list or less than 0
    No solution
  2. ArrayList.elementData() has thrown an ArrayIndexOutOfBoundsException

    Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array. In this case, you're trying to access a negative indexed element from the ArrayList.

    Check the source of this solution for more info

  3. Trying to access element at index outside the bounds of the ArrayList

    Ensure that the index provided to get() method is greater or equal to 0 and less than the size of the ArrayList.

Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Index provided to the ArrayList method is either greater or equal to size of the list or less than 0

java.lang.IndexOutOfBoundsException
java.util.ArrayList.RangeCheck
1169Web pages
IndexOutOfBoundsExceptionArrayList.RangeCheck1169

ArrayList.elementData() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
java.util.ArrayList.elementData
396Web pages
1Solution
ArrayIndexOutOfBoundsExceptionArrayList.elementData396

Trying to access element at index outside the bounds of the ArrayList

java.lang.IndexOutOfBoundsException
java.util.ArrayList.get
263Web pages
1Solution
IndexOutOfBoundsExceptionArrayList.get263

ArrayList.addAll() has thrown a NullPointerException

java.lang.NullPointerException
java.util.ArrayList.addAll
145Web pages
NullPointerExceptionArrayList.addAll145

ArrayList.<init>() has thrown a NullPointerException

java.lang.NullPointerException
java.util.ArrayList.<init>
77Web pages
NullPointerExceptionArrayList.<init>77

ArrayList.<init>() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.util.ArrayList.<init>
70Web pages
OutOfMemoryErrorArrayList.<init>70

ArrayList.add() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
java.util.ArrayList.add
61Web pages
ArrayIndexOutOfBoundsExceptionArrayList.add61

ArrayList.add() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.util.ArrayList.add
59Web pages
IndexOutOfBoundsExceptionArrayList.add59

ArrayList.add() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
java.util.ArrayList.add
58Web pages
IndexOutOfBoundsExceptionArrayList.add58

ArrayList.add() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.util.ArrayList.add
51Web pages
OutOfMemoryErrorArrayList.add51

ArrayList.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.util.ArrayList.<init>
42Web pages
IllegalArgumentExceptionArrayList.<init>42

ArrayList.remove() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
java.util.ArrayList.remove
34Web pages
ArrayIndexOutOfBoundsExceptionArrayList.remove34

ArrayList.subListRangeCheck() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.util.ArrayList.subListRangeCheck
31Web pages
IllegalArgumentExceptionArrayList.subListRangeCheck31

ArrayList.subListRangeCheck() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.util.ArrayList.subListRangeCheck
30Web pages
IndexOutOfBoundsExceptionArrayList.subListRangeCheck30

ArrayList.writeObject() has thrown a ConcurrentModificationException

java.util.ConcurrentModificationException
java.util.ArrayList.writeObject
27Web pages
ConcurrentModificationExceptionArrayList.writeObject27

ArrayList.sort() has thrown a ConcurrentModificationException

java.util.ConcurrentModificationException
java.util.ArrayList.sort
23Web pages
ConcurrentModificationExceptionArrayList.sort23

ArrayList.iterator() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.util.ArrayList.iterator
20Web pages
OutOfMemoryErrorArrayList.iterator20

ArrayList.remove() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
1 frames hidden
java.util.ArrayList.remove
17Web pages
ArrayIndexOutOfBoundsExceptionArrayList.remove17

ArrayList.toArray() has thrown an ArrayStoreException

java.lang.ArrayStoreException
java.util.ArrayList.toArray
16Web pages
ArrayStoreExceptionArrayList.toArray16

ArrayList.remove() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.util.ArrayList.remove
14Web pages
IndexOutOfBoundsExceptionArrayList.remove14

ArrayList.<init>() has thrown a StackOverflowError

java.lang.StackOverflowError
java.util.ArrayList.<init>
12Web pages
StackOverflowErrorArrayList.<init>12

ArrayList.forEach() has thrown a ConcurrentModificationException

java.util.ConcurrentModificationException
java.util.ArrayList.forEach
12Web pages
ConcurrentModificationExceptionArrayList.forEach12

ArrayList.set() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
java.util.ArrayList.set
12Web pages
ArrayIndexOutOfBoundsExceptionArrayList.set12

ArrayList.get() has thrown a StackOverflowError

java.lang.StackOverflowError
java.util.ArrayList.get
12Web pages
StackOverflowErrorArrayList.get12

ArrayList.forEach() has thrown a ClassCastException

java.lang.ClassCastException
java.util.ArrayList.forEach
11Web pages
ClassCastExceptionArrayList.forEach11

ArrayList.clear() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
java.util.ArrayList.clear
8Web pages
ArrayIndexOutOfBoundsExceptionArrayList.clear8

ArrayList.ensureExplicitCapacity() has thrown a NullPointerException

java.lang.NullPointerException
java.util.ArrayList.ensureExplicitCapacity
7Web pages
NullPointerExceptionArrayList.ensureExplicitCapacity7

ArrayList.toArray() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.util.ArrayList.toArray
5Web pages
OutOfMemoryErrorArrayList.toArray5

ArrayList.RangeCheck() has thrown a FailedOperationException

com.oracle.ovm.mgr.api.exception.FailedOperationException
java.util.ArrayList.RangeCheck
4Web pages
FailedOperationExceptionArrayList.RangeCheck4

ArrayList.writeObject() has thrown a BAD_PARAM

org.omg.CORBA.BAD_PARAM
8 frames hidden
java.util.ArrayList.writeObject
4Web pages
BAD_PARAMArrayList.writeObject4

ArrayList.iterator() has thrown a StackOverflowError

java.lang.StackOverflowError
java.util.ArrayList.iterator
4Web pages
StackOverflowErrorArrayList.iterator4

ArrayList.ensureCapacity() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.util.ArrayList.ensureCapacity
3Web pages
OutOfMemoryErrorArrayList.ensureCapacity3

ArrayList.writeObject() has thrown a NotSerializableException

java.io.NotSerializableException
java.util.ArrayList.writeObject
3Web pages
NotSerializableExceptionArrayList.writeObject3

ArrayList.set() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.util.ArrayList.set
3Web pages
IndexOutOfBoundsExceptionArrayList.set3

ArrayList.toArray() has thrown a NullPointerException

java.lang.NullPointerException
java.util.ArrayList.toArray
3Web pages
NullPointerExceptionArrayList.toArray3

ArrayList.addAll() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.util.ArrayList.addAll
2Web pages
OutOfMemoryErrorArrayList.addAll2

ArrayList.forEach() has thrown an AbstractCommand

io.github.nucleuspowered.nucleus.internal.command.AbstractCommand
java.util.ArrayList.forEach
2Web pages
AbstractCommandArrayList.forEach2

ArrayList.remove() has thrown an Error

java.lang.Error
java.util.ArrayList.remove
2Web pages
ErrorArrayList.remove2

ArrayList.toArray() has thrown an ArrayIndexOutOfBoundsException

java.lang.ArrayIndexOutOfBoundsException
java.util.ArrayList.toArray
2Web pages
ArrayIndexOutOfBoundsExceptionArrayList.toArray2

ArrayList.addAll() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.util.ArrayList.addAll
2Web pages
IndexOutOfBoundsExceptionArrayList.addAll2

ArrayList.toArray() has thrown a StackOverflowError

java.lang.StackOverflowError
java.util.ArrayList.toArray
2Web pages
StackOverflowErrorArrayList.toArray2

ArrayList.add() has thrown a StackOverflowError

java.lang.StackOverflowError
java.util.ArrayList.add
2Web pages
StackOverflowErrorArrayList.add2

ArrayList.removeIf() has thrown a ConcurrentModificationException

java.util.ConcurrentModificationException
java.util.ArrayList.removeIf
2Web pages
ConcurrentModificationExceptionArrayList.removeIf2

ArrayList.get() has thrown a NullPointerException

java.lang.NullPointerException
3 frames hidden
java.util.ArrayList.get
1Web pages
NullPointerExceptionArrayList.get1

ArrayList.get() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.util.ArrayList.get
0Web pages
NullPointerExceptionArrayList.get0

ArrayList.rangeCheck() has thrown a SparkException

org.apache.spark.SparkException
java.util.ArrayList.rangeCheck
0Web pages
SparkExceptionArrayList.rangeCheck0

ArrayList.get() has thrown a VertxException

io.vertx.core.VertxException
java.util.ArrayList.get
0Web pages
VertxExceptionArrayList.get0

ArrayList.size() has thrown a VertxException

io.vertx.core.VertxException
java.util.ArrayList.size
0Web pages
VertxExceptionArrayList.size0

ArrayList.iterator() has thrown a VertxException

io.vertx.core.VertxException
java.util.ArrayList.iterator
0Web pages
VertxExceptionArrayList.iterator0
Nothing to list here.
Nothing to list here.