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/09/26 07:58:55 UTC

[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #12145: [Bug] [server] NPE when depend node is forbidden

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

   ### 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
   
   ![企业微信截图_16641728064715](https://user-images.githubusercontent.com/19989300/192219945-3d9a9b64-4875-49cc-835d-4decc415c90e.png)
   
   the process instance keep in runing state. and from the master node I can see the error log : 
   ```
   [INFO] 2022-09-26 15:07:56.915 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1276] - add task to stand by list, task name:写入数据, task id:0, task code:6963664984578
   [ERROR] 2022-09-26 15:07:56.923 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread:[1420] - submit standby task error
   java.lang.NullPointerException: null
           at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.setIndirectDepList(WorkflowExecuteThread.java:981)
           at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.setIndirectDepList(WorkflowExecuteThread.java:984)
           at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.isTaskDepsComplete(WorkflowExecuteThread.java:948)
           at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.getDependResultForTask(WorkflowExecuteThread.java:1243)
           at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitStandByTask(WorkflowExecuteThread.java:1394)
           at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteThread.submitPostNode(WorkflowExecuteThread.java:930)
           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:1149)
           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
           at java.lang.Thread.run(Thread.java:748)
   ```
   after remove the connection between the forbidden node and should run node , things goes well.
   
   
   
   ### What you expected to happen
   
   no error should throw out
   
   ### How to reproduce
   
   I also can't reproduce it.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   2.0.5
   
   ### 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