qingwli opened a new issue, #14493: URL: https://github.com/apache/dolphinscheduler/issues/14493
### 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 We fixed that sometimes workers always throw message npe bug #14315. And occurred a new bug, when the process was running, and task 1 failed the first time, then rerun and got success. But the process got failed status. <img width="1039" alt="image" src="https://github.com/apache/dolphinscheduler/assets/20885366/ee4455cc-1e3f-4d9c-8dbc-73d2d9aece2a"> And we find the event task code is 0, here is the reason <img width="981" alt="image" src="https://github.com/apache/dolphinscheduler/assets/20885366/a2b67401-3903-4489-8a80-cd34fe69ce01"> ### What you expected to happen Running expect. ### How to reproduce  Set task code to event ### Anything else _No response_ ### 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]
