Pattern selector

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

  1. Integer.parseInt() has thrown a NumberFormatException
    Java Runtime
    91
    51
    1
  2. Trying to convert String which is either empty/null or doesn't contain numeric values exclusively
    Java Runtime
    201
    222
    5

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.NumberFormatException: Invalid int: ""
    at java.lang.Integer.invalidInt(Integer.java:137)
    at java.lang.Integer.parseInt(Integer.java:358)
    at java.lang.Integer.parseInt(Integer.java:331)
    at pw.thedrhax.mosmetro.updater.UpdateCheckTask$Branch.<init>(UpdateCheckTask.java:139)
4 frames hidden

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. Radharcvia Google Groups1 week ago
    No message found for this stack trace.
    Show stack trace
  2. LosTigerosvia GitHub1 month ago
    Invalid int: "auto"
    Show stack trace
  3. Cideosvia GitHub1 month ago
    Invalid int: "android.support.v7.widget.AppCompatEditText{d699ca1 VFED..CL. .F...... 295,1580-1145,1761 #7f0800ac app:id/set_speed}"
    Show stack trace
  4. Cideosvia GitHub1 month ago
    Invalid int: "android.support.v7.widget.AppCompatEditText{3a80848 VFED..CL. .F...... 295,1580-1145,1761 #7f0900ac app:id/set_speed}"
    Show stack trace
  5. wenwenwen888via GitHub1 month ago
  6. wenwenwen888via GitHub1 month ago
  7. wenwenwen888via GitHub1 month ago
  8. tianxiaoguvia GitHub1 month ago
    Invalid int: "5582158130"
    Show stack trace
  9. tianxiaoguvia GitHub2 months ago
    Invalid int: "817737007732267"
    Show stack trace
  10. einichervia GitHub2 months ago