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

Stack Overflow | João_testeSW | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Function take() error - Link Analysis Research using Spark Mllib

    Data Science | 6 months ago | João_testeSW
    java.lang.NumberFormatException: For input string: "6.67"
  2. 0

    Function take() error - Link Analysis Research using Spark Mllib

    Stack Overflow | 6 months ago | João_testeSW
    java.lang.NumberFormatException: For input string: "6.67"
  3. 0

    dice should validate its arguments

    GitHub | 3 years ago | ForNeVeR
    java.lang.NumberFormatException: For input string: "a"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting error when parsing spark driver host in hadoop

    Stack Overflow | 3 years ago | user3928837
    java.lang.NumberFormatException: For input string: "57831'"
  6. 0

    NumberFormatException thrown in date parsing

    GitHub | 2 years ago | djtfmartin
    java.lang.NumberFormatException: For input string: "0 01"

  1. rp 4 times, last 3 weeks ago
  2. Nikolay Rybak 1 times, last 2 months ago
  3. harshg 1 times, last 2 months ago
  4. Mark 6 times, last 6 months ago
  5. kid 1 times, last 6 months ago
33 more registered users
62 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NumberFormatException

    For input string: "6.67"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Integer.parseInt(Integer.java:492)
    3. java.lang.Integer.parseInt(Integer.java:527)
    3 frames
  3. Scala
    StringOps.toInt
    1. scala.collection.immutable.StringLike$class.toInt(StringLike.scala:229)
    2. scala.collection.immutable.StringOps.toInt(StringOps.scala:31)
    2 frames
  4. $line65
    $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.parseTransactions
    1. $line65.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC.parseTransactions(<console>:38)
    1 frame
  5. $line67
    $read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply
    1. $line67.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:42)
    2. $line67.$read$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$iwC$$anonfun$1.apply(<console>:42)
    2 frames
  6. Scala
    Iterator$$anon$11.next
    1. scala.collection.Iterator$$anon$11.next(Iterator.scala:328)
    1 frame
  7. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.storage.MemoryStore.unrollSafely(MemoryStore.scala:285)
    2. org.apache.spark.CacheManager.putInBlockManager(CacheManager.scala:171)
    3. org.apache.spark.CacheManager.getOrCompute(CacheManager.scala:78)
    4. org.apache.spark.rdd.RDD.iterator(RDD.scala:268)
    5. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
    6. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
    7. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
    8. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
    9. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
    10. org.apache.spark.rdd.RDD.iterator(RDD.scala:270)
    11. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:73)
    12. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:41)
    13. org.apache.spark.scheduler.Task.run(Task.scala:89)
    14. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
    14 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    3. java.lang.Thread.run(Thread.java:745)
    3 frames