WorkflowExecuteRunnable#readyToSubmitTaskQueue What scenario does no id exist #15326
Unanswered
Shayneboss
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, @ruanwenjun
Hello, I have a NullPointerException, the reason is that the task id obtained from the readyToSubmitTaskQueue is empty, ConcurrentHashMap put null. Notice that you have a comment in this section "The StandBy task list, will be executed, need to know, the taskInstance in this queue may doesn't have id. ", would like to ask what scenario will have an empty id.
The following is the exception log
[ERROR] 2023-12-15 14:37:33.923 +0800 org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[670] - [WorkflowInstance-0][TaskInstance-0] - Start workflow error java.lang.NullPointerException: null at java.base/java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011) at java.base/java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.submitStandByTask(WorkflowExecuteRunnable.java:1839) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.submitPostNode(WorkflowExecuteRunnable.java:1351) at org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.call(WorkflowExecuteRunnable.java:664) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
I did not find similar discussion records in the code and related discussions, so I would like to take the liberty to consult you and look forward to your reply
Beta Was this translation helpful? Give feedback.
All reactions