[ https://issues.apache.org/jira/browse/SPARK-38579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17507958#comment-17507958 ]
Apache Spark commented on SPARK-38579: -------------------------------------- User 'yym1995' has created a pull request for this issue: https://github.com/apache/spark/pull/35884 > 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.1.0, 3.1.1, 3.1.2, 3.2.0, 3.2.1 > Reporter: Yimin Yang > Priority: Major > > 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