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.

  2. ,

    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 Stack Overflow by DamianOS.MP5
, 1 year ago
For input string: "9000/input/plik2.txt"
via Google Groups by, 2 years ago
For input string: "true"
via Stack Overflow by Viren Sareen
, 1 year ago
via GitHub by ForNeVeR
, 2 years ago
via Oracle Community by 843844, 1 year ago
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 scala.collection.immutable.StringOps.toInt(StringOps.scala:29)	at org.apache.spark.util.Utils$.parseHostPort(Utils.scala:935)	at org.apache.spark.deploy.yarn.ApplicationMaster.waitForSparkDriver(ApplicationMaster.scala:547)	at org.apache.spark.deploy.yarn.ApplicationMaster.runExecutorLauncher(ApplicationMaster.scala:405)	at	at org.apache.spark.deploy.yarn.ApplicationMaster$$anonfun$main$1.apply$mcV$sp(ApplicationMaster.scala:749)	at org.apache.spark.deploy.SparkHadoopUtil$$anon$	at org.apache.spark.deploy.SparkHadoopUtil$$anon$	at Method)	at	at	at org.apache.spark.deploy.SparkHadoopUtil.runAsSparkUser(SparkHadoopUtil.scala:70)	at org.apache.spark.deploy.yarn.ApplicationMaster$.main(ApplicationMaster.scala:747)	at org.apache.spark.deploy.yarn.ExecutorLauncher$.main(ApplicationMaster.scala:774)	at org.apache.spark.deploy.yarn.ExecutorLauncher.main(ApplicationMaster.scala)