yuz10 opened a new issue, #8740:
URL: https://github.com/apache/rocketmq/issues/8740

   ### Before Creating the Bug Report
   
   - [X] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [X] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [X] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   ubuntu 24.04
   
   ### RocketMQ version
   
   5.3.0
   
   ### JDK Version
   
   1.8.0
   
   ### Describe the Bug
   
   rocksDBConfigToJson fail to print subscriptionGroups
   
   ### Steps to Reproduce
   
   1. set broker config `storeType=defaultRocksDB`
   2. create a consumerGroup
   3. run command `mqadmin rocksDBConfigToJson -p /tmp/config/ -t 
subscriptionGroups`
   
   
   ### What Did You Expect to See?
   
   print subscriptionGroups json success
   
   ### What Did You See Instead?
   
   print subscriptionGroups json fail
   ```
   java.lang.NullPointerException
           at 
org.apache.rocketmq.common.config.ConfigRocksDBStorage.iterator(ConfigRocksDBStorage.java:277)
           at 
org.apache.rocketmq.tools.command.metadata.RocksDBConfigToJsonCommand.execute(RocksDBConfigToJsonCommand.java:82)
           at 
org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:190)
           at 
org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:139)
   ```
   
   ### Additional Context
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to