rdhabalia opened a new pull request #4965: Fix: NPE while cleaning up namespace 
node
URL: https://github.com/apache/pulsar/pull/4965
 
 
   ### Motivation
   It fixes below NPE
   ```
   16:17:50.180 [main INFO  org.apache.pulsar.broker.PulsarService - Starting 
name space service, bootstrap namespaces=
   16:17:50.204 [main ERROR org.apache.pulsar.broker.namespace.NamespaceService 
- null
   java.lang.NullPointerException: null
       at 
org.apache.pulsar.broker.namespace.ServiceUnitZkUtils.cleanupSingleNamespaceNode(ServiceUnitZkUtils.java:156)
 ~[org.apache.pulsar-pulsar-broker-2.4.0.jar:2.4.0
       at 
org.apache.pulsar.broker.namespace.ServiceUnitZkUtils.cleanupNamespaceNodes(ServiceUnitZkUtils.java:134)
 ~[org.apache.pulsar-pulsar-broker-2.4.0.jar:2.4.0
       at 
org.apache.pulsar.broker.namespace.ServiceUnitZkUtils.cleanupNamespaceNodes(ServiceUnitZkUtils.java:137)
 ~[org.apache.pulsar-pulsar-broker-2.4.0.jar:2.4.0
       at 
org.apache.pulsar.broker.namespace.ServiceUnitZkUtils.initZK(ServiceUnitZkUtils.java:113)
 ~[org.apache.pulsar-pulsar-broker-2.4.0.jar:2.4.0
       at 
org.apache.pulsar.broker.namespace.NamespaceService.<init>(NamespaceService.java:151)
 ~[org.apache.pulsar-pulsar-broker-2.4.0.jar:2.4.0
       at 
org.apache.pulsar.broker.PulsarService.lambda$getNamespaceServiceProvider$1(PulsarService.java:584)
 ~[org.apache.pulsar-pulsar-broker-2.4.0.jar:2.4.0
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to