Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

CS Framework install fails unique constraint error

SA-32935

Summary



The CS jar import failing in user's QA environment. It was successful in lower environment.

Error Messages



Upon import following entries are observed in the logs and as well on the UI:

2017-01-19 14:48:16,660 [PegaWorkManager : 18] [ STANDARD] [ PegaRULES:07.10] ( internal.loaders.SaverLoader) ERROR - Save failed for 'RULE-OBJ-FIELDVALUE @BASECLASS PYCAPTION!BROWSE… #20160321T102308.982 GMT'
com.pega.pegarules.pub.database.DuplicateKeyException: ORA-00001: unique constraint (SSWMSR01.PR4_FIELDVALUE_PK) violated

DatabaseException caused by prior exception: java.sql.BatchUpdateException: ORA-00001: unique constraint (SSWMSR01.PR4_FIELDVALUE_PK) violated


Steps to Reproduce

  1. Launch the import wizard
  2. Import the CS jar file.

Root Cause



A defect or configuration issue in the operating environment:

Primary key with the similar value already exists in the pr4_fieldvalue table.

Resolution



Perform the following local-change:

Delete the rows which has matching keys from
pr4_fieldvalue table and rerun the import wizard.

Published January 31, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us