Github user vanzin commented on the issue: https://github.com/apache/spark/pull/21168 The exception happens because `mainMethod` in the case described in the bug is not a static method (thus the NPE is because of the `null` instance argument in the call). It's not because the main method does not exist.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org