You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/01/07 02:57:22 UTC
[GitHub] [dolphinscheduler] shangeyao opened a new issue #7867: [Bug] [Master] state handle error caused by NPE in WorkflowExecuteThread
shangeyao opened a new issue #7867:
URL: https://github.com/apache/dolphinscheduler/issues/7867
### 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
I created a workflow including switch node.
![image](https://user-images.githubusercontent.com/42203474/148483306-99c992d3-c83b-488d-a211-24c36812307c.png)
![image](https://user-images.githubusercontent.com/42203474/148484169-56e1057c-f02b-45e7-b051-608b83eec362.png)
Then it caused an error.
> `[INFO] 2022-01-07 10:48:22.745 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[257] - process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: SUCCESS task instance id: 648 process instance id: 505 context: null
[INFO] 2022-01-07 10:48:22.746 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[334] - work flow 505 task 648 state:SUCCESS
[ERROR] 2022-01-07 10:48:22.747 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[220] - state handle error:
java.lang.NullPointerException: null
at org.apache.dolphinscheduler.dao.utils.DagHelper.skipTaskNode4Switch(DagHelper.java:401)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parseSwitchTask(DagHelper.java:393)
at org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:298)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:895)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:365)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:318)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:268)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:216)
at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:197)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)`
In addition, task C failed to execute normally.
### What you expected to happen
The state of workflow can change successfully.
### How to reproduce
Above.
### Anything else
Version: 2.0.2.
### Version
2.0.1
### 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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] caishunfeng commented on issue #7867: [Bug] [Master] state handle error caused by NPE in WorkflowExecuteThread
Posted by GitBox <gi...@apache.org>.
caishunfeng commented on issue #7867:
URL: https://github.com/apache/dolphinscheduler/issues/7867#issuecomment-1007161307
I can't reproduce at local.
BTW, the code line does not match with 2.0.2, so maybe it's other reason.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #7867: [Bug] [Master] state handle error caused by NPE in WorkflowExecuteThread
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #7867:
URL: https://github.com/apache/dolphinscheduler/issues/7867#issuecomment-1007100908
Hi:
* Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org