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 benni...@yahoo.com, 2 years ago
For input string: "true"
via Stack Overflow by Viren Sareen
, 2 years ago
via GitHub by ForNeVeR
, 2 years ago
via Oracle Community by 843844, 1 year ago
via Stack Overflow by Girimurugan
, 2 years ago
java.lang.NumberFormatException: For input string: "9000/input/plik2.txt"	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)	at java.lang.Integer.parseInt(Integer.java:580)	at java.lang.Integer.parseInt(Integer.java:615)	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 org.apache.spark.deploy.yarn.ApplicationMaster.run(ApplicationMaster.scala:247)	at org.apache.spark.deploy.yarn.ApplicationMaster$$anonfun$main$1.apply$mcV$sp(ApplicationMaster.scala:749)	at org.apache.spark.deploy.SparkHadoopUtil$$anon$1.run(SparkHadoopUtil.scala:71)	at org.apache.spark.deploy.SparkHadoopUtil$$anon$1.run(SparkHadoopUtil.scala:70)	at java.security.AccessController.doPrivileged(Native Method)	at javax.security.auth.Subject.doAs(Subject.java:422)	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)	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)