Exports as XML does not export incidents and produces null.htm file
search cancel

Exports as XML does not export incidents and produces null.htm file

book

Article ID: 277655

calendar_today

Updated On:

Products

Data Loss Prevention Data Loss Prevention Enforce

Issue/Introduction

Exports as XML does not export incidents and produces null.htm file. In the localhost log file you see the below error:

5 Jun 2023 14:25:47,634- Thread: 116 WARNING [com.vontu.manager.struts.transactions.ForbidsTransactionProxy] Aborting transaction due to exception thrown by class com.vontu.manager.report.incidentlist.IncidentListXMLExportAction.execute
15 Jun 2023 14:25:47,634- Thread: 116 SEVERE [com.vontu.manager] [/NetworkIncidentListXMLExport] Unexpected error occurred while processing action
15 Jun 2023 14:25:47,634- Thread: 116 SEVERE [com.vontu.manager] [/NetworkIncidentListXMLExport] 
Cause:
com.vontu.manager.system.EnforceRuntimeException: Unable to transform incident list for xml exportcom.vontu.manager.system.EnforceRuntimeException: Unable to transform incident list for xml export

(...)

    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NumberFormatException: Not a number: status.201
    at com.vontu.condition.sql.NumberFormatter.format(NumberFormatter.java:63)
    at com.vontu.manager.report.conditions.StatusOperandParser.<init>(IncidentStatusPredicate.java:159)
    at com.vontu.manager.report.conditions.IncidentStatusPredicate.generate(IncidentStatusPredicate.java:87) 

Environment

16.0

Cause

Reports that are exported to XML in DLP 16.0 are limited to the hard-coded DLP 15.8 format. They are not customizable.

Resolution

The Export as XML feature is deprecated in DLP 16.0 and will be removed in a future release. No further changes/fixes will be made for this feature. Information available in the XML exports is also available through JSON or Enforce REST API.

You can test if the below workaround works for you while you are on 16.0.x 

  1. Open the report that has the issue
  2. click on Select All link to select all the incidents in the report. if this doesn't work , click on the check box on table header to select all incidents
  3. Click on drop down next to More
  4. Click on Export Selected: xml