My Oracle Support Banner

ORA-00001 - Unique Constraint Violation - BPM_AUDIT_QUERY_PK (Doc ID 1666313.1)

Last updated on JANUARY 16, 2020

Applies to:

Oracle Business Process Management Suite - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Experiencing a number of exceptions:

<Exception
javax.ejb.EJBTransactionRolledbackException: EJB Exception: ; nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_AUDIT_QUERY_PK) violated

Error Code: 1
Call: INSERT INTO BPM_AUDIT_QUERY (QUERY_ID, ECID, ACTIVITY_ID, ACTIVITY_NAME, ACTIVITY_TYPE, AUDIT_INSTANCE_TYPE, AUDIT_LEVEL, AUDIT_LOG, AUDIT_NUMBER1, AUDIT_STRING1, AUDIT_COMMENT, COMPONENT_INSTANCE_ID, COMPONENT_NAME, COMPONENT_TYPE, COMPOSITE_DN, COMPOSITE_INSTANCE_ID, COMPOSITE_NAME, CREATE_TIME, DUE_DATE, FAULT_ISRECOVERABLE, FAULT_TYPE, FLOW_ELEMENT_TYPE, INSTANCE_COUNT, INVOKED_COMPONENT_NAME, LABEL, LOOP_COUNT, OPERATION, PARENT_THREAD_ID, PARTICIPANT, CI_PARTITION_DATE, PRIORITY, PROCESS_DUE_DATE, PROCESS_NAME, REFERENCE_ID, ROLE_ID, SCOPE_ID, SOURCE_ACTIVITY, STEP, TARGET_ACTIVITY, TENANT_ID, THREAD_ID, TITLE, V_VALUEDATE1, V_VALUEDATE10, V_VALUEDATE2, V_VALUEDATE3, V_VALUEDATE4, V_VALUEDATE5, V_VALUEDATE6, V_VALUEDATE7, V_VALUEDATE8, V_VALUEDATE9, V_VALUENUMBER1, V_VALUENUMBER10, V_VALUENUMBER11, V_VALUENUMBER12, V_VALUENUMBER13, V_VALUENUMBER14, V_VALUENUMBER15, V_VALUENUMBER16, V_VALUENUMBER17, V_VALUENUMBER18, V_VALUENUMBER19, V_VALUENUMBER2, V_VALUENUMBER20, V_VALUENUMBER21, V_VALUENUMBER22, V_VALUENUMBER23, V_VALUENUMBER24, V_VALUENUMBER25, V_VALUENUMBER26, V_VALUENUMBER27, V_VALUENUMBER28, V_VALUENUMBER29, V_VALUENUMBER3, V_VALUENUMBER30, V_VALUENUMBER4, V_VALUENUMBER5, V_VALUENUMBER6, V_VALUENUMBER7, V_VALUENUMBER8, V_VALUENUMBER9, V_VALUESTRING1, V_VALUESTRING10, V_VALUESTRING11, V_VALUESTRING12, V_VALUESTRING13, V_VALUESTRING14, V_VALUESTRING15, V_VALUESTRING16, V_VALUESTRING17, V_VALUESTRING18, V_VALUESTRING19, V_VALUESTRING2, V_VALUESTRING20, V_VALUESTRING3, V_VALUESTRING4, V_VALUESTRING5, V_VALUESTRING6, V_VALUESTRING7, V_VALUESTRING8, V_VALUESTRING9) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [102 parameters bound]
Query: InsertObjectQuery(oracle.bpm.bpmn.engine.service.audit.persistence.model.AuditQuery@35fd9790); nested exception is: javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DatabaseException
Internal Exception: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_SOAINFRA.BPM_AUDIT_QUERY_PK) violated

Error Code: 1
Call: INSERT INTO BPM_AUDIT_QUERY (QUERY_ID, ECID, ACTIVITY_ID, ACTIVITY_NAME, ACTIVITY_TYPE, AUDIT_INSTANCE_TYPE, AUDIT_LEVEL, AUDIT_LOG, AUDIT_NUMBER1, AUDIT_STRING1, AUDIT_COMMENT, COMPONENT_INSTANCE_ID, COMPONENT_NAME, COMPONENT_TYPE, COMPOSITE_DN, COMPOSITE_INSTANCE_ID, COMPOSITE_NAME, CREATE_TIME, DUE_DATE, FAULT_ISRECOVERABLE, FAULT_TYPE, FLOW_ELEMENT_TYPE, INSTANCE_COUNT, INVOKED_COMPONENT_NAME, LABEL, LOOP_COUNT, OPERATION, PARENT_THREAD_ID, PARTICIPANT, CI_PARTITION_DATE, PRIORITY, PROCESS_DUE_DATE, PROCESS_NAME, REFERENCE_ID, ROLE_ID, SCOPE_ID, SOURCE_ACTIVITY, STEP, TARGET_ACTIVITY, TENANT_ID, THREAD_ID, TITLE, V_VALUEDATE1, V_VALUEDATE10, V_VALUEDATE2, V_VALUEDATE3, V_VALUEDATE4, V_VALUEDATE5, V_VALUEDATE6, V_VALUEDATE7, V_VALUEDATE8, V_VALUEDATE9, V_VALUENUMBER1, V_VALUENUMBER10, V_VALUENUMBER11, V_VALUENUMBER12, V_VALUENUMBER13, V_VALUENUMBER14, V_VALUENUMBER15, V_VALUENUMBER16, V_VALUENUMBER17, V_VALUENUMBER18, V_VALUENUMBER19, V_VALUENUMBER2, V_VALUENUMBER20, V_VALUENUMBER21, V_VALUENUMBER22, V_VALUENUMBER23, V_VALUENUMBER24, V_VALUENUMBER25, V_VALUENUMBER26, V_VALUENUMBER27, V_VALUENUMBER28, V_VALUENUMBER29, V_VALUENUMBER3, V_VALUENUMBER30, V_VALUENUMBER4, V_VALUENUMBER5, V_VALUENUMBER6, V_VALUENUMBER7, V_VALUENUMBER8, V_VALUENUMBER9, V_VALUESTRING1, V_VALUESTRING10, V_VALUESTRING11, V_VALUESTRING12, V_VALUESTRING13, V_VALUESTRING14, V_VALUESTRING15, V_VALUESTRING16, V_VALUESTRING17, V_VALUESTRING18, V_VALUESTRING19, V_VALUESTRING2, V_VALUESTRING20, V_VALUESTRING3, V_VALUESTRING4, V_VALUESTRING5, V_VALUESTRING6, V_VALUESTRING7, V_VALUESTRING8, V_VALUESTRING9) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
bind => [102 parameters bound]
Query: InsertObjectQuery(oracle.bpm.bpmn.engine.service.audit.persistence.model.AuditQuery@35fd9790)
         at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:823)
         at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:517)
         at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
         at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:52)
         at oracle.bpm.bpmn.engine.ejb.impl.AuditServiceBean_3ck6ms_AuditServiceLocalImpl.persistAuditData(Unknown Source)
         at oracle.bpm.bpmn.engine.instancemanagement.impl.InternalInstanceManagementService.persistAuditData(InternalInstanceManagementService.java:272)
         at sun.reflect.GeneratedMethodAccessor5906.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
         at oracle.bpel.services.workflow.common.WorkflowServiceCacheEventAdvice.invoke(WorkflowServiceCacheEventAdvice.java:91)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at com.sun.proxy.$Proxy266.persistAuditData(Unknown Source)
         at oracle.bpm.bpmn.engine.instancemanagement.ejb.InternalInstanceManagementServiceBean.persistAuditData(InternalInstanceManagementServiceBean.java:150)
         at sun.reflect.GeneratedMethodAccessor5905.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.