java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option.

JIRA | Philippe Laflamme | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Typing export without any option currently outputs a stacktrace, it seems like opal crashed, but in fact it's simply reporting that the command requires some options... This isn't very user-friendly... administrator@opal> export Error executing command 'export'. java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option. at org.obiba.opal.cli.client.command.ExportCommand.validateOptions(ExportCommand.java:36) at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:26) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:132) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:100) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:164) java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option. Other commands behave more nicely: administrator@opal> import Option is mandatory: --datasource -d value : The destination datasource into which the variable catalogue and the participants data will be imported. Option is mandatory: --owner -o value : The variable name under which the participants identifiers that will be stored in the participants key database. Type 'import --help' for command usage. administrator@opal> keystore Option is mandatory: --alias -a value : The alias name of the encryption key pair. Type 'keystore --help' for command usage. administrator@opal> decrypt No input file etc...

    JIRA | 7 years ago | Philippe Laflamme
    java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option.
  2. 0

    Typing export without any option currently outputs a stacktrace, it seems like opal crashed, but in fact it's simply reporting that the command requires some options... This isn't very user-friendly... administrator@opal> export Error executing command 'export'. java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option. at org.obiba.opal.cli.client.command.ExportCommand.validateOptions(ExportCommand.java:36) at org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:26) at org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:132) at org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:100) at org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:164) java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option. Other commands behave more nicely: administrator@opal> import Option is mandatory: --datasource -d value : The destination datasource into which the variable catalogue and the participants data will be imported. Option is mandatory: --owner -o value : The variable name under which the participants identifiers that will be stored in the participants key database. Type 'import --help' for command usage. administrator@opal> keystore Option is mandatory: --alias -a value : The alias name of the encryption key pair. Type 'keystore --help' for command usage. administrator@opal> decrypt No input file etc...

    JIRA | 7 years ago | Philippe Laflamme
    java.lang.IllegalArgumentException: Must provide either the 'destination' option or the 'out' option.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Must provide either the 'destination' option or the 'out' option.

      at org.obiba.opal.cli.client.command.ExportCommand.validateOptions()
    2. org.obiba.opal
      OpalConsole.main
      1. org.obiba.opal.cli.client.command.ExportCommand.validateOptions(ExportCommand.java:36)
      2. org.obiba.opal.cli.client.command.ExportCommand.execute(ExportCommand.java:26)
      3. org.obiba.opal.cli.client.OpalConsole.prompt(OpalConsole.java:132)
      4. org.obiba.opal.cli.client.OpalConsole.<init>(OpalConsole.java:100)
      5. org.obiba.opal.cli.client.OpalConsole.main(OpalConsole.java:164)
      5 frames