org.apache.spark.sql.streaming.StreamingQueryException: Query [id = cfdab731-5aa1-46fa-b42e-a17e60a12453, runId = d70d683e-c020-4a1a-8c02-2dc29d3c500b] terminated with exception: null

sbt.ForkMain$ForkError: org.apache.spark.sql.streaming.StreamingQueryException: Query [id = cfdab731-5aa1-46fa-b42e-a17e60a12453, runId = d70d683e-c020-4a1a-8c02-2dc29d3c500b] terminated with exception: null
	at org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runStream(StreamExecution.scala:353)
	at org.apache.spark.sql.execution.streaming.StreamExecution$$anon$1.run(StreamExecution.scala:244)
Caused by: sbt.ForkMain$ForkError: java.lang.NullPointerException: null
	at org.apache.spark.sql.execution.streaming.continuous.ContinuousExecution.$anonfun$runContinuous$6(ContinuousExecution.scala:285)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
	at org.apache.spark.util.UninterruptibleThread.runUninterruptibly(UninterruptibleThread.scala:77)
	at org.apache.spark.sql.execution.streaming.continuous.ContinuousExecution.runContinuous(ContinuousExecution.scala:282)
	at org.apache.spark.sql.execution.streaming.continuous.ContinuousExecution.runActivatedStream(ContinuousExecution.scala:109)
	at org.apache.spark.sql.execution.streaming.StreamExecution.org$apache$spark$sql$execution$streaming$StreamExecution$$runStream(StreamExecution.scala:332)
	... 1 more