Yimin Yang created SPARK-38579:
----------------------------------

             Summary: Requesting Restful API can cause NullPointerException
                 Key: SPARK-38579
                 URL: https://issues.apache.org/jira/browse/SPARK-38579
             Project: Spark
          Issue Type: Bug
          Components: Web UI
    Affects Versions: 3.2.1, 3.2.0, 3.1.2, 3.1.1, 3.1.0
            Reporter: Yimin Yang


When requesting Restful API  
\{baseURL}/api/v1/applications/$appId/sql/$executionId which is introduced by 
this PR [https://github.com/apache/spark/pull/28208,] it can cause 
NullPointerException. The root cause is, when calling method doUpdate() of 
`LiveExecutionData`, `metricsValues` can be null. Then, when statement 
`printableMetrics(graph.allNodes, exec.metricValues)` is executed, it will 
throw  NullPointerException.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to