command line object reference not set to an instance of an object

Hello,
We are evaluating SCFO using the 28day free version of Schema compare for Oracle. While comparing two databases using the command line we faced the below error. Could you please let us know if there is a way to get the schema compare sync script using the command line without any errors?

Preparing actions
Generating actions
Creating script text
Error: Object reference not set to an instance of an object.
Unexpected error: Object reference not set to an instance of an object.
Object reference not set to an instance of an object.
System.NullReferenceException
   at RedGate.Oracle.SchemaCompare.CommandLine.Program.ProcessSyncWarnings(SchemaCompareFlags schemaCompareFlags, Script script, ActionState actionState, Boolean filterScriptWarnings)
   at RedGate.Oracle.SchemaCompare.CommandLine.Program.DoScriptingAndDeployment(ISchemaComparisonState state, IDataSource target, SchemaCompareFlags schemaCompareFlags)
   at RedGate.Oracle.SchemaCompare.CommandLine.Program.Main(String[] cmdLineargs)

Thank you
Tagged:

Answers

  • Eddie DEddie D Posts: 1,803 Rose Gold 5
    Hi,
    Thank you for your forum post.

    Would you please add the following switch to your command line syntax:
    /loglevel:verbose
    

    To your command line syntax and re-run the task. This will generate a log file for this comparison. The log file will be generated in this path:

    C:\Users\<user_name>\AppData\Local\Red Gate\Logs\Schema Compare for Oracle\

    Locate the log file generated and send a copy to this email address support@red-gate.com for me to review.

    Also include the version of Schema Compare for Oracle you are using?

    Many Thanks
    Eddie
    Eddie Davis
    Senior Product Support Engineer
    Redgate Software Ltd
    Email: support@red-gate.com
  • Deyan_PeshevDeyan_Peshev Posts: 1 New member
    Same issue. Still not resolved.
Sign In or Register to comment.