eye-gu opened a new issue, #14714:
URL: https://github.com/apache/dolphinscheduler/issues/14714

   ### 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
   
   [ERROR] 2023-08-07 16:32:11.287 +0800 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable:[737] 
- [WorkflowInstance-0][TaskInstance-0] - Start workflow error
   java.lang.NullPointerException: null
        at 
org.apache.dolphinscheduler.service.expand.CuringParamsServiceImpl.preBuildBusinessParams(CuringParamsServiceImpl.java:272)
        at 
org.apache.dolphinscheduler.server.master.runner.execute.TaskExecutionContextFactory.createTaskExecutionContext(TaskExecutionContextFactory.java:124)
        at 
org.apache.dolphinscheduler.server.master.runner.execute.DefaultTaskExecuteRunnableFactory.createTaskExecuteRunnable(DefaultTaskExecuteRunnableFactory.java:53)
        at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.tryToTakeOverTaskInstance(WorkflowExecuteRunnable.java:1410)
        at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.submitPostNode(WorkflowExecuteRunnable.java:1298)
        at 
org.apache.dolphinscheduler.server.master.runner.WorkflowExecuteRunnable.startWorkflow(WorkflowExecuteRunnable.java:731)
        at 
org.apache.dolphinscheduler.server.master.runner.IWorkflowExecuteRunnable.call(IWorkflowExecuteRunnable.java:27)
   
   
   
   
   ### What you expected to happen
   
   refer What happened
   
   ### How to reproduce
   
   When one master node hangs and another node is fault-tolerant
   
   ### Anything else
   
   
![image](https://github.com/apache/dolphinscheduler/assets/20450037/2eae1109-ee6a-4821-82b3-fdcfb9dd5cc8)
   
   The null pointer is because 'processInstance' is null, which comes from the 
cached 'taskInstance' in the 'taskInstanceMap'.
   
   ### 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]

Reply via email to