[
https://issues.apache.org/jira/browse/SPARK-46621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Jie resolved SPARK-46621.
------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 44623
[https://github.com/apache/spark/pull/44623]
> Address null from Exception.getMessage in Py4J captured exception
> -----------------------------------------------------------------
>
> Key: SPARK-46621
> URL: https://issues.apache.org/jira/browse/SPARK-46621
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 4.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> If JVM throws an exception without a message, the message becomes null and
> returns:
> {code}
> File "/.../pyspark/errors/exceptions/captured.py", line 88, in __str__
> desc = desc + "\n\nJVM stacktrace:\n%s" % self._stackTrace
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]