Overview
While importing the Aurea Monitor Management Server (AMS) deploy.xml file exported from version 10.x into AMS 12.x you are getting the below exceptions.
You have imported the custom message field evaluators first using a separate deploy.xml. Still, while importing the deploy_all.xml file containing the rest of your configuration items, you are facing the below error (exception) in the logs:
<msg>API0009: One or more objects were found invalid.
INTEGRITY0087: Error on field 'com.actional.soapstation.db.StatSelector#type' (4E50-V4kwDID4qiPS7VUB-E656201A):
CFGMGR0039: Field 'type' must have a value.
INTEGRITY0087: Error on field 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria#rules' (BA20-T6wHatQ2CXM36lUB-E656201A):
CFGMGR0039: Field 'rules' must have a value.
INTEGRITY0119: Unexpected exception occurred while validating an instance of 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria' with keyID 'BA20-T6wHatQ2CXM36lUB-E656201A'.
java.lang.NullPointerException
INTEGRITY0087: Error on field 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria#rules' (B030-T6wHatQ2CXM36lUB-E656201A):
CFGMGR0039: Field 'rules' must have a value.
INTEGRITY0119: Unexpected exception occurred while validating an instance of 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria' with keyID 'B030-T6wHatQ2CXM36lUB-E656201A'.
java.lang.NullPointerException
INTEGRITY0087: Error on field 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria#rules' (B620-T6wHatQ2CXM36lUB-E656201A):
CFGMGR0039: Field 'rules' must have a value.
INTEGRITY0119: Unexpected exception occurred while validating an instance of 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria' with keyID 'B620-T6wHatQ2CXM36lUB-E656201A'.
java.lang.NullPointerException
INTEGRITY0087: Error on field 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria#rules' (B320-T6wHatQ2CXM36lUB-E656201A):
CFGMGR0039: Field 'rules' must have a value.
INTEGRITY0119: Unexpected exception occurred while validating an instance of 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria' with keyID 'B320-T6wHatQ2CXM36lUB-E656201A'.
java.lang.NullPointerException
INTEGRITY0087: Error on field 'com.actional.lg.db.sitecriteria.NameAndTypeRulesSiteCriteria#rules' (F920-T6wHatQ2CXM36lUB-E656201A):
CFGMGR0039: Field 'rules' must have a value.
Solution
- Stop your AMS 12.x.
- Copy your ActionalServer.xml from v10.x and put it under your ..\profile\config folder of your AMS 12.x
- Start your AMS 12.x. All the configurations will be upgraded by default.
- Create your default profiles manually, because they will not be available after the upgrade (they are not upgraded when using this method). You can check the default profile configurations from another working environment as a reference and create the same.