Super Contributor.
Super Contributor.

(UCMDB Support Tip) - Service Now push failed with error

If you are doing the Service Now push in uCMDB and you get the below error message:



org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
X:\UCMDB\DataFlowProbe\runtime\probeManager\discoveryConfigFiles\ServiceNowGenericAdapter\mappings\scripts\SNOWPushFunctions.groovy: 154: Apparent variable 'AssetStatusMapping' was found in a static scope but doesn't refer to a local variable, static field or class. Possible causes:
You attempted to reference a variable in the binding or an instance variable from a static context.
You misspelled a classname or statically imported field. Please check the spelling.
You attempted to use a method 'AssetStatusMapping' but left out brackets in a place not allowed by the grammar.
@ line 154, column 16.
return AssetStatusMapping[status]==null?status:AssetStatusMapping[status];


That means you may using the old adpater, and pls contact support to get new adapter and it will sovle the issue.


HPE Software Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

Please hit the Kudo botton, if you find this post useful.

0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.