[ https://issues.apache.org/jira/browse/SPARK-15791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu updated SPARK-15791: ------------------------------- Assignee: Eric Liang (was: Davies Liu) > NPE in ScalarSubquery > --------------------- > > Key: SPARK-15791 > URL: https://issues.apache.org/jira/browse/SPARK-15791 > Project: Spark > Issue Type: Bug > Components: SQL > Reporter: Davies Liu > Assignee: Eric Liang > > {code} > Job aborted due to stage failure: Task 0 in stage 146.0 failed 4 times, most > recent failure: Lost task 0.3 in stage 146.0 (TID 48828, 10.0.206.208): > java.lang.NullPointerException > at > org.apache.spark.sql.execution.ScalarSubquery.dataType(subquery.scala:45) > at > org.apache.spark.sql.catalyst.expressions.CaseWhenBase.dataType(conditionalExpressions.scala:103) > at > org.apache.spark.sql.catalyst.expressions.Alias.toAttribute(namedExpressions.scala:165) > at > org.apache.spark.sql.execution.ProjectExec$$anonfun$output$1.apply(basicPhysicalOperators.scala:33) > at > org.apache.spark.sql.execution.ProjectExec$$anonfun$output$1.apply(basicPhysicalOperators.scala:33) > at > scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) > at > scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244) > at scala.collection.immutable.List.foreach(List.scala:318) > at scala.collection.TraversableLike$class.map(TraversableLike.scala:244) > at scala.collection.AbstractTraversable.map(Traversable.scala:105) > at > org.apache.spark.sql.execution.ProjectExec.output(basicPhysicalOperators.scala:33) > at > org.apache.spark.sql.execution.WholeStageCodegenExec.output(WholeStageCodegenExec.scala:291) > at > org.apache.spark.sql.execution.DeserializeToObjectExec$$anonfun$2.apply(objects.scala:85) > at > org.apache.spark.sql.execution.DeserializeToObjectExec$$anonfun$2.apply(objects.scala:84) > at > org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$24.apply(RDD.scala:775) > at > org.apache.spark.rdd.RDD$$anonfun$mapPartitionsInternal$1$$anonfun$apply$24.apply(RDD.scala:775) > at > org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38) > at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:318) > at org.apache.spark.rdd.RDD.iterator(RDD.scala:282) > at > org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38) > at org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:318) > at org.apache.spark.rdd.RDD.iterator(RDD.scala:282) > at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:70) > at org.apache.spark.scheduler.Task.run(Task.scala:85) > at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274) > 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) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org