After creating a 'Diagnostic Test' within Active Directory | Advanced Troubleshooting | Diagnostics Test the following is populated within the Foglight Management Server (FMS) logs:
YYYY-MM-DD HH:MM:SS.SSS ERROR Error executing script id=system:active20director
y_tests.353 name="'Split on Comma' from the System module Active
Directory/Advanced Troubleshooting/Diagnostic Tests"
message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException:
com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: java.
lang.NullPointerException: Cannot invoke method split() on null object
----script start------
package system._active20directory_tests.scripts;
//def substring = stringValue[0..-2]
strings = [];
def stringArray = stringValue.split('\\,');
for(s in stringArray){
if(s != null && s != "")
strings.add(s);
}
return strings;
---- script end ------
in view: 'system:active20directory_tests.36' in top-level view: 'system:active
20directory_tests.13' for user: 'foglight'
YYYY-MM-DD HH:MM:SS.SSS WARN Error evaluating runtime value in context entry
with key rows
YYYY-MM-DD HH:MM:SS.SSS ERROR Error executing script id=system:active20director
y_tests.353 name="'Split on Comma' from the System module Active
Directory/Advanced Troubleshooting/Diagnostic Tests"
message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException:
com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: java.
lang.NullPointerException: Cannot invoke method split() on null object
----script start------
package system._active20directory_tests.scripts;
//def substring = stringValue[0..-2]
strings = [];
def stringArray = stringValue.split('\\,');
for(s in stringArray){
if(s != null && s != "")
strings.add(s);
}
return strings;
---- script end ------
in view: 'system:active20directory_tests.nested' in top-level view: 'system:ac
tive20directory_tests.13' for user: 'foglight'
YYYY-MM-DD HH:MM:SS.SSS WARN Error evaluating runtime value in context entry
with key rows