aboutsummaryrefslogtreecommitdiffstats
path: root/cps-path-parser/src/main
diff options
context:
space:
mode:
authorSourabh Sourabh <sourabh.sourabh@est.tech>2024-05-29 14:14:37 +0000
committerGerrit Code Review <gerrit@onap.org>2024-05-29 14:14:37 +0000
commitc97bed8797bf9f16a019d8fdf25e2191b6854136 (patch)
treed6f3a2e680a31e830a3c72de471a7228b39f3e9a /cps-path-parser/src/main
parentacff577c5abef548b1234d88b9a4f284f7fdef60 (diff)
parent45d3b6194e4feaaed14f5b57d54813d3c6c8bd62 (diff)
Merge "CPS-2187 - Move Module Set Tag into request body for dmi data access passthrough calls"
Diffstat (limited to 'cps-path-parser/src/main')
0 files changed, 0 insertions, 0 deletions
} /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright © Intel Corporation 2019

.. _cli_trouble_shooting_guide:

CLI Trouble Shooting Guide
==========================

This part provides the trouble shooting guide for ONAP CLI. It aims to provide guidance on the known issues you may encounter.

Details
--------
1. IllegalArgumentException

   * Problem: Get an IllegalArgumentException after executing the command.
   * Cause: The input inside the command contains a special character(e.g. '!', '$','\\') and the console mandates to escape this kind of chars
   * Sample Exception:
     ::

        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)

   * Solution: User need to escape the special character while giving input(e.g. using single/double quote or backslash)