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
View history of review definition changes and what changes were made in RSA Identity Governance & Lifecycle 43Number of Views SetPin has garbled characters when ID contains 7Ch value in RSA ACE/Server 3Number 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 Unable to make changes to an RSA Identity Governance and Lifecycle collector 98Number of Views Z: Need to finish - 'Multiple users' showing in role history instead of person or persons who made changes in RSA Identity… 5Number of Views
Trending Articles
RSA Authentication Manager Upgrade Process How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA Authentication Manager 8.9 Release Notes (January 2026) AFX Server Fails to Start with 'Could Not Build a Validated Path' and 'Timed Out Waiting for AFX Applications to Start' in…
Don't see what you're looking for?