Java Runtime errors

Core environment and runtime library

https://java.com
Solution coverage:
Summary coverage:

DescriptionException TypeEntry MethodWeb pages

Buffer.checkIndex() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.Buffer.checkIndex
260Web pages
IndexOutOfBoundsExceptionBuffer.checkIndex260

Bits.reserveMemory() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.Bits.reserveMemory
207Web pages
OutOfMemoryErrorBits.reserveMemory207

Buffer.position() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.Buffer.position
178Web pages
IllegalArgumentExceptionBuffer.position178

Buffer.nextGetIndex() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.Buffer.nextGetIndex
168Web pages
BufferUnderflowExceptionBuffer.nextGetIndex168

HeapByteBuffer.<init>() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.HeapByteBuffer.<init>
138Web pages
OutOfMemoryErrorHeapByteBuffer.<init>138

HeapByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.HeapByteBuffer.put
110Web pages
BufferOverflowExceptionHeapByteBuffer.put110

Buffer.nextPutIndex() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.Buffer.nextPutIndex
100Web pages
BufferOverflowExceptionBuffer.nextPutIndex100

Buffer.limit() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.Buffer.limit
97Web pages
IllegalArgumentExceptionBuffer.limit97

HeapByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.HeapByteBuffer.get
81Web pages
BufferUnderflowExceptionHeapByteBuffer.get81

DirectByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.DirectByteBuffer.put
60Web pages
BufferOverflowExceptionDirectByteBuffer.put60

Buffer.checkBounds() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.Buffer.checkBounds
35Web pages
IndexOutOfBoundsExceptionBuffer.checkBounds35

ByteBuffer.allocate() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.ByteBuffer.allocate
34Web pages
IllegalArgumentExceptionByteBuffer.allocate34

ByteBuffer.wrap() has thrown a NullPointerException

java.lang.NullPointerException
java.nio.ByteBuffer.wrap
28Web pages
NullPointerExceptionByteBuffer.wrap28

ByteBuffer.allocate() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.ByteBuffer.allocate
26Web pages
OutOfMemoryErrorByteBuffer.allocate26

CharBuffer.allocate() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.nio.CharBuffer.allocate
25Web pages
OutOfMemoryErrorCharBuffer.allocate25

Buffer.checkPutBounds() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.Buffer.checkPutBounds
23Web pages
BufferOverflowExceptionBuffer.checkPutBounds23

CharBuffer.wrap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.CharBuffer.wrap
21Web pages
OutOfMemoryErrorCharBuffer.wrap21

ByteBuffer.wrap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.ByteBuffer.wrap
21Web pages
OutOfMemoryErrorByteBuffer.wrap21

ByteBuffer.wrap() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.ByteBuffer.wrap
18Web pages
IndexOutOfBoundsExceptionByteBuffer.wrap18

HeapCharBuffer.subSequence() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
java.nio.HeapCharBuffer.subSequence
17Web pages
IndexOutOfBoundsExceptionHeapCharBuffer.subSequence17

ByteBuffer.array() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
java.nio.ByteBuffer.array
16Web pages
UnsupportedOperationExceptionByteBuffer.array16

Buffer.checkGetBounds() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.Buffer.checkGetBounds
15Web pages
BufferUnderflowExceptionBuffer.checkGetBounds15

ByteBuffer.wrap() has thrown a HistoryEventHandler

org.apache.tez.dag.history.HistoryEventHandler
java.nio.ByteBuffer.wrap
12Web pages
HistoryEventHandlerByteBuffer.wrap12

DirectByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.DirectByteBuffer.get
12Web pages
BufferUnderflowExceptionDirectByteBuffer.get12

Buffer.reset() has thrown an InvalidMarkException

java.nio.InvalidMarkException
java.nio.Buffer.reset
11Web pages
InvalidMarkExceptionBuffer.reset11

DirectByteBuffer.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.DirectByteBuffer.get
11Web pages
IndexOutOfBoundsExceptionDirectByteBuffer.get11

DirectIntBufferU.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.DirectIntBufferU.get
11Web pages
IndexOutOfBoundsExceptionDirectIntBufferU.get11

HeapByteBuffer.duplicate() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.HeapByteBuffer.duplicate
9Web pages
OutOfMemoryErrorHeapByteBuffer.duplicate9

DirectFloatBufferU.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.DirectFloatBufferU.put
8Web pages
BufferOverflowExceptionDirectFloatBufferU.put8

StringCharBuffer.subSequence() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.StringCharBuffer.subSequence
7Web pages
IndexOutOfBoundsExceptionStringCharBuffer.subSequence7

DirectIntBufferU.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.DirectIntBufferU.put
7Web pages
BufferOverflowExceptionDirectIntBufferU.put7

HeapByteBuffer.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.HeapByteBuffer.get
6Web pages
IndexOutOfBoundsExceptionHeapByteBuffer.get6

ByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.ByteBuffer.put
6Web pages
BufferOverflowExceptionByteBuffer.put6

DirectByteBuffer.<init>() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
4 frames hidden
java.nio.DirectByteBuffer.<init>
6Web pages
IllegalArgumentExceptionDirectByteBuffer.<init>6

Buffer.<init>() has thrown a StackOverflowError

java.lang.StackOverflowError
java.nio.Buffer.<init>
6Web pages
StackOverflowErrorBuffer.<init>6

ByteBuffer.array() has thrown a ReadOnlyBufferException

java.nio.ReadOnlyBufferException
java.nio.ByteBuffer.array
6Web pages
ReadOnlyBufferExceptionByteBuffer.array6

CharBuffer.wrap() has thrown an ImportTool

tool.ImportTool
java.nio.CharBuffer.wrap
6Web pages
ImportToolCharBuffer.wrap6

CharBuffer.put() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.CharBuffer.put
5Web pages
OutOfMemoryErrorCharBuffer.put5

CharBuffer.allocate() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.CharBuffer.allocate
5Web pages
OutOfMemoryErrorCharBuffer.allocate5

Buffer.position() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
1 frames hidden
java.nio.Buffer.position
5Web pages
IllegalArgumentExceptionBuffer.position5

ByteBuffer.allocateDirect() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
5 frames hidden
java.nio.ByteBuffer.allocateDirect
5Web pages
OutOfMemoryErrorByteBuffer.allocateDirect5

DirectByteBuffer.protectedArray() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
java.nio.DirectByteBuffer.protectedArray
4Web pages
UnsupportedOperationExceptionDirectByteBuffer.protectedArray4

DirectByteBuffer.checkIsAccessible() has thrown an IllegalStateException

java.lang.IllegalStateException
java.nio.DirectByteBuffer.checkIsAccessible
4Web pages
IllegalStateExceptionDirectByteBuffer.checkIsAccessible4

DirectByteBuffer.put() has thrown a ReadOnlyBufferException

java.nio.ReadOnlyBufferException
java.nio.DirectByteBuffer.put
4Web pages
ReadOnlyBufferExceptionDirectByteBuffer.put4

CharBuffer.wrap() has thrown a NullPointerException

java.lang.NullPointerException
java.nio.CharBuffer.wrap
4Web pages
NullPointerExceptionCharBuffer.wrap4

DirectByteBuffer.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
java.nio.DirectByteBuffer.get
4Web pages
IndexOutOfBoundsExceptionDirectByteBuffer.get4

CharBuffer.allocate() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.CharBuffer.allocate
3Web pages
IllegalArgumentExceptionCharBuffer.allocate3

DirectByteBuffer.put() has thrown a NullPointerException

java.lang.NullPointerException
java.nio.DirectByteBuffer.put
3Web pages
NullPointerExceptionDirectByteBuffer.put3

CharBuffer.wrap() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.CharBuffer.wrap
3Web pages
IndexOutOfBoundsExceptionCharBuffer.wrap3

DirectByteBuffer.get() has thrown an IllegalStateException

java.lang.IllegalStateException
2 frames hidden
java.nio.DirectByteBuffer.get
3Web pages
IllegalStateExceptionDirectByteBuffer.get3
Package namePatterns foundSolution coverageSummary coverage
java.lang40155
java.io3870
java.awt3607
java.util.concurrent3491
java.lang.reflect3454
sun.reflect2108
java.util2071
java.net2067
javax.swing1378
java.security854
javax.naming842
java.sql689
sun.net.www.protocol.http688
sun.net.www.protocol.https681
sun.nio.ch457
java.util.zip289
sun.rmi.server287
java.nio.file261
java.util.regex260
sun.rmi.transport.tcp259
com.sun.jndi.ldap243
com.sun.org.apache.xerces.internal.impl235
com.sun.org.apache.xerces.internal.parsers221
javax.swing.plaf.basic217
sun.net.www.http217
java.util.stream180
sun.misc179
java.util.logging153
com.sun.org.apache.xerces.internal.jaxp151
java.nio148
java.util.jar142
javax.swing.text141
sun.launcher138
java.beans137
java.text133
javax.imageio130
sun.rmi.registry127
javax.management.remote.rmi116
javax.security.auth.login115
javax.net.ssl114
java.rmi114
com.sun.org.apache.xalan.internal.xsltc.trax110
sun.nio.cs110
java.awt.image104
javax.security.auth98
sun.rmi.transport97
java.nio.channels95
sun.instrument92
java.util.concurrent.locks88
java.awt.event86
Package nameClass namePatterns foundSolution coverageSummary coverage
java.nioDirectByteBuffer37
java.nioByteBuffer33
java.nioHeapByteBuffer30
java.nioCharBuffer14
java.nioBuffer11
java.nioHeapCharBuffer5
java.nioDirectIntBufferU4
java.nioFloatBuffer3
java.nioDirectFloatBufferU3
java.nioStringCharBuffer1
java.nioBits1
java.nioIntBuffer1
java.nioDirectByteBufferR1
java.nioDoubleBuffer1
java.nioLongBuffer1
java.nioDirectFloatBufferRU1
java.nioMappedByteBuffer1
Package nameClass nameMethod namePatterns foundSolution coverage
java.nioDirectByteBufferget10
java.nioDirectByteBufferput9
java.nioByteBufferwrap8
java.nioHeapByteBufferget7
java.nioByteBufferallocateDirect6
java.nioCharBufferwrap6
java.nioByteBufferput6
java.nioByteBufferget5
java.nioByteBufferallocate5
java.nioCharBufferallocate4
java.nioHeapByteBufferput4
java.nioDirectByteBuffer<init>4
java.nioByteBufferarray3
java.nioHeapByteBuffer<init>3
java.nioDirectIntBufferUget2
java.nioHeapByteBuffergetInt2
java.nioDirectByteBufferputFloat2
java.nioHeapByteBuffergetShort2
java.nioDirectByteBuffergetInt2
java.nioDirectIntBufferUput2
java.nioDirectByteBufferputLong2
java.nioFloatBufferput2
java.nioDirectByteBuffergetShort2
java.nioHeapByteBuffergetLong2
java.nioBufferposition2
java.nioHeapByteBufferputLong2
java.nioDirectFloatBufferUput2
java.nioCharBufferput2
java.nioBuffercheckIndex1
java.nioBitsreserveMemory1
java.nioDoubleBufferarray1
java.nioMappedByteBufferforce1
java.nioHeapCharBuffersubSequence1
java.nioHeapByteBuffergetDouble1
java.nioDirectFloatBufferRUput1
java.nioBuffercheckBounds1
java.nioHeapCharBufferget1
java.nioHeapByteBufferputInt1
java.nioBuffer<init>1
java.nioBufferreset1
java.nioDirectByteBuffergetChar1
java.nioStringCharBuffersubSequence1
java.nioHeapCharBufferput1
java.nioHeapByteBuffercompact1
java.nioDirectFloatBufferUget1
java.nioBuffercheckGetBounds1
java.nioHeapByteBuffergetChar1
java.nioIntBufferallocate1
java.nioBuffernextGetIndex1
java.nioHeapByteBufferputShort1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.nioByteBufferputBufferOverflowException5
java.nioByteBufferallocateDirectOutOfMemoryError5
java.nioDirectByteBuffergetIndexOutOfBoundsException5
java.nioByteBuffergetBufferUnderflowException4
java.nioDirectByteBufferputBufferOverflowException4
java.nioByteBufferallocateOutOfMemoryError3
java.nioDirectByteBuffer<init>OutOfMemoryError3
java.nioDirectByteBuffergetBufferUnderflowException3
java.nioHeapByteBuffergetIndexOutOfBoundsException3
java.nioBufferpositionIllegalArgumentException2
java.nioByteBufferarrayUnsupportedOperationException2
java.nioByteBufferwrapNullPointerException2
java.nioByteBufferwrapOutOfMemoryError2
java.nioByteBufferwrapStackOverflowError2
java.nioCharBufferallocateOutOfMemoryError2
java.nioCharBufferwrapOutOfMemoryError2
java.nioDirectByteBuffergetIllegalStateException2
java.nioDirectFloatBufferUputBufferOverflowException2
java.nioDirectIntBufferUgetIndexOutOfBoundsException2
java.nioFloatBufferputBufferOverflowException2
java.nioHeapByteBufferputBufferOverflowException2
java.nioHeapByteBuffergetBufferUnderflowException2
java.nioBitsreserveMemoryOutOfMemoryError1
java.nioBufferresetInvalidMarkException1
java.nioBuffernextPutIndexBufferOverflowException1
java.nioBuffercheckBoundsIndexOutOfBoundsException1
java.nioBuffercheckGetBoundsBufferUnderflowException1
java.nioBufferlimitIllegalArgumentException1
java.nioBuffercheckIndexIndexOutOfBoundsException1
java.nioBuffer<init>StackOverflowError1
java.nioBuffernextGetIndexBufferUnderflowException1
java.nioBuffercheckPutBoundsBufferOverflowException1
java.nioByteBufferallocateDirectIllegalArgumentException1
java.nioByteBufferallocateIllegalArgumentException1
java.nioByteBufferwrapHistoryEventHandler1
java.nioByteBufferwrapIndexOutOfBoundsException1
java.nioByteBufferallocateYarnChild1
java.nioByteBufferputNullPointerException1
java.nioByteBufferarrayReadOnlyBufferException1
java.nioByteBuffergetIllegalArgumentException1
java.nioCharBufferputOutOfMemoryError1
java.nioCharBufferallocateIllegalArgumentException1
java.nioCharBufferwrapIndexOutOfBoundsException1
java.nioCharBufferwrapStackOverflowError1
java.nioCharBuffercharAtIndexOutOfBoundsException1
java.nioCharBuffertoStringOutOfMemoryError1
java.nioCharBufferwrapNullPointerException1
java.nioCharBufferputNullPointerException1
java.nioCharBufferallocateNoSuchMethodException1
java.nioCharBufferwrapImportTool1