Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. MessageFormat.<init>() has thrown an IllegalArgumentException
    Java Runtime
    1
    9
    0
  2. Integer.parseInt() has thrown a NumberFormatException
    Java Runtime
    660
    1029
    175

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.NumberFormatException: For input string: "dark_green"
1 matching frame hidden
    at java.lang.Integer.parseInt(Integer.java:492)
    at java.lang.Integer.parseInt(Integer.java:527)
    at java.text.MessageFormat.makeFormat(MessageFormat.java:1418)

Solution

Nwabunnia10 months ago

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

External results for this pattern (10)

  1. KarlKnappvia GitHub1 day ago
    For input string: "undefined"
    Show stack trace
  2. nkartyshovvia GitHub1 day ago
    For input string: "mail4.fast.net.id"
    Show stack trace
  3. bblfishvia GitHub2 days ago
    For input string: "e00::2"
    Show stack trace
  4. 843789via Oracle Community3 days ago
    For input string: "fgg"
    Show stack trace
  5. Unknown authorvia Google Groups3 days ago
    For input string: "5559http:"
    Show stack trace
  6. Agrado127via GitHub4 days ago
    No message found for this stack trace.
    Show stack trace
  7. luiscruzvia GitHub4 days ago
    For input string: "'android-23'"
    Show stack trace
  8. eduarddrenthvia GitHub4 days ago
    For input string: "i"
    Show stack trace
  9. amasiakiewiczvia GitHub5 days ago
    For input string: ""
    Show stack trace
  10. RonyKvia GitHub6 days ago
    For input string: " 100"
    Show stack trace