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 GitHub by fcesco
, 1 year ago
Job aborted due to stage failure: Task 1 in stage 4.0 failed 4 times, most recent failure: Lost task 1.3 in stage 4.0 (TID 48, ip-10-157-155-247.ec2.internal): java.lang.NullPointerException
org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 4.0 failed 4 times, most recent failure: Lost task 1.3 in stage 4.0 (TID 48, ip-10-157-155-247.ec2.internal): java.lang.NullPointerException	at org.deeplearning4j.spark.text.functions.TokenizerFunction.call(TokenizerFunction.java:52)	at org.deeplearning4j.spark.text.functions.TokenizerFunction.call(TokenizerFunction.java:33)	at org.apache.spark.api.java.JavaPairRDD$$anonfun$toScalaFunction$1.apply(JavaPairRDD.scala:1015)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at scala.collection.Iterator$$anon$11.next(Iterator.scala:328)	at org.apache.spark.util.Utils$.getIteratorSize(Utils.scala:1597)	at org.apache.spark.rdd.RDD$$anonfun$count$1.apply(RDD.scala:1157)	at org.apache.spark.rdd.RDD$$anonfun$count$1.apply(RDD.scala:1157)	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)	at org.apache.spark.SparkContext$$anonfun$runJob$5.apply(SparkContext.scala:1858)	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)	at org.apache.spark.scheduler.Task.run(Task.scala:89)	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)	at java.lang.Thread.run(Thread.java:745)