Replies: 4 comments 1 reply
-
hi 贴一下你的指令 我看下能否复现 |
Beta Was this translation helpful? Give feedback.
-
这个应该不是broker启动不了的原因。标准输出有打印什么错误信息吗 |
Beta Was this translation helpful? Give feedback.
-
@RongtongJin @yidazhi 可以看一下这个 ISSUE #7269 . 导致的原因是可能配置的问题导致Broker的某些启动错误,具体是哪个配置的问题你可以贴出来你的配置或者自己对照官网排查一下。 然后触发退出的操作。在退出过程中 TimerMessageStore 的属性并没有实例化,在执行shutdown的时候空指针了。 @RongtongJin 麻烦review pr #7270 代码 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
mq版本:rocketmq-all-5.1.3-bin-release.zip
系统centos7
启动Broker报
java.lang.NullPointerException: Cannot invoke "org.apache.rocketmq.store.timer.TimerMessageStore$TimerFlushService.shutdown()" because "this.timerFlushService" is null
at org.apache.rocketmq.store.timer.TimerMessageStore.shutdown(TimerMessageStore.java:511)
at org.apache.rocketmq.broker.BrokerController.shutdownBasicService(BrokerController.java:1338)
at org.apache.rocketmq.broker.BrokerController.shutdown(BrokerController.java:1464)
at org.apache.rocketmq.broker.BrokerStartup.createBrokerController(BrokerStartup.java:242)
at org.apache.rocketmq.broker.BrokerStartup.main(BrokerStartup.java:50)
请问如何处理
Beta Was this translation helpful? Give feedback.
All reactions