AnyBox icon indicating copy to clipboard operation
AnyBox copied to clipboard

Error as "cannot call a method on a null-valued expression"

Open RunOnTheMoon opened this issue 2 years ago • 0 comments

This is an amazing module but I meet the following issue when use 'show-anybox' in a foreach method, any ideas for this? thanks a lot.

You cannot call a method on a null-valued expression. At C:\Program Files\WindowsPowerShell\Modules\AnyBox\0.5.1\Public\Show-AnyBox.ps1:1490 char:13

  •         $form.Window.Activate()
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], RuntimeException
    • FullyQualifiedErrorId : InvokeMethodOnNull

RunOnTheMoon avatar Oct 17 '22 07:10 RunOnTheMoon