bxfjb opened a new issue, #8049: URL: https://github.com/apache/rocketmq/issues/8049
### 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 CentOS 7 ### RocketMQ version develop ### JDK Version JDK 8 ### Describe the Bug When `TieredMessageStore` delete an empty topic, `DefaultMetaStore`'s method `iterateQueue()` would throw NPE for `queueMetadataTable.get(topic)` is null. ### Steps to Reproduce 1. Enable tiered store with `DefaultMetadataStore`. 2. Create a topic, and do not produce message. 3. Delete the topic at the dashboard, the NPE should be showed. ### What Did You Expect to See? The topic should be deleted normally. ### What Did You See Instead? The dashboard reports NPE. ### 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: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org