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][Manager] NPE is thrown when startup the Sort task in the InlongStream workflow #6516

Closed
1 of 2 tasks
haifxu opened this issue Nov 11, 2022 · 3 comments · Fixed by #6606
Closed
1 of 2 tasks

[Bug][Manager] NPE is thrown when startup the Sort task in the InlongStream workflow #6516

haifxu opened this issue Nov 11, 2022 · 3 comments · Fixed by #6606
Assignees
Labels
Milestone

Comments

@haifxu
Copy link
Contributor

haifxu commented Nov 11, 2022

What happened

error log:

java.lang.NullPointerException: null
        at org.apache.inlong.manager.plugin.listener.StartupStreamListener.listen(StartupStreamListener.java:100) ~[manager-plugins-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.event.LogableEventListener.executeListenerWithLog(LogableEventListener.java:78) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.event.LogableEventListener.listen(LogableEventListener.java:59) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.event.task.TaskEventNotifier.notify(TaskEventNotifier.java:56) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.processor.ServiceTaskProcessor.complete(ServiceTaskProcessor.java:115) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:97) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:90) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:102) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:90) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:102) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:90) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeComplete(ProcessorExecutorImpl.java:102) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessorExecutorImpl.executeStart(ProcessorExecutorImpl.java:90) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.workflow.core.impl.ProcessServiceImpl.start(ProcessServiceImpl.java:62) ~[manager-workflow-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.service.workflow.WorkflowServiceImpl.start(WorkflowServiceImpl.java:89) ~[manager-service-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at org.apache.inlong.manager.service.listener.queue.QueueResourceListener.lambda$createQueueForStreams$0(QueueResourceListener.java:147) ~[manager-service-1.5.0-SNAPSHOT.jar:1.5.0-SNAPSHOT]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1604) ~[?:1.8.0_312]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_312]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_312]
        at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_312]

What you expected to happen

Fix this bug.

How to reproduce

Startup stream sort.

Environment

No response

InLong version

master

InLong Component

InLong Manager

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@haifxu haifxu added the type/bug Something is wrong label Nov 11, 2022
@gosonzhang
Copy link
Contributor

Thanks @haifxu, I got it!

@fuweng11
Copy link
Contributor

I will deal with this problem!

@gosonzhang
Copy link
Contributor

Thanks @fuweng11

@gosonzhang gosonzhang added this to the 1.5.0 milestone Nov 23, 2022
@healchow healchow changed the title [Bug][Manager] NPE is thrown when startup stream sort [Bug][Manager] NPE is thrown when startup the Sort task in the InlongStream workflow Nov 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants