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. ,

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

  2. ,

    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.lang.NumberFormatException: For input string: "^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@"	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)	at java.lang.Integer.parseInt(Integer.java:481)	at java.lang.Integer.parseInt(Integer.java:527)	at scala.collection.immutable.StringLike$class.toInt(StringLike.scala:229)	at scala.collection.immutable.StringOps.toInt(StringOps.scala:31)	at kafka.server.OffsetCheckpoint.read(OffsetCheckpoint.scala:76)	at kafka.log.LogManager$$anonfun$loadLogs$1.apply(LogManager.scala:106)	at kafka.log.LogManager$$anonfun$loadLogs$1.apply(LogManager.scala:105)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)	at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:34)	at kafka.log.LogManager.loadLogs(LogManager.scala:105)	at kafka.log.LogManager.(LogManager.scala:57)	at kafka.server.KafkaServer.createLogManager(KafkaServer.scala:275)	at kafka.server.KafkaServer.startup(KafkaServer.scala:72)