java.lang.NumberFormatException: For input string: ""java.lang.NumberFormatException: For input string: ""

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


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


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 by Unknown author, 1 year ago
For input string: ""java.lang.NumberFormatException: For input string: ""
via Google Groups by Daniel Zeman, 6 months ago
For input string: "||||||"
via by Unknown author, 2 years ago
via GitHub by jnyip
, 2 years ago
For input string: "M"
via Stack Overflow by Thereisnospoon
, 8 months ago
java.lang.NumberFormatException: For input string: ""java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(Integer.)
at wp.LinuxFilesystemMonitor.executeCommand(LinuxFilesystemMonitor.)
at wp.LinuxFilesystemMonitor.execute(
at wp.WPMonitor.execute(
at com.dynatrace.diagnostics.sdk.UserPluginManager.executePlugin(SourceFile:565)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:51)
at com.dynatrace.diagnostics.sdk.MonitorPluginExecutor.execute(SourceFile:26)
at com.dynatrace.diagnostics.scheduling.impl.ServerJobCenterRegistry.a(SourceFile:189)
at com.dynatrace.diagnostics.scheduling.impl.ServerJobCenterRegistry.a(SourceFile:412)
at com.dynatrace.diagnostics.scheduling.impl.ServerJobCenterRegistry.execute(SourceFile:336)
at com.dynatrace.diagnostics.scheduling.impl.SchedulerJob.a(SourceFile:101)
at com.dynatrace.diagnostics.scheduling.impl.SchedulerJob.executeJobInfo(SourceFile:241)
at com.dynatrace.diagnostics.scheduling.impl.QuartzJob.execute(SourceFile:45)
at com.dynatrace.diagnostics.scheduling.impl.QuartzThreadPool$

Users with the same issue

Once, 10 hours ago
4 times, 6 days ago
16 times, 1 week ago
6 times, 1 week ago
30 times, 1 week ago

Write tip

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