1. Explore
  2. »
  3. Java Runtime
  4. »
  5. java.lang
  6. »
  7. Integer

java.langInteger errorsJava Runtime

Top patterns

  1. Unable to convert String to Integer due to non-numeric String data
    No solution
  2. 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.

  3. Unable to convert String to Integer value due to non-numeric data
    No solution
Error patternsMethodsExceptions
DescriptionException TypeEntry MethodWeb pages

Unable to convert String to Integer due to non-numeric String data

java.lang.NumberFormatException
1 frames hidden
java.lang.Integer.parseInt
676Web pages
NumberFormatExceptionInteger.parseInt()676

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

java.lang.NumberFormatException
java.lang.Integer.invalidInt
449Web pages
1Solution
NumberFormatExceptionInteger.invalidInt()449

Unable to convert String to Integer value due to non-numeric data

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.valueOf
437Web pages
NumberFormatExceptionInteger.valueOf()437

Integer.parse() has thrown a NumberFormatException

java.lang.NumberFormatException
1 frames hidden
java.lang.Integer.parse
288Web pages
NumberFormatExceptionInteger.parse()288

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.parseInt
284Web pages
NumberFormatExceptionInteger.parseInt()284

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.lang.Integer.parseInt
228Web pages
NumberFormatExceptionInteger.parseInt()228

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
1 frames hidden
java.lang.Integer.parseInt
159Web pages
NumberFormatExceptionInteger.parseInt()159

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.parseInt
154Web pages
NumberFormatExceptionInteger.parseInt()154

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
1 frames hidden
java.lang.Integer.valueOf
117Web pages
NumberFormatExceptionInteger.valueOf()117

Integer.<init>() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.<init>
108Web pages
NumberFormatExceptionInteger.<init>()108

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
4 frames hidden
java.lang.Integer.valueOf
54Web pages
NumberFormatExceptionInteger.valueOf()54

Integer.<init>() has thrown a NumberFormatException

java.lang.NumberFormatException
1 frames hidden
java.lang.Integer.<init>
52Web pages
NumberFormatExceptionInteger.<init>()52

Integer.parseInt() has thrown a NumberFormatException

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

Integer.decode() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.lang.Integer.decode
36Web pages
NumberFormatExceptionInteger.decode()36

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.parseInt
30Web pages
NumberFormatExceptionInteger.parseInt()30

Integer.compareTo() has thrown a ClassCastException

java.lang.ClassCastException
java.lang.Integer.compareTo
27Web pages
ClassCastExceptionInteger.compareTo()27

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.lang.Integer.valueOf
18Web pages
NumberFormatExceptionInteger.valueOf()18

Integer.valueOf() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.Integer.valueOf
17Web pages
OutOfMemoryErrorInteger.valueOf()17

Integer.compareTo() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Integer.compareTo
13Web pages
NullPointerExceptionInteger.compareTo()13

Integer.parseInt() has thrown a StackOverflowError

java.lang.StackOverflowError
3 frames hidden
java.lang.Integer.parseInt
11Web pages
StackOverflowErrorInteger.parseInt()11

Integer.toString() has thrown an OutOfMemoryError

java.lang.OutOfMemoryError
java.lang.Integer.toString
8Web pages
OutOfMemoryErrorInteger.toString()8

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.valueOf
8Web pages
NumberFormatExceptionInteger.valueOf()8

Integer.compareTo() has thrown a NullPointerException

java.lang.NullPointerException
1 frames hidden
java.lang.Integer.compareTo
6Web pages
NullPointerExceptionInteger.compareTo()6

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.lang.Integer.valueOf
5Web pages
NumberFormatExceptionInteger.valueOf()5

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.valueOf
5Web pages
NumberFormatExceptionInteger.valueOf()5

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.parseInt
5Web pages
NumberFormatExceptionInteger.parseInt()5

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.lang.Integer.parseInt
5Web pages
NumberFormatExceptionInteger.parseInt()5

Integer.parseInt() has thrown a StackOverflowError

java.lang.StackOverflowError
2 frames hidden
java.lang.Integer.parseInt
4Web pages
StackOverflowErrorInteger.parseInt()4

Integer.toString() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.Integer.toString
4Web pages
StackOverflowErrorInteger.toString()4

Integer.getInteger() has thrown an AccessControlException

java.security.AccessControlException
6 frames hidden
java.lang.Integer.getInteger
4Web pages
AccessControlExceptionInteger.getInteger()4

Integer.decode() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.decode
3Web pages
NumberFormatExceptionInteger.decode()3

Integer.valueOf() has thrown a NumberFormatException

java.lang.NumberFormatException
3 frames hidden
java.lang.Integer.valueOf
3Web pages
NumberFormatExceptionInteger.valueOf()3

Integer.parseInt() has thrown a NumberFormatException

java.lang.NumberFormatException
6 frames hidden
java.lang.Integer.parseInt
3Web pages
NumberFormatExceptionInteger.parseInt()3

Integer.decode() has thrown a NullPointerException

java.lang.NullPointerException
java.lang.Integer.decode
2Web pages
NullPointerExceptionInteger.decode()2

Integer.decode() has thrown a NumberFormatException

java.lang.NumberFormatException
2 frames hidden
java.lang.Integer.decode
2Web pages
NumberFormatExceptionInteger.decode()2

Integer.valueOf() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.Integer.valueOf
2Web pages
StackOverflowErrorInteger.valueOf()2

Integer.parseInt() has thrown a StackOverflowError

java.lang.StackOverflowError
java.lang.Integer.parseInt
2Web pages
StackOverflowErrorInteger.parseInt()2
Nothing to list here.
Nothing to list here.