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] startup failure caused by Retryer #4456

Closed
2 of 3 tasks
Pil0tXia opened this issue Sep 24, 2023 · 0 comments · Fixed by #4460
Closed
2 of 3 tasks

[Bug] startup failure caused by Retryer #4456

Pil0tXia opened this issue Sep 24, 2023 · 0 comments · Fixed by #4460
Labels
bug Something isn't working

Comments

@Pil0tXia
Copy link
Member

Search before asking

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

Environment

Windows

EventMesh version

master

What happened

At commit 109c493, startup success.

At commit 08fabd2 (#4060), startup failure.

@pandaapo May you please help resolve this issue?

How to reproduce

master branch, no customized config.

Debug logs

2023-09-24 23:34:53,692 INFO [main] EventMeshGrpcServer(EventMeshGrpcServer.java:133) - GRPCServer[port=10205] started
2023-09-24 23:34:53,692 INFO [main] EventMeshGrpcServer(EventMeshGrpcServer.java:134) - -----------------EventMeshGRPCServer initialized
2023-09-24 23:34:53,693 INFO [main] EventMeshServer(EventMeshServer.java:142) - eventStore : null
2023-09-24 23:34:53,694 INFO [main] ProducerTopicManager(ProducerTopicManager.java:52) - ProducerTopicManager inited......
2023-09-24 23:34:53,694 INFO [main] EventMeshServer(EventMeshServer.java:149) - server state:INITED
2023-09-24 23:34:53,709 INFO [main] HTTPMetricsServer(HTTPMetricsServer.java:70) - Register httpMetrics to org.apache.eventmesh.metrics.prometheus.PrometheusMetricsRegistry
2023-09-24 23:34:53,710 INFO [main] HTTPMetricsServer(HTTPMetricsServer.java:94) - HTTPMetricsServer started.
2023-09-24 23:34:53,710 INFO [main] ConsumerManager(ConsumerManager.java:56) - consumerManager started......
2023-09-24 23:34:53,710 INFO [main] ProducerManager(ProducerManager.java:44) - producerManager started......
2023-09-24 23:34:53,716 pool-1-thread-1 DEBUG Stopping LoggerContext[name=73d16e93, org.apache.logging.log4j.core.LoggerContext@55634720]
2023-09-24 23:34:53,716 pool-1-thread-1 DEBUG Stopping LoggerContext[name=73d16e93, org.apache.logging.log4j.core.LoggerContext@55634720]...
2023-09-24 23:34:53,710 ERROR [main] EventMeshStartup(EventMeshStartup.java:57) - EventMesh start fail.
java.lang.NullPointerException: null
at org.apache.eventmesh.runtime.core.protocol.AbstractRetryer.start(AbstractRetryer.java:77) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.boot.EventMeshHTTPServer.start(EventMeshHTTPServer.java:163) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.boot.EventMeshHttpBootstrap.start(EventMeshHttpBootstrap.java:54) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.boot.EventMeshServer.start(EventMeshServer.java:165) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.boot.EventMeshStartup.main(EventMeshStartup.java:40) [eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.starter.StartUp.main(StartUp.java:25) [main/:?]
2023-09-24 23:34:53,719 pool-1-thread-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false
2023-09-24 23:34:53,720 pool-1-thread-1 DEBUG OutputStream closed
2023-09-24 23:34:53,720 pool-1-thread-1 DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false, all resources released: true
2023-09-24 23:34:53,720 pool-1-thread-1 DEBUG Appender console stopped with status true
2023-09-24 23:34:53,720 pool-1-thread-1 DEBUG Log4j2 ConfigurationScheduler shutting down threads in java.util.concurrent.ScheduledThreadPoolExecutor@5ef3405a[Running, pool size = 1, active threads = 0, queued tasks = 1, completed tasks = 0]
2023-09-24 23:34:53,721 pool-1-thread-1 DEBUG Stopped XmlConfiguration[location=D:\Dev\eventmesh\eventmesh-runtime\conf\log4j2.xml] OK
2023-09-24 23:34:53,721 pool-1-thread-1 DEBUG Stopped LoggerContext[name=73d16e93, org.apache.logging.log4j.core.LoggerContext@55634720] with status true

Task :eventmesh-starter:StartUp.main() FAILED

Execution failed for task ':eventmesh-starter:StartUp.main()'.

Process 'command 'C:\Program Files\Java\jdk-1.8\bin\java.exe'' finished with non-zero exit value -1

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.
BUILD FAILED in 1m 26s
68 actionable tasks: 68 executed

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
1 participant