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 2021/01/05 10:25:30 UTC

[GitHub] [pulsar] eolivelli opened a new issue #9130: Pulsar-admin sinks create: bad error message "java.lang.NullPointerException: path is 'null'." in case of missing "--name" parameter

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


   **Describe the bug**
   If you try to create a "sink" without setting a name you get this error, that is not very user friendly
   java.lang.NullPointerException: path is 'null'.
   
   **To Reproduce**
   ```
   bin/pulsar-admin sinks create -t cassandra -i persistent://public/default/mytopic --sink-config-file /path/to/test.yml 
   null
   Reason: java.lang.NullPointerException: path is 'null'.
   
   ```
   
   **Expected behavior**
   A better error message
   
   


----------------------------------------------------------------
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] sijie closed issue #9130: Pulsar-admin sinks create: bad error message "java.lang.NullPointerException: path is 'null'." in case of missing "--name" parameter

Posted by GitBox <gi...@apache.org>.
sijie closed issue #9130:
URL: https://github.com/apache/pulsar/issues/9130


   


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