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

java.lang.ClassCastException: scala.math.BigInt cannot be cast to java.lang.String	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$processJsonDoc$2.apply(SimpleKafkaProducer.scala:382)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$processJsonDoc$2.apply(SimpleKafkaProducer.scala:381)	at scala.collection.immutable.List.foreach(List.scala:381)	at com.ligadata.tools.SimpleKafkaProducer$.processJsonDoc(SimpleKafkaProducer.scala:381)	at com.ligadata.tools.SimpleKafkaProducer$.processJsonFile(SimpleKafkaProducer.scala:319)	at com.ligadata.tools.SimpleKafkaProducer$.ProcessFile(SimpleKafkaProducer.scala:175)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1$$anonfun$apply$1.apply$mcV$sp(SimpleKafkaProducer.scala:611)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1$$anonfun$apply$1.apply(SimpleKafkaProducer.scala:611)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1$$anonfun$apply$1.apply(SimpleKafkaProducer.scala:611)	at com.ligadata.tools.SimpleKafkaProducer$.com$ligadata$tools$SimpleKafkaProducer$$elapsed(SimpleKafkaProducer.scala:406)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1.apply(SimpleKafkaProducer.scala:611)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2$$anonfun$run$1.apply(SimpleKafkaProducer.scala:607)	at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)	at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186)	at com.ligadata.tools.SimpleKafkaProducer$$anonfun$main$7$$anon$2.run(SimpleKafkaProducer.scala:607)	at scala.actors.threadpool.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1060)	at scala.actors.threadpool.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:574)	at java.lang.Thread.run(Thread.java:745)