You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/04 03:43:19 UTC
[GitHub] [pulsar] liudezhi2098 opened a new issue #7163: Sometimes get partitioned metadata will throws NullPointerException
liudezhi2098 opened a new issue #7163:
URL: https://github.com/apache/pulsar/issues/7163
**Describe the bug**
Sometimes get partitioned metadata will throws NullPointerException,
because the NamespaceService not initialized yet
```bash
WARN org.apache.pulsar.broker.service.ServerCnx - Failed to get Partitioned Metadata
[/112.0.0.1:6760] persistent://public/default/test null
java.lang.NullPointerException: null
at org.apache.pulsar.broker.service.BrokerService.fetchPartitionedTopicMetadataCheckAllowAutoCreationAsync(Br
okerService.java:1830)
at org.apache.pulsar.broker.admin.impl.PersistentTopicsBase.lambda$23(PersistentTopicsBase.java:2215)
at org.apache.pulsar.broker.admin.impl.PersistentTopicsBase$$Lambda$141/1430619109.apply(Unknown Source) ~[?:
?]
at java.util.concurrent.CompletableFuture.doThenCompose(CompletableFuture.java:1996)
at java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2546)
at org.apache.pulsar.broker.admin.impl.PersistentTopicsBase.getPartitionedTopicMetadata(PersistentTopicsBase.
java:2214)
at org.apache.pulsar.broker.service.ServerCnx.lambda$4(ServerCnx.java:469)
at org.apache.pulsar.broker.service.ServerCnx$$Lambda$131/1787376191.apply(Unknown Source)
at java.util.concurrent.CompletableFuture.doThenApply(CompletableFuture.java:1530)
at java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:2369)
at org.apache.pulsar.broker.service.ServerCnx.handlePartitionMetadataRequest(ServerCnx.java:467)
```
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [pulsar] liudezhi2098 closed issue #7163: Sometimes get partitioned metadata will throws NullPointerException
Posted by GitBox <gi...@apache.org>.
liudezhi2098 closed issue #7163:
URL: https://github.com/apache/pulsar/issues/7163
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [pulsar] jiazhai commented on issue #7163: Sometimes get partitioned metadata will throws NullPointerException
Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #7163:
URL: https://github.com/apache/pulsar/issues/7163#issuecomment-639213588
Thanks for @liudezhi2098 to help on this issue.
----------------------------------------------------------------
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:
users@infra.apache.org