Data runs show error: Exception while executing filter query RSA Identity Governance & Lifecycle 6.8 and above
Originally Published: 2018-10-05
Article Number
Applies To
RSA Version/Condition: 6.8+, 7.x
Issue
Error - com.aveksa.server.filter.FilterException: Exception while executing filter query
09/19/2018 15:01:08.454 ERROR (default task-40) [com.aveksa.server.filter.ObjectListFilter] Exception while executing filter query com.aveksa.server.db.PersistenceException: select tasks0_.RUN_ID as RUN16_794_1_, tasks0_."ID" as ID1_1_, tasks0_."ID" as ID1_796_0_, tasks0_."TYPE" as TYPE2_796_0_, tasks0_."STATUS" as STATUS3_796_0_, tasks0_."SOURCE" as SOURCE4_796_0_, tasks0_."SOURCE_TYPE" as SOURCE5_796_0_, tasks0_."SOURCE_CONTAINER" as SOURCE6_796_0_, tasks0_."INPUT_DATA_REF" as INPUT7_796_0_, tasks0_."START_TIME" as START8_796_0_, tasks0_."END_TIME" as END9_796_0_, tasks0_."XMLDATA" as XMLDATA10_796_0_, tasks0_."IS_REPROCESS" as IS11_796_0_, tasks0_."USER_ID" as USER12_796_0_, tasks0_."PREVIOUS_EXECUTION_ID" as PREVIOUS13_796_0_, tasks0_."INT_1" as INT14_796_0_, tasks0_."STR_1" as STR15_796_0_, tasks0_.RUN_ID as RUN16_796_0_ from T_DATA_RUN_TASKS tasks0_ where tasks0_.RUN_ID=?
...
Caused by: java.sql.SQLException: Invalid character encountered in
at oracle.sql.CharacterSet.failUTFConversion(CharacterSet.java:2879)
at oracle.sql.CharacterSetAL32UTF8.toString(CharacterSetAL32UTF8.java:186)
at oracle.xdb.XMLType.processString(XMLType.java:3300)
...
Caused by: java.sql.SQLException: Invalid character encountered in
at oracle.sql.CharacterSet.failUTFConversion(CharacterSet.java:2879)
at oracle.sql.CharacterSetAL32UTF8.toString(CharacterSetAL32UTF8.java:186)
at oracle.xdb.XMLType.processString(XMLType.java:3300)
Cause
This may occur if the XML data is too large, or contains illegal characters, as a result of defect ACM-63383.
Resolution
The solution for this issue comes in two parts;
- Upgrade the RSA Identity Governance & Lifecycle to a version where defect ACM-63383 has been fixed.
- Identify all the rows in table T_DATA_RUN_TASKS, where the column XMLDATA contains faulty XML data.
Once identified, engage RSA Customer Support by logging a new case, and they will verify the results and provide the steps to correct the faulty XML data.
Upgrade RSA Identity Governance & Lifecycle to a version where defect ACM-63383 has been fixed
Defect ACM-63383 had been fixed in version 7.0.2, so we recommend that RSA Identity Governance & Lifecycle be upgraded to at least this version.
However, for lower versions we recommend that the latest patch be applied. Download and apply the latest patch for your version.
Identify all the rows in table T_DATA_RUN_TASKS, where the column XMLDATA contains faulty XML data
There is an additional problem in that once the faulty XML data exists, it needs to be manually removed. This is OK, because for completed Data Runs, the XML data is no longer needed. Also, the Data Run doesn't need to be deleted, so this means only 1 table is updated.
- Download the attached SQL script file named DATARUNTASKS_check.sql, and upload to the /home/oracle directory.
- Login as oracle, where you should be in the /home/oracle directory.
- Connect to the database using SQL*Plus:
sqlplus avuser/<password>
- Run the SQL script file, to detect how many rows in table T_DATA_RUN_TASKS has data in column XMLDATA that are likely to be causing the error in the UI.
SQL> @DATARUNTASKS_check.sql
- The results will look something like the following:
Starting T_DATA_RUN_TASKS.XMLDATA bad XML check
===============================================
ERROR DETECTED! on T_DATA_RUN_TASKS.XMLDATA XML column
Record identited by ID=237, RUN_ID=194
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
-------------------------------------------------------
ERROR DETECTED! on T_DATA_RUN_TASKS.XMLDATA XML column
Record identited by ID=3806, RUN_ID=2492
ORA-31196: XML nodes over 64K in size cannot be printed
-------------------------------------------------------
T_DATA_RUN_TASKS.XMLDATA bad XML check completed
2 corruptions detected
===============================================
ERROR DETECTED! on T_DATA_RUN_TASKS.XMLDATA XML column
Record identited by ID=237, RUN_ID=194
ORA-06502: PL/SQL: numeric or value error: character string buffer too small
-------------------------------------------------------
ERROR DETECTED! on T_DATA_RUN_TASKS.XMLDATA XML column
Record identited by ID=3806, RUN_ID=2492
ORA-31196: XML nodes over 64K in size cannot be printed
-------------------------------------------------------
T_DATA_RUN_TASKS.XMLDATA bad XML check completed
2 corruptions detected
- Engage RSA Customer Support by logging a new case, and pass them the output from Step 5 above, and refer them to article 000036811. The engineer will then review the article and provide the detailed steps to correct the faulty XML data.
Workaround
The defect must be corrected, and then the faulty XML data removed for functionality to be restored.
Attachments
If the attachment does not open when clicked, please refresh the page and try again. You must be logged into view the file(s).
Related Articles
ORA-20126 in Review Definition User Selection query with custom table in the AVCSUSER schema in RSA Governance & Lifecycle 98Number of Views 'ORA-00942: Table or View does not exist' error when referencing a custom table/view in a report query in RSA Identity Gov… 240Number of Views EnVision Remote Collector is not forwarding data to D-Srv 41Number of Views Unable to switchover database roles back to the default after a failover (Error: ORA-16608: one or more databases have war… 28Number of Views Queries to detect workflows and change requests that could overload the Workpoint Server in RSA Identity Governance & Life… 285Number of Views
Trending Articles
RSA Authentication Manager 8.9 Setup and Configuration Guide How to 'Trust' the RSA Authentication Manager Security Console Self-Signed Root CA certificate and prevent Cert warnings. RSA Authentication Manager 8.9 Release Notes (January 2026) Configure RSA Authentication Manager as a Secure Proxy Server for Cloud Access Service RSA Authentication Manager Upgrade Process
Don't see what you're looking for?