chang-wd opened a new issue, #1792: URL: https://github.com/apache/incubator-seatunnel/issues/1792
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues. ### What happened When submitting a task using spark, if spark.executor.extraJavaOptions or spark.driver.extraJavaOptions is null, an exception parameter will be generated, resulting in submission failure. ### SeaTunnel Version v2.1.1 ### SeaTunnel Config ```conf env { # You can set spark configuration here # see available properties defined by spark: https://spark.apache.org/docs/latest/configuration.html#available-properties spark.app.name = "SeaTunnel" spark.executor.instances = 2 spark.executor.cores = 1 spark.executor.memory = "1g" spark.streaming.batchDuration = 5 } source { # This is a example input plugin **only for test and demonstrate the feature input plugin** fakeStream { content = ["Hello World, SeaTunnel"] } } transform { split { fields = ["msg", "name"] delimiter = "," } Sql { sql = "select *, '"${dt_batch}"' as dt_batch from split_result_table" } } sink { # choose stdout output plugin to output data to console Console {} } ``` ### Running Command ```shell ./bin/start-seatunnel-spark.sh --master local[2] --deploy-mode client --config ./config/spark.streaming_test_variable.conf -i dt_batch=20220504 ``` ### Error Exception ```log Error: Could not find or load main class null ``` ### Flink or Spark Version spark_version:2.4.8 ### Java or Scala Version java version "1.8.0_251" ### Screenshots **The bug situation replay**  **Debug**  **Right submit args**  ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
