woofyzhao opened a new issue, #3876:
URL: https://github.com/apache/incubator-inlong/issues/3876

   ### What happened
   
   The managerctl tool crashes when starts with -h or --help argument: 
   
   ./managerctl -h
   Exception in thread "main" java.lang.NullPointerException
        at 
org.apache.inlong.manager.client.cli.CommandToolMain.run(CommandToolMain.java:86)
        at 
org.apache.inlong.manager.client.cli.CommandToolMain.main(CommandToolMain.java:62)
   
   ### What you expected to happen
   
   Gives usage info rather than die.
   
   ### How to reproduce
   
   run ./managerctl -h or ./managerctl --help
   
   ### Environment
   
   _No response_
   
   ### InLong version
   
   master
   
   ### InLong Component
   
   InLong Manager
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to