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.

Solutions on the web

java.lang.NumberFormatException: Invalid int: ""
at java.lang.Integer.invalidInt(Integer.java:138)
at java.lang.Integer.parseInt(Integer.java:358)
at java.lang.Integer.parseInt(Integer.java:334)
at android.net.Uri$AbstractHierarchicalUri.parsePort(Uri.java:1127)
at ti.modules.titanium.network.TiHTTPClient.open(TiHTTPClient.java:776)
at ti.modules.titanium.network.HTTPClientProxy.open(HTTPClientProxy.java:147)
at org.appcelerator.kroll.runtime.v8.V8Object.nativeCallProperty(Native Method)
at org.appcelerator.kroll.runtime.v8.V8Object.callProperty(V8Object.java:73)
at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1155)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:148)
at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:118)

Users with the same issue

24 times, 1 year ago
6 times, 4 months ago
2 times, 10 months ago
3 times, 1 year ago
15 times, 1 year ago
186 more bugmates

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