github-actions[bot] commented on issue #11035:
URL: 
https://github.com/apache/dolphinscheduler/issues/11035#issuecomment-1188507968

   ### 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
   
   After submitting a workflow in version 2.0.5, only a workflow instance is 
generated, and no task instance is generated. Check the master error log as 
follows:
   [INFO] 2022-07-19 09:29:46.625 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[301] - 
process event: State Event :key: null type: TASK_STATE_CHANGE executeStatus: 
SUCCESS task instance id: 379862 process instance id: 66858 context: null
   [INFO] 2022-07-19 09:29:46.627 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[378] - 
work flow 66858 task 379862 state:SUCCESS
   [ERROR] 2022-07-19 09:29:46.632 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[264] - 
state handle error:
   java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
           at java.util.ArrayList.rangeCheck(ArrayList.java:653)
           at java.util.ArrayList.get(ArrayList.java:429)
           at 
org.apache.dolphinscheduler.dao.utils.DagHelper.skipTaskNode4Switch(DagHelper.java:409)
           at 
org.apache.dolphinscheduler.dao.utils.DagHelper.parseSwitchTask(DagHelper.java:398)
           at 
org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:303)
           at 
org.apache.dolphinscheduler.dao.utils.DagHelper.parsePostNodes(DagHelper.java:322)
           at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:902)
           at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskFinished(WorkflowExecuteThread.java:409)
           at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.taskStateChangeHandler(WorkflowExecuteThread.java:362)
           at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.stateEventHandler(WorkflowExecuteThread.java:312)
           at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.handleEvents(WorkflowExecuteThread.java:260)
           at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.run(WorkflowExecuteThread.java:241)
           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)
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           at java.lang.Thread.run(Thread.java:745)
   
   
   ### What you expected to happen
   
   After submitting the workflow, a workflow instance is generated, a task task 
instance is generated, and the task runs normally
   
   ### How to reproduce
   
   After the workflow is created, submit the workflow to run.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.5
   
   ### 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