8000 Jraft produce a lot of "java.lang.NullPointerException: null" after server exceptionally shutdown · Issue #9271 · alibaba/nacos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Jraft produce a lot of "java.lang.NullPointerException: null" after server exceptionally shutdown #9271
Closed
@yann9

Description

@yann9

Issue Description

Type: bug report

Describe what happened (or what feature you want)

Jraft produce a lot of "java.lang.NullPointerException: null" after server exceptionally shutdown

Describe what you expected to happen

How to reproduce it (as minimally and precisely as possible)

...
2022-10-08 18:14:28,619 ERROR  Failed to join the cluster, retry...
java.lang.NullPointerException: null
	at com.alipay.sofa.jraft.core.CliServiceImpl.getLeader(CliServiceImpl.java:478)
	at com.alipay.sofa.jraft.core.CliServiceImpl.getPeers(CliServiceImpl.java:629)
	at com.alipay.sofa.jraft.core.CliServiceImpl.getPeers(CliServiceImpl.java:524)
	at com.alibaba.nacos.core.distributed.raft.JRaftServer.registerSelfToCluster(JRaftServer.java:353)
	at com.alibaba.nacos.core.distributed.raft.JRaftServer.lambda$createMultiRaftGroup$0(JRaftServer.java:264)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
	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:750)
...

Tell us your environment

nacos 2.1.1
jdk 1.8.0_345

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementCategory issues or prs related to enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0