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.

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 user3672089
, 2 years ago
Unable to start activity ComponentInfo{com.example.rutgersgpacalculator/com.example.rutgersgpacalculator.MainActivity}: java.lang.NumberFormatException: Invalid double: ""
via Stack Overflow by Parth Maske
, 3 months ago
Unable to start activity ComponentInfo{com.example.parth.editcal/com.example.parth.editcal.MainActivity}: java.lang.NumberFormatException: Invalid int: "" 10-27 22:36:08.318 17077-17077/com.example.parth.editcal E/AndroidRuntime:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.login/com.example.login.MainActivity}: java.lang.NumberFormatException: Invalid int: "" at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2404) 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)Caused by: 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) ... 11 more