mridulm commented on code in PR #40911:
URL: https://github.com/apache/spark/pull/40911#discussion_r1176075449


##########
core/src/test/scala/org/apache/spark/util/JsonProtocolSuite.scala:
##########
@@ -809,6 +809,11 @@ class JsonProtocolSuite extends SparkFunSuite {
       
JsonProtocol.taskEndReasonFromJson(exceptionFailureJson).asInstanceOf[ExceptionFailure]
     assert(exceptionFailure.description == null)
   }
+
+  test("SPARK-43237: Handle null exception message in event log") {
+    val exception = new Exception(null.asInstanceOf[String])

Review Comment:
   nit: Simply `new Exception()` should suffice



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to