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 2019/06/26 22:57:29 UTC

[GitHub] [pulsar] rdhabalia opened a new pull request #4615: [pulsar-broker] fix NPE at managed-ledger when fetch reader internal-stats

rdhabalia opened a new pull request #4615: [pulsar-broker] fix NPE at managed-ledger when fetch reader internal-stats
URL: https://github.com/apache/pulsar/pull/4615
 
 
   ### Motivation
   
   Broker throws NPE when pulsar-admin tries to fetch stats-internal for topic with reader.
   
   ```
   Caused by: java.lang.NullPointerException
   	at org.apache.bookkeeper.mledger.impl.ManagedCursorImpl.getProperties(ManagedCursorImpl.java:234) ~[classes/:?]
   	at org.apache.pulsar.broker.service.persistent.PersistentTopic.lambda$getInternalStats$48(PersistentTopic.java:1461) ~[classes/:?]
   	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_92]
   	at org.apache.pulsar.broker.service.persistent.PersistentTopic.getInternalStats(PersistentTopic.java:1446) ~[classes/:?]
   	at org.apache.pulsar.broker.admin.impl.PersistentTopicsBase.internalGetInternalStats(PersistentTopicsBase.java:621) ~[classes/:?]
   	at org.apache.pulsar.broker.admin.v2.PersistentTopics.getInternalStats(PersistentTopics.java:430) ~[classes/:?]
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_92]
   ```

----------------------------------------------------------------
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


With regards,
Apache Git Services