Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

  2. ,

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

Solutions on the web

via Stack Overflow by sulphuric Acid
, 1 year ago
Unable to start activity ComponentInfo{com.example.login/com.example.login.MainActivity}: java.lang.NumberFormatException: Invalid int: ""
via Stack Overflow by Parth Maske
, 2 years ago
Unable to start activity ComponentInfo{com.example.parth.editcal/com.example.parth.editcal.MainActivity}: java.lang.NumberFormatException: Invalid int: ""
via Stack Overflow by Praval Sharma
, 1 year ago
Unable to start activity ComponentInfo{com.praval.healthfreak/com.praval.healthfreak.Form}: java.lang.NumberFormatException: Invalid int: ""
via Stack Overflow by user2299401
, 2 years ago
Unable to start activity ComponentInfo{com.phonegap.helloworld/com.phonegap.helloworld.ICT}: java.lang.NumberFormatException: Invalid long: ""
via Stack Overflow by user2299401
, 2 years ago
Unable to start activity ComponentInfo{com.phonegap.helloworld/com.phonegap.helloworld.ICT}: java.lang.NumberFormatException: Invalid long: ""
via Stack Overflow by user3672089
, 2 years ago
Unable to start activity ComponentInfo{com.example.rutgersgpacalculator/com.example.rutgersgpacalculator.MainActivity}: java.lang.NumberFormatException: Invalid double: ""
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 com.example.login.MainActivity.onCreate(MainActivity.java:36)	at android.app.Activity.performCreate(Activity.java:5541)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2368)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2464)	at android.app.ActivityThread.access$900(ActivityThread.java:172)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:146)	at android.app.ActivityThread.main(ActivityThread.java:5653)	at java.lang.reflect.Method.invokeNative(Native Method)	at java.lang.reflect.Method.invoke(Method.java:515)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)	at dalvik.system.NativeStart.main(Native Method)