liudezhi2098 opened a new pull request #7164:
URL: https://github.com/apache/pulsar/pull/7164
Master Issue: #7163
## Motivation
Sometimes get partitioned metadata will throws NullPointerException, because
the NamespaceService not initialized yet , so needed a judgment .
## Modifications
BrokerService
```java
if(pulsar.getNamespaceService() == null){
return CompletableFuture.completedFuture(null);
}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]