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
257Web pages
IndexOutOfBoundsExceptionBuffer.checkIndex257

Bits.reserveMemory() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.Bits.reserveMemory
217Web pages
OutOfMemoryErrorBits.reserveMemory217

ByteBuffer.allocateDirect() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
2 frames hidden
java.nio.ByteBuffer.allocateDirect
214Web pages
OutOfMemoryErrorByteBuffer.allocateDirect214

DirectByteBuffer.<init>() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.nio.DirectByteBuffer.<init>
214Web pages
OutOfMemoryErrorDirectByteBuffer.<init>214

Buffer.position() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.Buffer.position
182Web pages
IllegalArgumentExceptionBuffer.position182

Buffer.nextGetIndex() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.Buffer.nextGetIndex
172Web pages
BufferUnderflowExceptionBuffer.nextGetIndex172

HeapByteBuffer.<init>() has thrown an OutOfMemoryError

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

ByteBuffer.allocate() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.nio.ByteBuffer.allocate
139Web pages
OutOfMemoryErrorByteBuffer.allocate139

HeapByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.HeapByteBuffer.put
115Web pages
BufferOverflowExceptionHeapByteBuffer.put115

DirectIntBufferU.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
java.nio.DirectIntBufferU.get
109Web pages
IndexOutOfBoundsExceptionDirectIntBufferU.get109

Buffer.nextPutIndex() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.Buffer.nextPutIndex
102Web pages
BufferOverflowExceptionBuffer.nextPutIndex102

Buffer.limit() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.Buffer.limit
93Web pages
IllegalArgumentExceptionBuffer.limit93

HeapByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.HeapByteBuffer.get
78Web pages
BufferUnderflowExceptionHeapByteBuffer.get78

DirectByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
java.nio.DirectByteBuffer.put
62Web pages
BufferOverflowExceptionDirectByteBuffer.put62

DirectByteBuffer.<init>() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.nio.DirectByteBuffer.<init>
54Web pages
OutOfMemoryErrorDirectByteBuffer.<init>54

ByteBuffer.allocateDirect() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
2 frames hidden
java.nio.ByteBuffer.allocateDirect
53Web pages
OutOfMemoryErrorByteBuffer.allocateDirect53

DirectByteBuffer.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
java.nio.DirectByteBuffer.get
50Web pages
IndexOutOfBoundsExceptionDirectByteBuffer.get50

ByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
1 frames hidden
java.nio.ByteBuffer.get
46Web pages
BufferUnderflowExceptionByteBuffer.get46

ByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
1 frames hidden
java.nio.ByteBuffer.put
45Web pages
BufferOverflowExceptionByteBuffer.put45

HeapByteBuffer.getInt() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
1 frames hidden
java.nio.HeapByteBuffer.getInt
37Web pages
BufferUnderflowExceptionHeapByteBuffer.getInt37

ByteBuffer.wrap() has thrown a NullPointerException

java.lang.NullPointerException
java.nio.ByteBuffer.wrap
37Web pages
NullPointerExceptionByteBuffer.wrap37

Buffer.checkBounds() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.Buffer.checkBounds
37Web pages
IndexOutOfBoundsExceptionBuffer.checkBounds37

ByteBuffer.allocate() has thrown an IllegalArgumentException

java.lang.IllegalArgumentException
java.nio.ByteBuffer.allocate
32Web pages
IllegalArgumentExceptionByteBuffer.allocate32

HeapByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
1 frames hidden
java.nio.HeapByteBuffer.get
31Web pages
BufferUnderflowExceptionHeapByteBuffer.get31

HeapByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
1 frames hidden
java.nio.HeapByteBuffer.put
30Web pages
BufferOverflowExceptionHeapByteBuffer.put30

HeapByteBuffer.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
1 frames hidden
java.nio.HeapByteBuffer.get
30Web pages
IndexOutOfBoundsExceptionHeapByteBuffer.get30

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

HeapByteBuffer.putShort() has thrown a BufferOverflowException

java.nio.BufferOverflowException
1 frames hidden
java.nio.HeapByteBuffer.putShort
24Web pages
BufferOverflowExceptionHeapByteBuffer.putShort24

Buffer.checkPutBounds() has thrown a BufferOverflowException

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

ByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
1 frames hidden
java.nio.ByteBuffer.put
23Web pages
BufferOverflowExceptionByteBuffer.put23

HeapByteBuffer.getLong() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
1 frames hidden
java.nio.HeapByteBuffer.getLong
22Web pages
BufferUnderflowExceptionHeapByteBuffer.getLong22

ByteBuffer.wrap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.ByteBuffer.wrap
22Web pages
OutOfMemoryErrorByteBuffer.wrap22

CharBuffer.wrap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.nio.CharBuffer.wrap
19Web pages
OutOfMemoryErrorCharBuffer.wrap19

ByteBuffer.wrap() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.ByteBuffer.wrap
17Web pages
IndexOutOfBoundsExceptionByteBuffer.wrap17

CharBuffer.toString() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
3 frames hidden
java.nio.CharBuffer.toString
17Web pages
OutOfMemoryErrorCharBuffer.toString17

HeapCharBuffer.toString() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
2 frames hidden
java.nio.HeapCharBuffer.toString
17Web pages
OutOfMemoryErrorHeapCharBuffer.toString17

HeapCharBuffer.subSequence() has thrown an IndexOutOfBoundsException

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

ByteBuffer.wrap() has thrown a HistoryEventHandler

org.apache.tez.dag.history.HistoryEventHandler
java.nio.ByteBuffer.wrap
16Web pages
HistoryEventHandlerByteBuffer.wrap16

Buffer.checkGetBounds() has thrown a BufferUnderflowException

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

ByteBuffer.array() has thrown an UnsupportedOperationException

java.lang.UnsupportedOperationException
java.nio.ByteBuffer.array
15Web pages
UnsupportedOperationExceptionByteBuffer.array15

DirectByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
1 frames hidden
java.nio.DirectByteBuffer.put
14Web pages
BufferOverflowExceptionDirectByteBuffer.put14

DirectByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
1 frames hidden
java.nio.DirectByteBuffer.get
14Web pages
BufferUnderflowExceptionDirectByteBuffer.get14

ByteBuffer.allocateDirect() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
2 frames hidden
java.nio.ByteBuffer.allocateDirect
14Web pages
OutOfMemoryErrorByteBuffer.allocateDirect14

DirectByteBuffer.put() has thrown a BufferOverflowException

java.nio.BufferOverflowException
1 frames hidden
java.nio.DirectByteBuffer.put
14Web pages
BufferOverflowExceptionDirectByteBuffer.put14

Buffer.reset() has thrown an InvalidMarkException

java.nio.InvalidMarkException
java.nio.Buffer.reset
14Web pages
InvalidMarkExceptionBuffer.reset14

HeapByteBuffer.getShort() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
1 frames hidden
java.nio.HeapByteBuffer.getShort
13Web pages
BufferUnderflowExceptionHeapByteBuffer.getShort13

DirectByteBuffer.get() has thrown a BufferUnderflowException

java.nio.BufferUnderflowException
java.nio.DirectByteBuffer.get
13Web pages
BufferUnderflowExceptionDirectByteBuffer.get13

ByteBuffer.wrap() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
1 frames hidden
java.nio.ByteBuffer.wrap
13Web pages
OutOfMemoryErrorByteBuffer.wrap13

DirectIntBufferU.get() has thrown an IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException
java.nio.DirectIntBufferU.get
11Web pages
IndexOutOfBoundsExceptionDirectIntBufferU.get11
Package namePatterns foundSolution coverageSummary coverage
java.lang7927
java.util.concurrent4667
java.io4419
java.lang.reflect4019
java.awt2397
java.net2282
sun.reflect2209
java.util1921
javax.swing1636
java.security1033
javax.naming1017
java.sql803
sun.net.www.protocol.http740
sun.net.www.protocol.https718
sun.nio.ch466
sun.rmi.server381
sun.rmi.transport.tcp326
java.util.zip322
com.sun.jndi.ldap289
java.util.regex285
com.sun.org.apache.xerces.internal.impl269
sun.net.www.http261
java.nio.file257
com.sun.org.apache.xerces.internal.parsers247
javax.swing.plaf.basic240
sun.misc236
java.util.logging172
com.sun.org.apache.xerces.internal.jaxp168
java.util.jar162
java.beans160
javax.swing.text158
java.nio157
sun.rmi.registry151
java.util.stream143
javax.security.auth.login143
java.text143
javax.management.remote.rmi142
java.rmi137
javax.imageio135
sun.rmi.transport134
sun.nio.cs131
javax.net.ssl129
java.awt.event124
com.sun.org.apache.xalan.internal.xsltc.trax117
java.awt.image115
javax.security.auth115
java.nio.channels110
java.rmi.server92
java.util.concurrent.locks90
javax.naming.directory88
Package nameClass namePatterns foundSolution coverageSummary coverage
java.nioByteBuffer39
java.nioDirectByteBuffer37
java.nioHeapByteBuffer31
java.nioCharBuffer16
java.nioBuffer12
java.nioHeapCharBuffer5
java.nioDirectIntBufferU4
java.nioFloatBuffer3
java.nioDirectFloatBufferU3
java.nioIntBuffer2
java.nioLongBuffer1
java.nioBits1
java.nioMappedByteBuffer1
java.nioDirectByteBufferR1
java.nioStringCharBuffer1
Package nameClass nameMethod namePatterns foundSolution coverage
java.nioDirectByteBufferput10
java.nioDirectByteBufferget9
java.nioByteBufferwrap9
java.nioCharBufferwrap7
java.nioHeapByteBufferget7
java.nioByteBufferallocate7
java.nioByteBufferallocateDirect7
java.nioByteBufferget6
java.nioByteBufferput6
java.nioDirectByteBuffer<init>4
java.nioCharBufferallocate4
java.nioHeapByteBufferput4
java.nioHeapByteBuffergetShort3
java.nioHeapByteBuffer<init>3
java.nioByteBufferarray3
java.nioDirectByteBufferputLong2
java.nioDirectIntBufferUput2
java.nioDirectByteBuffergetShort2
java.nioDirectIntBufferUget2
java.nioHeapByteBuffergetInt2
java.nioBufferposition2
java.nioDirectByteBuffergetInt2
java.nioDirectByteBuffergetLong2
java.nioCharBufferput2
java.nioHeapByteBuffergetLong2
java.nioFloatBufferput2
java.nioDirectFloatBufferUput2
java.nioHeapByteBufferputLong2
java.nioBuffercheckGetBounds2
java.nioDirectFloatBufferUget1
java.nioBufferlimit1
java.nioBitsreserveMemory1
java.nioLongBufferput1
java.nioHeapCharBuffertoString1
java.nioHeapByteBufferasReadOnlyBuffer1
java.nioBuffernextPutIndex1
java.nioDirectByteBufferputInt1
java.nioCharBuffertoString1
java.nioHeapCharBufferget1
java.nioHeapByteBufferputInt1
java.nioBuffercheckIndex1
java.nioFloatBufferarray1
java.nioMappedByteBufferforce1
java.nioCharBuffercharAt1
java.nioHeapCharBuffer<init>1
java.nioHeapByteBuffergetDouble1
java.nioDirectByteBufferRasReadOnlyBuffer1
java.nioBuffercheckBounds1
java.nioIntBufferallocate1
java.nioByteBuffer<init>1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.nioByteBufferallocateDirectOutOfMemoryError6
java.nioByteBuffergetBufferUnderflowException5
java.nioByteBufferputBufferOverflowException5
java.nioDirectByteBuffergetIndexOutOfBoundsException5
java.nioDirectByteBufferputBufferOverflowException4
java.nioByteBufferwrapStackOverflowError3
java.nioByteBufferallocateOutOfMemoryError3
java.nioDirectByteBuffer<init>OutOfMemoryError3
java.nioDirectByteBuffergetBufferUnderflowException3
java.nioHeapByteBuffergetIndexOutOfBoundsException3
java.nioBufferpositionIllegalArgumentException2
java.nioByteBufferwrapOutOfMemoryError2
java.nioByteBufferwrapNullPointerException2
java.nioByteBufferarrayUnsupportedOperationException2
java.nioCharBufferwrapOutOfMemoryError2
java.nioCharBufferwrapStackOverflowError2
java.nioCharBufferallocateOutOfMemoryError2
java.nioDirectByteBufferputStackOverflowError2
java.nioDirectFloatBufferUputBufferOverflowException2
java.nioDirectIntBufferUgetIndexOutOfBoundsException2
java.nioFloatBufferputBufferOverflowException2
java.nioHeapByteBufferputBufferOverflowException2
java.nioHeapByteBuffergetBufferUnderflowException2
java.nioBitsreserveMemoryOutOfMemoryError1
java.nioBuffercheckPutBoundsBufferOverflowException1
java.nioBuffercheckGetBoundsIndexOutOfBoundsException1
java.nioBuffercheckGetBoundsBufferUnderflowException1
java.nioBuffernextPutIndexBufferOverflowException1
java.nioBuffercheckBoundsIndexOutOfBoundsException1
java.nioBuffernextGetIndexBufferUnderflowException1
java.nioBufferlimitIllegalArgumentException1
java.nioBuffercheckIndexIndexOutOfBoundsException1
java.nioBufferresetInvalidMarkException1
java.nioBuffer<init>StackOverflowError1
java.nioByteBufferwrapIndexOutOfBoundsException1
java.nioByteBufferallocateDirectIllegalArgumentException1
java.nioByteBufferputNullPointerException1
java.nioByteBuffer<init>StackOverflowError1
java.nioByteBuffergetIndexOutOfBoundsException1
java.nioByteBufferwrapHistoryEventHandler1
java.nioByteBufferallocateIllegalArgumentException1
java.nioByteBufferallocateSparkException1
java.nioByteBufferallocateYarnChild1
java.nioByteBufferallocateInternalError1
java.nioByteBufferarrayReadOnlyBufferException1
java.nioCharBuffercharAtIndexOutOfBoundsException1
java.nioCharBufferallocateNoSuchMethodException1
java.nioCharBuffergetBufferUnderflowException1
java.nioCharBufferwrapIndexOutOfBoundsException1
java.nioCharBuffertoStringOutOfMemoryError1