Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-46621

Address null from Exception.getMessage in Py4J captured exception

    XMLWordPrintableJSON

Details

    Description

      If JVM throws an exception without a message, the message becomes null and returns:

        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'
      

      Attachments

        Issue Links

          Activity

            People

              gurwls223 Hyukjin Kwon
              gurwls223 Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: