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 3 years ago • 2 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

Please share some additional code context and I can help you troubleshoot.

fresh2dev avatar Dec 09 '24 01:12 fresh2dev

sorry,i didnot recored it anymore 发自我的 iPhone在 2024年12月9日,09:42,Don @.***> 写道: Please share some additional code context and I can help you troubleshoot.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

RunOnTheMoon avatar Dec 09 '24 03:12 RunOnTheMoon