"OptionalDataMissingScriptServerException" message is reported when evaluating the HostService state under the "Run Condition Query" window.
说明
When the condition of the HostServices rule is checked from "Run Condition Query" window under the rule a message like the one below is sometimes reported. Does the message indicate a problem?
com.quest.nitro.service.scripting.errors.noisy.OptionalDataMissingScriptServerException: state (script: 36b71307ce7024907678e8156cd357d3)
解决办法
The "OptionalDataMissingScriptServerException" message being reported when evaluating the service state is normal. The state of a HostService object is only updated when there is a change of state or when the WindowsAgent is first activated. If the state hasn't been updated within the last 5 minutes the "OptionalDataMissingScriptServerException" will be reported when evaluating the state from the "Run Condition Query" window.