java.lang.NumberFormatException: Invalid int: ""

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


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.


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 by Unknown author, 2 years ago
via Stack Overflow by lantonis
, 2 years ago
via Stack Overflow by gamerguy0102
, 2 years ago
java.lang.NumberFormatException: Invalid int: ""
at java.lang.Integer.invalidInt(
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at org.appcelerator.kroll.runtime.v8.V8Object.nativeCallProperty(Native Method)
at org.appcelerator.kroll.runtime.v8.V8Object.callProperty(
at org.appcelerator.kroll.KrollProxy.handleMessage(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at org.appcelerator.kroll.KrollRuntime$

Users with the same issue

Once, 1 month ago
Once, 3 months ago
852 times, 3 months ago
23 times, 4 months ago
3 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.