There is null domain value when creating DotNet - transactions and performance counters Agent.
Following errors found in the DotNet agent logs:
YYYY-MM-DD HH:MIN ERROR [http-0.0.0.0-8080-39] com.quest.wcf.core.module.function.FunctionManager - Error executing script id=system:net_agentconfig.70 name="'addNewDomain' from the System module Application Servers/DotNet/Agent Config"
message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: java.lang.NullPointerException:
Cannot invoke method contains() on null object
...
return null;
in view: 'system:net_agentconfig.61' in top-level view: 'system:custom_application_admin.1' for user: '123admin'
javax.script.ScriptException: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException: java.lang.NullPointerException:
Cannot invoke method contains() on null object
This is a defect, CAC-728.
STATUS:
To be resolved in the future release of foglight product.
WORKAROUND:
1. Go to FMS Console > Dashboards > Configuration > Definitions
2. Under Definitions, open Application Servers > DotNet > AgentConfig and select AgentConfig
3. In the drop down below, change "Views" to "Functions"
4. find the function "addNewDomain", and click Edit on the right 5. Replace the line def domains = domainOption.get('optionalValues', null); with two lines below
def domains = domainOption.get('optionalValues', null) ?: []; domainOption.store('optionalValues', domains, specificTimeRange);