- ERROR: Exception calling "AppendText" with "1" argument(s): "Object reference not set to an instance of an object."
- MainForm.psf (98, 3): ERROR: At Line: 98 char: 3
- ERROR: + $tb_Activity.AppendText($Output)
- ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- ERROR: + FullyQualifiedErrorId : NullReferenceException
- ERROR:
- ERROR: Exception calling "AppendText" with "1" argument(s): "Object reference not set to an instance of an object."
- MainForm.psf (98, 3): ERROR: At Line: 98 char: 3
- ERROR: + $tb_Activity.AppendText($Output)
- ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- ERROR: + FullyQualifiedErrorId : NullReferenceException
- ERROR:
- ERROR: You cannot call a method on a null-valued expression.
- ERROR: + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- ERROR: + FullyQualifiedErrorId : InvokeMethodOnNull
- ERROR: + PSComputerName : localhost
- ERROR:
- ERROR: You cannot call a method on a null-valued expression.
- ERROR: + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- ERROR: + FullyQualifiedErrorId : InvokeMethodOnNull
- ERROR: + PSComputerName : localhost
- ERROR:
- ERROR: Exception calling "AppendText" with "1" argument(s): "Object reference not set to an instance of an object."
- MainForm.psf (98, 3): ERROR: At Line: 98 char: 3
- ERROR: + $tb_Activity.AppendText($Output)
- ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- ERROR: + FullyQualifiedErrorId : NullReferenceException
- ERROR:
- ERROR: You cannot call a method on a null-valued expression.
- ERROR: + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- ERROR: + FullyQualifiedErrorId : InvokeMethodOnNull
- ERROR: + PSComputerName : localhost
- ERROR:
- ERROR: You cannot call a method on a null-valued expression.
- ERROR: + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- ERROR: + FullyQualifiedErrorId : InvokeMethodOnNull
- ERROR: + PSComputerName : localhost
- ERROR:
- ERROR: The term 'Set-Objects' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
- ERROR: included, verify that the path is correct and try again.
- ERROR: + CategoryInfo : ObjectNotFound: (Set-Objects:String) [], CommandNotFoundException
- ERROR: + FullyQualifiedErrorId : CommandNotFoundException
- ERROR: + PSComputerName : localhost
- ERROR:
- ERROR: The property 'Text' cannot be found on this object. Verify that the property exists and can be set.
- ERROR: + CategoryInfo : InvalidOperation: (:) [], RuntimeException
- ERROR: + FullyQualifiedErrorId : PropertyNotFound
- ERROR: + PSComputerName : localhost
- ERROR:
- ERROR: Exception calling "AppendText" with "1" argument(s): "Object reference not set to an instance of an object."
- MainForm.psf (98, 3): ERROR: At Line: 98 char: 3
- ERROR: + $tb_Activity.AppendText($Output)
- ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ERROR: + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
- ERROR: + FullyQualifiedErrorId : NullReferenceException
Hello all, not sure if this is a PS Studio issues or my I broke something. I am using the newest version PS Studio 2017 v 5.4.136.
Some information on my form:
It is to repair network folders/file permissions and dig into the structure rather than windows only going as far as it can see at the time and stopping. So when I locates a folder it did not have permissions to it take ownership applies new permission and then collects more child items it adds to its collection to do the same to. Kind of an automated way to dig in and get everything.
On to my issue:
I have everything working with the exception of one textblock I was using to output the number of folders / files modified so far. When I began it was working perfectly but I went in a played with the properties on the form elements to style it up and now it is not properly displaying the text within the block. I have even deleted that textblock/added it back, and even reset all the display properties of the entire form back. The only time the actual text is updated/displayed within the block is if my mouse moves over the form page. The text will continue to update if I move my mouse all around the form but if you stop so does the text updating.
Has anyone ever seen this before?