Error "Inline Compliance Evaluation Error"

Article:TECH142821  |  Created: 2010-10-27  |  Updated: 2012-07-24  |  Article URL http://www.symantec.com/docs/TECH142821
Article Type
Technical Solution


Environment

Issue



Error "Inline Compliance Evaluation Error"


Error



Windows Event Viewer Application Error:

Source: SecureFusion
EventID: 0

Error during inline compliance evaluation: System.NullReferenceException:
Object reference not set to an instance of an object. at SCAPLibrary.OvalCriteria.EvaluateCriteria(OvalCriteria[]
AllOvalDefinitionCriteria, Host EvaluatedHost, String& ViolationValue, Int32& ValueID, Int32 MapID, OvalDataSet&
myOvalDataSet) at SCAPLibrary.OvalCriteria.EvaluateCriteria(OvalCriteria[] AllOvalDefinitionCriteria,
Host EvaluatedHost, String& ViolationValue, Int32& ValueID, Int32 MapID, OvalDataSet& myOvalDataSet) at
SCAPLibrary.OvalCriteria.EvaluateCriteria(OvalCriteria[] AllOvalDefinitionCriteria, Host EvaluatedHost,
String& ViolationValue, Int32& ValueID, Int32 MapID, OvalDataSet& myOvalDataSet) at
SCAPLibrary.OvalDefinition.EvaluateDefinition(Host EvaluatedHost, String& ViolationValue,
Int32& ValueID, Int32 MapID, OvalDataSet& myOvalDataSet) at SubmissionLibrary.Submission.PM.EvaluateHostOvalCompliance(Host myHost,
OvalDataSet myOvalDataSet, Boolean DoExportOvalResults, XmlTextWriter OvalWriter, Boolean DoExportXCCDFResults,
Int32 MapID, Int32 SetID, Hashtable AllBizAppIDsByHostID, Hashtable AllXCCDFBenchmarkPolicyMapsByPolicyMapID,
Hashtable myBenchmarks, Hashtable myBenchmarkXmlDocuments, String OrganizationName,
Hashtable AllXCCDFBenchmarkCPEMapsByXCCDFBenchmarkID, Hashtable AllSFUsers, Hashtable
HostsEvaluatedByMapIDByUnitID, Hashtable HostsNonCompliantByMapIDByUnitID, Hashtable myBenchmarkFilenames,
Boolean DoExportFullOvalResults) at SubmissionLibrary.Submission.SubmitHostConfigData(HostConfiguration hc,
Boolean AggregateOverlappingNetworks, User SubmittedByUser, Int32 MaskedOctetValue, DateTime DateScanned,
Boolean AutomatedScan, Boolean IncludesDiscoveryInfo, Int32 AgentHostID, Int32& HostID)


Cause



This will happen if the FDCC  OVAL definitions are referencing CPE's that weren't present in the dictionary.


Solution



Re-import the FDCC OVAL content and this time check the boxes next to "Skip XML Validation" and "Ignore Missing CPEs" boxes. This should allow you to re-import the policy without errors.

After the re-import open a command prompt on the portal server and navigate to: "C:\<Install Path>\SFPolicyEvaluator" and run "policyevaluator.exe -analyzenow". This will evaluate all your imported policies so you can verify the issue is resolved.




Article URL http://www.symantec.com/docs/TECH142821


Terms of use for this information are found in Legal Notices