java.lang.NumberFormatException: For input string: "9000/input/plik2.txt"

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.


Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

Solutions on the web

via Stack Overflow by DamianOS.MP5
, 1 year ago
For input string: "9000/input/plik2.txt"
via Google Groups by Atul Pundhir, 5 months ago
For input string: "c12d71cc4475_resources"
via Google Groups by, 2 years ago
For input string: "true"
java.lang.NumberFormatException: For input string: "9000/input/plik2.txt"
at java.lang.NumberFormatException.forInputString(
at java.lang.Integer.parseInt(
at java.lang.Integer.parseInt(
at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:272)
at org.apache.spark.deploy.yarn.ApplicationMaster.waitForSparkDriver(ApplicationMaster.scala:547)
at org.apache.spark.deploy.yarn.ApplicationMaster.runExecutorLauncher(ApplicationMaster.scala:405)
at org.apache.spark.deploy.SparkHadoopUtil$$anon$
at Method)
at org.apache.spark.deploy.yarn.ApplicationMaster$.main(ApplicationMaster.scala:747)
at org.apache.spark.deploy.yarn.ExecutorLauncher$.main(ApplicationMaster.scala:774)

Users with the same issue

Once, 2 months ago
2 times, 4 months ago
6 times, 1 year ago
17 times, 1 year ago
Once, 10 months ago
266 more bugmates

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