You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement null value checking for the property value.
Error output
Capture any error messages and or verbose messages with -Verbose.
Object reference not set to an instance of an object.
At C:\removed\PSRule\PSRule.psm1:182 char:17
+ $pipeline.Process($InputObject);
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [], NullReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException
Module in use and version:
Module: PSRule
Version: 0.11.0-B1910014
Captured output from $PSVersionTable:
Name Value
---- -----
PSVersion 6.2.3
PSEdition Core
GitCommitId 6.2.3
OS Microsoft Windows 10.0.18363
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
The text was updated successfully, but these errors were encountered:
Description of the issue
When a pipeline object property is exists but is set to null and is bound to TargetName/ TargetType a Null Reference Exception occurs.
To Reproduce
Steps to reproduce the issue:
Expected behaviour
Implement null value checking for the property value.
Error output
Capture any error messages and or verbose messages with
-Verbose
.Module in use and version:
Captured output from
$PSVersionTable
:The text was updated successfully, but these errors were encountered: