gaojun2048 opened a new issue #9127: URL: https://github.com/apache/dolphinscheduler/issues/9127
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened DataX Task run fail. code version: branch/dev ### What you expected to happen DataX Task can run success. ### How to reproduce Create a `MySQL` datasource. And then create a workflow with a `DataX` Task. This task use `MySQL` datasource and with the config input: ``` select * from test_datax `` From the worker-server log, I found some Exception: ``` [INFO] 2022-03-23 15:49:15.896 TaskLogLogger-class org.apache.dolphinscheduler.plugin.task.datax.DataxTask:[133] - datax task params {"localParams":[],"resourceList":[],"customConfig":0,"dsType":"MYSQL","dataSource":"1","dtType":"MYSQL","dataTarget":"1","sql":"select * from test_datax","targetTable":"test_datax_1","jobSpeedByte":0,"jobSpeedRecord":1000,"preStatements":[],"postStatements":[],"xms":1,"xmx":1} [ERROR] 2022-03-23 15:49:15.898 org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread:[203] - task scheduler failure java.lang.NullPointerException: null at org.apache.dolphinscheduler.plugin.task.datax.DataxParameters.generateExtendedContext(DataxParameters.java:265) at org.apache.dolphinscheduler.plugin.task.datax.DataxTask.init(DataxTask.java:140) at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:182) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [INFO] 2022-03-23 15:49:15.899 org.apache.dolphinscheduler.server.worker.processor.DBTaskAckProcessor:[56] - dBTask ACK request command : DBTaskAckCommand{taskInstanceId=123, status=7} ``` ### Anything else _No response_ ### Version dev ### Are you willing to submit PR? - [ ] 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]
