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

JIRA | Philippe Laflamme | 7 years ago
  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.
  3. 0

    sqlj connection problem

    Coderanch | 1 decade ago | Karla
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    sqlj runtime error with oracle 10G in Websphere6 or 5.1

    Oracle Community | 1 decade ago | 535431
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso. java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9.0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso.
  6. 0

    SQLJ -codegen=oracle

    Oracle Community | 1 decade ago | 374741
    java.lang.IllegalArgumentException: SQLJ programs translated with the option -codegen=oracle must be run under Oracle JDBC 9. 0.0 or higher. If the Oracle JDBC driver is wrapped, then the wrapper must implement all of the oracle.jdbc.OracleXxxx interfaces. Alternatively, you can translate SQLJ programs either with -codegen=iso or with -codegen=jdbc.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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