Skip to content

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

@RunOnTheMoon

Description

@RunOnTheMoon

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions