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

Data Science | João_testeSW | 8 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 | 8 months ago | João_testeSW
    java.lang.NumberFormatException: For input string: "id"
  2. 0

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

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

    GitHub comment 192#170095712

    GitHub | 1 year ago | krvss
    java.lang.NumberFormatException: For input string: "null"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Shutting down SparkContext java.lang.NumberFormatException

    Stack Overflow | 6 days ago | Neethu
    java.lang.NumberFormatException: For input string: "spark.locality.wait"

  1. Handemelindo 6 times, last 1 month ago
  2. balintn 2 times, last 7 months ago
  3. kid 2 times, last 8 months ago
  4. jesse 1 times, last 1 month ago
  5. poroszd 1 times, last 2 months ago
15 more registered users
18 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: "id"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.parseLong
    1. java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
    2. java.lang.Long.parseLong(Long.java:441)
    3. java.lang.Long.parseLong(Long.java:483)
    3 frames
  3. Scala
    StringOps.toLong
    1. scala.collection.immutable.StringLike$class.toLong(StringLike.scala:230)
    2. scala.collection.immutable.StringOps.toLong(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