Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [MASTER] DependentExecute.java:398 NPE #15639

Closed
2 of 3 tasks
liuchunhua opened this issue Feb 27, 2024 · 1 comment · Fixed by #15678
Closed
2 of 3 tasks

[Bug] [MASTER] DependentExecute.java:398 NPE #15639

liuchunhua opened this issue Feb 27, 2024 · 1 comment · Fixed by #15678
Assignees
Labels
bug Something isn't working
Milestone

Comments

@liuchunhua
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

3.2.0 upgrade to 3.2.1

[WI-0][TI-21145] - [ERROR] 2024-02-27 02:23:27.283 +0800 o.a.d.s.m.r.e.MasterTaskExecutor:[60] - Get a exception when execute the task, will try to cancel the task
java.lang.NullPointerException: null
        at org.apache.dolphinscheduler.server.master.utils.DependentExecute.getModelDependResult(DependentExecute.java:398)
        at org.apache.dolphinscheduler.server.master.utils.DependentExecute.finish(DependentExecute.java:364)
        at org.apache.dolphinscheduler.server.master.runner.task.dependent.DependentAsyncTaskExecuteFunction.isAllDependentTaskFinished(DependentAsyncTaskExecuteFunction.java:220)
        at org.apache.dolphinscheduler.server.master.runner.task.dependent.DependentAsyncTaskExecuteFunction.getAsyncTaskExecutionStatus(DependentAsyncTaskExecuteFunction.java:100)
        at org.apache.dolphinscheduler.server.master.runner.execute.AsyncMasterTaskDelayQueueLooper.lambda$run$0(AsyncMasterTaskDelayQueueLooper.java:90)
        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)

初步判断是#14702 新增parameterPassing字段, 3.2.0版本的节点没有这个字段,升级到3.2.1版本DepenentItem.getParameterPassing()为null

What you expected to happen

增加空值判断

How to reproduce

3.2.0 upgrade to 3.2.1

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@liuchunhua liuchunhua added bug Something isn't working Waiting for reply Waiting for reply labels Feb 27, 2024
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

3.2.0 upgrade to 3.2.1

[WI-0][TI-21145] - [ERROR] 2024-02-27 02:23:27.283 +0800 o.a.d.s.m.r.e.MasterTaskExecutor:[60] - Get a exception when execute the task, will try to cancel the task
java.lang.NullPointerException: null
        at org.apache.dolphinscheduler.server.master.utils.DependentExecute.getModelDependResult(DependentExecute.java:398)
        at org.apache.dolphinscheduler.server.master.utils.DependentExecute.finish(DependentExecute.java:364)
        at org.apache.dolphinscheduler.server.master.runner.task.dependent.DependentAsyncTaskExecuteFunction.isAllDependentTaskFinished(DependentAsyncTaskExecuteFunction.java:220)
        at org.apache.dolphinscheduler.server.master.runner.task.dependent.DependentAsyncTaskExecuteFunction.getAsyncTaskExecutionStatus(DependentAsyncTaskExecuteFunction.java:100)
        at org.apache.dolphinscheduler.server.master.runner.execute.AsyncMasterTaskDelayQueueLooper.lambda$run$0(AsyncMasterTaskDelayQueueLooper.java:90)
        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)

初步判断是#14702 新增parameterPassing字段, 3.2.0版本的节点没有这个字段,升级到3.2.1版本DepenentItem.getParameterPassing()为null

What you expected to happen

增加空值判断

How to reproduce

3.2.0 upgrade to 3.2.1

Anything else

No response

Version

3.2.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants