zhyyyq opened a new issue, #17374:
URL: https://github.com/apache/dolphinscheduler/issues/17374

   ### 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
   
   <img width="627" height="398" alt="Image" 
src="https://github.com/user-attachments/assets/e4246f02-a837-4ddb-bbe0-cedfafec5831";
 />
   just simple echo shell task
   ```
   [INFO] 2025-07-25 15:36:38.011 +0800 - 
***********************************************************************************************
   [ERROR] 2025-07-25 15:36:38.015 +0800 - Task execute failed, due to meet an 
exception
   java.lang.NullPointerException: null
        at 
org.apache.dolphinscheduler.server.master.runner.task.condition.ConditionLogicTask.lambda$calculateConditionResult$1(ConditionLogicTask.java:84)
        at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at 
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at 
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
        at 
org.apache.dolphinscheduler.server.master.runner.task.condition.ConditionLogicTask.calculateConditionResult(ConditionLogicTask.java:87)
        at 
org.apache.dolphinscheduler.server.master.runner.task.condition.ConditionLogicTask.handle(ConditionLogicTask.java:64)
        at 
org.apache.dolphinscheduler.server.master.runner.execute.SyncMasterTaskExecutor.executeTask(SyncMasterTaskExecutor.java:44)
        at 
org.apache.dolphinscheduler.server.master.runner.execute.MasterTaskExecutor.run(MasterTaskExecutor.java:110)
        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:750)
   [INFO] 2025-07-25 15:36:38.015 +0800 - 
   
***********************************************************************************************
   [INFO] 2025-07-25 15:36:38.015 +0800 - *********************************  
Finalize task instance  ************************************
   [INFO] 2025-07-25 15:36:38.015 +0800 - 
***********************************************************************************************
   [ERROR] 2025-07-25 15:36:38.016 +0800 - Get a exception when execute the 
task, will try to cancel the task
   java.lang.NullPointerException: null
        at 
org.apache.dolphinscheduler.server.master.runner.task.condition.ConditionLogicTask.lambda$calculateConditionResult$1(ConditionLogicTask.java:84)
        at 
java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
        at 
java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1384)
        at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
        at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
        at 
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
        at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
        at 
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
        at 
org.apache.dolphinscheduler.server.master.runner.task.condition.ConditionLogicTask.calculateConditionResult(ConditionLogicTask.java:87)
        at 
org.apache.dolphinscheduler.server.master.runner.task.condition.ConditionLogicTask.handle(ConditionLogicTask.java:64)
        at 
org.apache.dolphinscheduler.server.master.runner.execute.SyncMasterTaskExecutor.executeTask(SyncMasterTaskExecutor.java:44)
        at 
org.apache.dolphinscheduler.server.master.runner.execute.MasterTaskExecutor.run(MasterTaskExecutor.java:110)
        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:750)
   [WARN] 2025-07-25 15:36:38.016 +0800 - The Sync task does not support kill 
operation
   [INFO] 2025-07-25 15:36:38.017 +0800 - Send task status: FAILURE to master: 
172.18.0.5:5678 successfully
   [INFO] 2025-07-25 15:36:38.017 +0800 - Get a exception when execute the 
task, sent the task execute result to master, the current task execute result 
is TaskExecutionStatus{code=6, desc='failure'}
   [INFO] 2025-07-25 15:36:38.018 +0800 - Get a exception when execute the 
task, removed the TaskExecutionContext
   [INFO] 2025-07-25 15:36:38.019 +0800 - FINALIZE_SESSION
   ```
   
   ### What you expected to happen
   
   3.2.2
   
   ### How to reproduce
   
   
[workflow_1753429561340.json](https://github.com/user-attachments/files/21426756/workflow_1753429561340.json)
   import this workflow and exucute it
   
   ### 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]

Reply via email to