[ 
https://issues.apache.org/jira/browse/SPARK-38579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yuming Wang resolved SPARK-38579.
---------------------------------
    Fix Version/s: 3.3.0
                   3.2.2
                   3.1.3
       Resolution: Fixed

Issue resolved by pull request 35884
[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
>            Assignee: Yimin Yang
>            Priority: Major
>             Fix For: 3.3.0, 3.2.2, 3.1.3
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to