Java Runtime errors

Core environment and runtime library

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

Top patterns

  1. Trying to convert String which is either empty/null or doesn't contain numeric values exclusively

    Can occur when you try to convert a String to a numeric value but the String is not well formatted for the conversion.

  2. Integer.parseInt() has thrown a NumberFormatException
    No solution
  3. Integer.compareTo() has thrown a ClassCastException
    No solution

DescriptionException TypeEntry MethodWeb pages

Trying to convert String which is either empty/null or doesn't contain numeric values exclusively

java.lang.NumberFormatException
java.lang.Integer.invalidInt
436Web pages
1Solution
NumberFormatExceptionInteger.invalidInt436

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
1 frames hidden
java.lang.Integer.parseInt
43Web pages
NumberFormatExceptionInteger.parseInt43

Integer.compareTo() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Integer.compareTo
27Web pages
ClassCastExceptionInteger.compareTo27

Integer.valueOf() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.Integer.valueOf
16Web pages
OutOfMemoryErrorInteger.valueOf16

Integer.compareTo() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Integer.compareTo
13Web pages
NullPointerExceptionInteger.compareTo13

Integer.toString() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.Integer.toString
8Web pages
OutOfMemoryErrorInteger.toString8

Integer.toString() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.Integer.toString
4Web pages
StackOverflowErrorInteger.toString4

Integer.decode() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Integer.decode
2Web pages
NullPointerExceptionInteger.decode2

Integer.valueOf() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.Integer.valueOf
2Web pages
StackOverflowErrorInteger.valueOf2

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
java.lang.Integer.valueOf
2Web pages
NumberFormatExceptionInteger.valueOf2

Integer.parseInt() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.Integer.parseInt
2Web pages
StackOverflowErrorInteger.parseInt2

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.parseInt
1Web pages
NumberFormatExceptionInteger.parseInt1

Integer.parseInt() has thrown a NumberFormatException

ava.lang.NumberFormatException
2 frames hidden
java.lang.Integer.parseInt
0Web pages
NumberFormatExceptionInteger.parseInt0

Integer.valueOf() has thrown a VertxException

io.vertx.core.VertxException
java.lang.Integer.valueOf
0Web pages
VertxExceptionInteger.valueOf0
Package namePatterns foundSolution coverageSummary coverage
java.lang40275
java.io3873
java.awt3611
java.util.concurrent3497
java.lang.reflect3464
sun.reflect2111
java.util2071
java.net2068
javax.swing1382
java.security856
javax.naming842
java.sql690
sun.net.www.protocol.http689
sun.net.www.protocol.https681
sun.nio.ch458
java.util.zip290
sun.rmi.server287
java.nio.file263
java.util.regex260
sun.rmi.transport.tcp259
com.sun.jndi.ldap243
com.sun.org.apache.xerces.internal.impl236
com.sun.org.apache.xerces.internal.parsers222
javax.swing.plaf.basic217
sun.net.www.http217
java.util.stream181
sun.misc179
java.util.logging154
com.sun.org.apache.xerces.internal.jaxp151
java.nio148
java.util.jar142
javax.swing.text142
sun.launcher138
java.beans137
java.text133
javax.imageio130
sun.rmi.registry127
javax.net.ssl116
javax.management.remote.rmi116
javax.security.auth.login115
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.langThread33963
java.langClassLoader2547
java.langClass2117
java.langString288
java.langThrowable242
java.langRuntime161
java.langSystem159
java.langStringBuilder111
java.langSecurityManager85
java.langStringBuffer53
java.langThreadGroup48
java.langProcessBuilder45
java.langObject43
java.langAbstractStringBuilder42
java.langDouble42
java.langInteger42
java.langException29
java.langLong28
java.langFloat28
java.langStringCoding18
java.langRuntimeException17
java.langProcessImpl14
java.langByte13
java.langThreadLocal11
java.langEnum11
java.langCharacter10
java.langUNIXProcess9
java.langIterable8
java.langClassNotFoundException8
java.langNumberFormatException8
java.langClassLoader$NativeLibrary7
java.langError6
java.langNullPointerException6
java.langShort5
java.langMath5
java.langNoClassDefFoundError4
java.langBoolean4
java.langShutdown3
java.langIllegalArgumentException3
java.langClassCastException3
java.langSecurityException3
java.langClassLoader$13
java.langIllegalStateException2
java.langStringCoding$StringDecoder2
java.langStringCoding$StringEncoder1
java.langUNIXProcess$DeferredCloseInputStream1
java.langUnsatisfiedLinkError1
java.langProcessEnvironment$StringEnvironment1
java.langStackOverflowError1
java.langLinkageError1
Package nameClass nameMethod namePatterns foundSolution coverage
java.langIntegerparseInt15
java.langIntegervalueOf13
java.langIntegerdecode4
java.langIntegercompareTo3
java.langIntegertoString2
java.langInteger<init>2
java.langIntegergetInteger1
java.langIntegerparse1
java.langIntegerinvalidInt1
Package nameClass nameMethod nameException TypePatterns foundSolution coverage
java.langIntegerparseIntNumberFormatException11
java.langIntegervalueOfNumberFormatException10
java.langIntegerdecodeNumberFormatException3
java.langIntegerparseIntStackOverflowError3
java.langIntegercompareToNullPointerException2
java.langInteger<init>NumberFormatException2
java.langIntegertoStringOutOfMemoryError1
java.langIntegervalueOfOutOfMemoryError1
java.langIntegercompareToClassCastException1
java.langIntegerparseNumberFormatException1
java.langIntegertoStringStackOverflowError1
java.langIntegerparseIntNumberFormatException1
java.langIntegerdecodeNullPointerException1
java.langIntegergetIntegerAccessControlException1
java.langIntegerinvalidIntNumberFormatException1
java.langIntegervalueOfStackOverflowError1
java.langIntegervalueOfVertxException1