Error when creating a new policy from a template and when creating a new EDM profile

book

Article ID: 184526

calendar_today

Updated On:

Products

Data Loss Prevention Enforce

Issue/Introduction

Data Loss Prevention (DLP) Enforce

When trying to create a new policy from a template or creating a new EDM profile, the following error is seen in Enforce:

An unexpected error has occurred. This could be due to one of the following: 1) Your session timed out and you selected a link that was no longer valid, 2) You used the browser back or forward button placing the system into an inconsistent state, or 3) The system experienced a temporary problem.

An unexpected error has occurred. This could be due to one of the following: 1) Your session timed out and you selected a link that was no longer valid, 2) You used the browser back or forward button placing the system into an inconsistent state, or 3) The system experienced a temporary problem.

The following error is seen in the localhost logs on the Enforce server:

 

SEVERE [com.vontu.manager.policy.template.TemplatesReader] Error Getting Parsing Templates

Cause:

org.xml.sax.SAXParseException: Error at line 216 char 48: null

java.lang.NullPointerException

         at org.apache.commons.digester.Digester.createSAXException(Digester.java:2919)

         at org.apache.commons.digester.Digester.createSAXException(Digester.java:2945)

         at org.apache.commons.digester.Digester.endElement(Digester.java:1133)

         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)

         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)

         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)

Cause

This is caused by the log4j.properties file being modified from it's default values.

Environment

DLP 14.6 and higher

Resolution

  1. Modify the \Protect\tomcat\lib\log4j.properties file to ensure the following is set properly:

    log4j.rootLogger=INFO, R
     
  2. Restart the 'VontuManager' or 'Symantec DLP Manager' service, depending on your version of DLP installed.
  3. Attempt to create the policy or EDM profile again.