java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.String

GitHub | ligadata-william | 5 months ago
  1. 0

    REST API heartbeat can't get by node id

    GitHub | 1 year ago | ligadata-william
    java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.String
  2. 0

    Aliased type field cannot extract properly

    GitHub | 1 year ago | yoshi49535
    java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.Integer
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    ClassCastException parsing Map in Scala with Jackson

    Stack Overflow | 10 months ago | Marco
    java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.Integer
  5. 0

    Scala/Spark ClassCastException when accesing list element

    Stack Overflow | 2 years ago
    java.lang.ClassCastException: scala.math.BigInt cannot be cast to scala.math.BigDecimal

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

      scala.math.BigInt cannot be cast to java.lang.String

      at com.ligadata.tools.SimpleKafkaProducer$$anonfun$processJsonDoc$2.apply()
    2. com.ligadata.tools
      SimpleKafkaProducer$$anonfun$processJsonDoc$2.apply
      1. com.ligadata.tools.SimpleKafkaProducer$$anonfun$processJsonDoc$2.apply(SimpleKafkaProducer.scala:382)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      2. com.ligadata.tools.SimpleKafkaProducer$$anonfun$processJsonDoc$2.apply(SimpleKafkaProducer.scala:381)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      2 frames
    3. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)[ExtDependencyLibs2_2.11-1.4.3.jar:1.0]
      1 frame
    4. com.ligadata.tools
      SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1.apply
      1. com.ligadata.tools.SimpleKafkaProducer$.processJsonDoc(SimpleKafkaProducer.scala:381)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      2. com.ligadata.tools.SimpleKafkaProducer$.processJsonFile(SimpleKafkaProducer.scala:319)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      3. com.ligadata.tools.SimpleKafkaProducer$.ProcessFile(SimpleKafkaProducer.scala:175)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      4. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1$$anonfun$apply$1.apply$mcV$sp(SimpleKafkaProducer.scala:611)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      5. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1$$anonfun$apply$1.apply(SimpleKafkaProducer.scala:611)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      6. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1$$anonfun$apply$1.apply(SimpleKafkaProducer.scala:611)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      7. com.ligadata.tools.SimpleKafkaProducer$.com$ligadata$tools$SimpleKafkaProducer$$elapsed(SimpleKafkaProducer.scala:406)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      8. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1.apply(SimpleKafkaProducer.scala:611)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      9. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1.apply(SimpleKafkaProducer.scala:607)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      9 frames
    5. Scala
      ArrayOps$ofRef.foreach
      1. scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)[ExtDependencyLibs2_2.11-1.4.3.jar:1.0]
      2. scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)[ExtDependencyLibs2_2.11-1.4.3.jar:1.0]
      2 frames
    6. com.ligadata.tools
      SimpleKafkaProducer$$anonfun$main$7$$anon$2.run
      1. com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2.run(SimpleKafkaProducer.scala:607)[simplekafkaproducer_2.11-1.4.3.jar:1.4.3]
      1 frame
    7. Scala Actors library
      ThreadPoolExecutor$Worker.run
      1. scala.actors.threadpool.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1060)[ExtDependencyLibs_2.11-1.4.3.jar:1.0]
      2. scala.actors.threadpool.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574)[ExtDependencyLibs_2.11-1.4.3.jar:1.0]
      2 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[?:1.8.0_92]
      1 frame