First, there is a wording that is in the title of this question. + FullyQualifiedErrorId : InvokeMethodOnNull + CategoryInfo : InvalidOperation: (:), RuntimeException + If($Search.value() -contains $SearchString) An example: You cannot call a method on a null-valued expression. To determine what variable is null and where, you need to read the stack trace and the line/symbol numbers of the line in question. This exception arises every time you attempt to query a variable that appears to be null. This is a Powershell version of "null pointer exception".
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |