Uploaded image for project: 'Command Line Interface'
  1. Command Line Interface
  2. CLI-165

IllegalArgumentException occurred in CLI while using password with special characters

XMLWordPrintable

      Met errors like this when having password with special character inside.

      oclip:open-cli>policy-type-list-all -m http://10.12.7.6:30240 -u "healthcheck" -p "zb!XztG34"

      Exception in thread "main" java.lang.IllegalArgumentException: !XztG34": event not found

                    at jline.console.ConsoleReader.expandEvents(ConsoleReader.java:507)
                    at jline.console.ConsoleReader.finishBuffer(ConsoleReader.java:379)
                    at jline.console.ConsoleReader.readLine(ConsoleReader.java:1327)
                    at jline.console.ConsoleReader.readLine(ConsoleReader.java:1117)
                    at jline.console.ConsoleReader.readLine(ConsoleReader.java:1105)
                    at org.onap.cli.main.OnapCli.handleInteractive(OnapCli.java:369)
                    at org.onap.cli.main.OnapCli.handle(OnapCli.java:645)
                    at org.onap.cli.main.OnapCli.main(OnapCli.java:751)

            ruoyu ruoyu
            ruoyu ruoyu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: