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

Solutions on the web

via DataStax JIRA by Michael Siler, 1 year ago
via DataStax JIRA by Michael Siler, 2 years ago
java.lang.NullPointerException: 	at com.datastax.spark.connector.writer.TableWriter.batchRoutingKey(TableWriter.scala:113)	at com.datastax.spark.connector.writer.TableWriter$$anonfun$write$1$$anonfun$13.apply(TableWriter.scala:129)	at com.datastax.spark.connector.writer.TableWriter$$anonfun$write$1$$anonfun$13.apply(TableWriter.scala:129)	at com.datastax.spark.connector.writer.GroupingBatchBuilder.next(GroupingBatchBuilder.scala:107)	at com.datastax.spark.connector.writer.GroupingBatchBuilder.next(GroupingBatchBuilder.scala:31)	at scala.collection.Iterator$class.foreach(Iterator.scala:727)	at com.datastax.spark.connector.writer.GroupingBatchBuilder.foreach(GroupingBatchBuilder.scala:31)	at com.datastax.spark.connector.writer.TableWriter$$anonfun$write$1.apply(TableWriter.scala:136)	at com.datastax.spark.connector.writer.TableWriter$$anonfun$write$1.apply(TableWriter.scala:120)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$withSessionDo$1.apply(CassandraConnector.scala:100)	at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$withSessionDo$1.apply(CassandraConnector.scala:99)	at com.datastax.spark.connector.cql.CassandraConnector.closeResourceAfterUse(CassandraConnector.scala:151)	at com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:99)	at com.datastax.spark.connector.writer.TableWriter.write(TableWriter.scala:120)	at com.datastax.spark.connector.RDDFunctions$$anonfun$saveToCassandra$1.apply(RDDFunctions.scala:36)	at com.datastax.spark.connector.RDDFunctions$$anonfun$saveToCassandra$1.apply(RDDFunctions.scala:36)	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:61)	at org.apache.spark.scheduler.Task.run(Task.scala:56)	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:200)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)