trexinc opened a new issue #7301:
URL: https://github.com/apache/pulsar/issues/7301


   Pulsar 2.5.2
   If the run "pulsar-admin namespaces list" and by mistake give it a tenant/ns 
instead of just tenant I get the following error, and it takes some time to 
figure out what the problem is. Some input validation would help here.
   
   > pulsar-admin namespaces list tenant/ns
   null
   
   Reason: javax.ws.rs.client.ResponseProcessingException: 
com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize 
instance of `java.util.ArrayList<java.lang.Object>` out of START_OBJECT token
    at [Source: 
(org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream);
 line: 1, column: 1]
   


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