eolivelli opened a new issue #9633:
URL: https://github.com/apache/pulsar/issues/9633


   **Describe the bug**
   
   I see this NullPointerException on the broker logs while issuing 
"`pulsar-admin sinks available-sink`"
   
   I have `functionsWorkerEnabled=false` in _broker.conf_
   
   ```
   java.lang.NullPointerException                                               
                                                                                
                           │
   │ pulsar-broker     at 
org.apache.pulsar.broker.admin.impl.SinksBase.sinks(SinksBase.java:53) 
~[org.apache.pulsar-pulsar-broker-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]            
                                     │
   │ pulsar-broker     at 
org.apache.pulsar.broker.admin.impl.SinksBase.getSinkList(SinksBase.java:522) 
~[org.apache.pulsar-pulsar-broker-2.8.0-SNAPSHOT.jar:2.8.0-SNAPSHOT]     
   ```
   
   We should return a more user friendly error that explain the problem.
   
   
   Tested on current master on 2.8.0-SNAPSHOT


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


Reply via email to