mxsm commented on PR #7270:
URL: https://github.com/apache/rocketmq/pull/7270#issuecomment-1694664392

   > it's a little weird that I didn't reproduce it on my machine, seems that 
your broker didn't start as expected so it occurs NPE when shutting down 
according to your pr. Maybe you should try to catch the error log when starting 
rather than shutting down
   
   @joeCarf  Take a look at the configuration I provided in the ISSUE. This 
configuration has issues. When loading the storage file fails and returns 
false, the shutdown operation is triggered. However, at this point, certain 
variables in TimerMessageStore haven't been initialized, leading to a 
NullPointerException. It's reasonable to perform a shutdown of certain already 
started services due to the startup failure caused by errors. This part isn't 
problematic.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to