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

   ### 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
   
   If condition have no downstream task, master will npe during workflow 
run.And workflow never stop.
   <img width="926" alt="image" 
src="https://user-images.githubusercontent.com/37766284/174033206-bc173d76-3e3d-4dfd-af4f-7864bc0fb43b.png";>
   <img width="1342" alt="image" 
src="https://user-images.githubusercontent.com/37766284/174033345-3cb9bbbe-7f9f-4f8a-9529-2bab659f606a.png";>
   
   
   
   ### What you expected to happen
   
   The workflow instance completed. 
   
   ### How to reproduce
   
   <img width="637" alt="image" 
src="https://user-images.githubusercontent.com/37766284/174033843-f0ffbb23-a79b-4bef-8f93-ec4ad8f18d5f.png";>
   <img width="589" alt="image" 
src="https://user-images.githubusercontent.com/37766284/174034147-0092f7a8-d1bd-481d-9fc9-e16c7247bc36.png";>
   1.create a condition task that have no downstream task.
   2.run workflow.
   
   ### Anything else
   
   etc.
   
   ### Version
   
   dev
   
   ### 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]

Reply via email to