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] [Task] dolphinscheduler keeps reporting a null error after it starts #16924

Open
2 of 3 tasks
heyuwei-1227 opened this issue Dec 25, 2024 · 0 comments
Open
2 of 3 tasks
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@heyuwei-1227
Copy link

Search before asking

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

What happened

The startup is successful, but the null pointer problem keeps reporting

What you expected to happen

[ERROR] 2024-12-25 08:40:51.501 +0000 org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils:[361] - [WorkflowInstance-0][TaskInstance-0] - null
java.util.EmptyStackException: null
at java.util.Stack.peek(Stack.java:102)
at java.util.Stack.pop(Stack.java:84)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calculate(TimePlaceholderUtils.java:211)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calculate(TimePlaceholderUtils.java:116)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calcMinutes(TimePlaceholderUtils.java:569)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calcMinutes(TimePlaceholderUtils.java:536)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calcTimeExpression(TimePlaceholderUtils.java:389)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calculateTime(TimePlaceholderUtils.java:357)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.getPlaceHolderTime(TimePlaceholderUtils.java:332)
at org.apache.dolphinscheduler.plugin.task.api.utils.ParameterUtils.dateTemplateParse(ParameterUtils.java:123)
at org.apache.dolphinscheduler.plugin.task.api.utils.ParameterUtils.convertParameterPlaceholders(ParameterUtils.java:73)
at org.apache.dolphinscheduler.service.expand.CuringGlobalParams.convertParameterPlaceholders(CuringGlobalParams.java:60)
at org.apache.dolphinscheduler.service.expand.CuringGlobalParams.curingGlobalParams(CuringGlobalParams.java:112)
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl.generateNewProcessInstance(ProcessServiceImpl.java:793)
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl.constructProcessInstance(ProcessServiceImpl.java:932)
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl.handleCommand(

[ERROR] 2024-12-25 08:40:52.501 +0000 org.apache.dolphinscheduler.server.master.runner.MasterSchedulerBootstrap:[228] - [WorkflowInstance-0][TaskInstance-0] - Master handle command 8 error
java.util.EmptyStackException: null
at java.util.Stack.peek(Stack.java:102)
at java.util.Stack.pop(Stack.java:84)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calculate(TimePlaceholderUtils.java:211)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calculate(TimePlaceholderUtils.java:116)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calcMinutes(TimePlaceholderUtils.java:569)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calcMinutes(TimePlaceholderUtils.java:536)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calcTimeExpression(TimePlaceholderUtils.java:389)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.calculateTime(TimePlaceholderUtils.java:357)
at org.apache.dolphinscheduler.plugin.task.api.parser.TimePlaceholderUtils.getPlaceHolderTime(TimePlaceholderUtils.java:332)
at org.apache.dolphinscheduler.plugin.task.api.utils.ParameterUtils.dateTemplateParse(ParameterUtils.java:123)
at org.apache.dolphinscheduler.plugin.task.api.utils.ParameterUtils.convertParameterPlaceholders(ParameterUtils.java:73)
at org.apache.dolphinscheduler.service.expand.CuringGlobalParams.convertParameterPlaceholders(CuringGlobalParams.java:60)
at org.apache.dolphinscheduler.service.expand.CuringGlobalParams.curingGlobalParams(CuringGlobalParams.java:112)
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl.generateNewProcessInstance(ProcessServiceImpl.java:793)
at org.apache.dolphinscheduler.service.process.ProcessServiceImpl.constructProcessInstance(ProcessServiceImpl.java:932)
at org.apache.dolphinscheduler.service.process.Proce

How to reproduce

dolphinscheduler version :3.1.8 seatunnel version:2.3.5

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@heyuwei-1227 heyuwei-1227 added bug Something isn't working Waiting for reply Waiting for reply labels Dec 25, 2024
@SbloodyS SbloodyS added help wanted Extra attention is needed and removed Waiting for reply Waiting for reply labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants