Home Image-Pro Automation (Macros, Apps, Reports)
Options

'ThisApplication.Output.Show' is generating 'Object reference not set to an instance of an object.'

All --

** QUESTION **

Should the

    ThisApplication.Output.Show

function be generating an error in PREMIER 9.1.2 if the OUTPUT WINDOW is not visible?

** BACKGROUND **

I have the following statement within a macro . . .

    'Show the output window
    ThisApplication
.Output.Show

When the macro hits this statement, Premier (9.1.2) generates an error that says

    Object reference not set to an instance of an object.

I have performed the COPY ERROR TO CLIPBOARD function and pasted the text into a TXT file (attached) to show the other details of this error.

If I press the OK button on the ERROR DIALOG BOX, the OUTPUT WINDOW is shown and the program proceeds properly.  If the OUTPUT WINDOW is already open, the error does not happen.

This module was created and tested with 9.1.1 and I do not believe this was happening.

** **

Thanks.

-- Matt

Best Answer

  • Options
    Answer ✓

    Hi Matt,


    Thank you for reporting this issue - will be fixed in the next patch.
    Note: this happens only if Output window was previously undocked (for now, please, redock Output window to the main form).


    Thanks,
    Nikita.

Answers

  • Options
    Matt,

    I am not able to reproduce this. Maybe there's something else unusual about your setup or your macro?

    Pierre
  • Options
    Pierre --

    The only other thing that I think may be relevant is that my computer also has PREMIER 3D installed but the EVALUATION PERIOD has expired and the DONGLE for that software is not plugged in because it has not arrived here yet.

    During a demonstration of PREMIER after the 3D EVALUATION PERIOD expired, similar errors were presented randomly during the demonstration.

    -- Matt
  • Options
    Pierre and Nikita --

    Thank you for looking into this issue and determining its cause and resolution.

    -- Matt
Sign In or Register to comment.