Review result fails to save the changes made in RSA Via Lifecycle and Governance with error ORA-00001: unique constraint (AVUSER.PK_T_REVIEW_COMP_CH_ID) violated error
Originally Published: 2016-04-20
Article Number
Applies To
RSA Product/Service Type: All
Issue
The text of the error is:
Error editing the Review
Failed to save the review components.
You will observe the error below in the aveksaServer.log Accessing the aveksaServer.log file for RSA Lifecycle and Governance (L&G):
ERROR (SaveReviewChangesThread11757-14313266) [com.aveksa.gui.pages.review.review.newEdit.SaveReviewChangesThread]
Failed to signoff review components
------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------
Caused by: com.aveksa.server.db.PersistenceException: insert into T_AV_REVIEW_COMP_CHANGES
("REVIEW_COMPONENT_ID", "CREATION_DATE", "REVIEWER", "STATE", "COMMENTS", "EXPIRATION_DATE",
"OPERATION_TYPE", "COMMITTED_HISTORY_ID", "ROLE_TYPE", "ID") values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
at com.aveksa.server.db.persistence.PersistenceServiceProvider.processInGivenTXUsingUpdate
(PersistenceServiceProvider.java:1905)
at com.aveksa.server.db.PersistenceManager.processInGivenTXUsingUpdate
(PersistenceManager.java:312)
at com.aveksa.server.review.Review.savePassedReviewComponent(Review.java:2221)
... 3 more
------------------------------------------------------------------------------------------------------------------
Caused by: java.sql.BatchUpdateException: ORA-00001: unique constraint
(AVUSER.PK_T_REVIEW_COMP_CH_ID) violated
Cause
SELECT max(id) FROM t_av_review_comp_changes; SELECT REVIEW_COMP_CHANGE_SEQUENCE.nextVal FROM dual;You will find the value returned from the second query is smaller than the value from first one. The value from second query should be ideally greater than or equal to the value from the first. The max IDs need to be in sync with the sequence.
Resolution
- After executing the queries above, execute query in step 2 using the avuser[database user] login using
- SQL Developer; or
- A remote connection and using “sqlplus username/password” command.
- If the result of the second query is less than the value of the results of the first query, increment the sequence as required. To do this, execute the query below:
ALTER SEQUENCE REVIEW_COMP_CHANGE_SEQUENCE INCREMENT BY <value>;
Increment the REVIEW_COMP_CHANGE_SEQUENCE by a value so that it becomes more than value shown from the first query. For example,
ALTER SEQUENCE REVIEW_COMP_CHANGE_SEQUENCE INCREMENT BY 100;
- Restart the server after running the ALTER command since sequence values are cached.
Related Articles
SetPin has garbled characters when ID contains 7Ch value in RSA ACE/Server 3Number of Views View history of review definition changes and what changes were made in RSA Identity Governance & Lifecycle 41Number of Views Account Reviews cannot be completed and 'ORA-00904: "CACHE_"."COMP_RES_CASxx": invalid identifier' errors are generated in… 135Number of Views When editing a Workflow using Firefox version 75 or higher, the Workflow Save button is enabled when no changes were made … 6Number of Views Save button in workflow does not highlight to save the changes made in the approval node of RSA Identity Governance & Life… 18Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process RSA Release Notes for RSA Authentication Manager 8.8 RSA RADIUS Server service failed to start in the RSA Authentication Manager 8.1 Operations Console Microsoft Entra ID External MFA - Relying Party Configuration Using OIDC - RSA Ready Implementation Guide RSA Release Notes: Cloud Access Service and RSA Authenticators
Don't see what you're looking for?