Eng-duan opened a new issue, #13973:
URL: https://github.com/apache/dolphinscheduler/issues/13973

   ### 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
   
   
           
   final String host = 
taskExecutionContext.getDefinedParams().get(KEY_POOL_VAR_PIGEON_HOST);
   
   taskExecutionContext.getDefinedParams() is null; so:
   
   [INFO] 2023-04-20 17:21:29.946 +0800 - start execute PIGEON task
   [ERROR] 2023-04-20 17:21:29.946 +0800 - Task execute failed, due to meet an 
exception
   java.lang.NullPointerException: null
        at 
org.apache.dolphinscheduler.plugin.task.pigeon.PigeonTask.getHost(PigeonTask.java:223)
        at 
org.apache.dolphinscheduler.plugin.task.pigeon.PigeonTask.handle(PigeonTask.java:92)
        at 
org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerDelayTaskExecuteRunnable.executeTask(DefaultWorkerDelayTaskExecuteRunnable.java:49)
        at 
org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:174)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   
   ### What you expected to happen
   
   [INFO] 2023-04-20 17:21:29.946 +0800 - start execute PIGEON task
   [ERROR] 2023-04-20 17:21:29.946 +0800 - Task execute failed, due to meet an 
exception
   java.lang.NullPointerException: null
        at 
org.apache.dolphinscheduler.plugin.task.pigeon.PigeonTask.getHost(PigeonTask.java:223)
        at 
org.apache.dolphinscheduler.plugin.task.pigeon.PigeonTask.handle(PigeonTask.java:92)
        at 
org.apache.dolphinscheduler.server.worker.runner.DefaultWorkerDelayTaskExecuteRunnable.executeTask(DefaultWorkerDelayTaskExecuteRunnable.java:49)
        at 
org.apache.dolphinscheduler.server.worker.runner.WorkerTaskExecuteRunnable.run(WorkerTaskExecuteRunnable.java:174)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   
   ### How to reproduce
   
   when use pigeon plugin 
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.1.x
   
   ### 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]

Reply via email to