My Oracle Support Banner

"java.sql.SQLIntegrityConstraintViolationException: a duplicate key was found for the object name 'XXX.SNP_USER_OBJ_METH' and the index name 'AK_R_OBJ_METH_GUID'. The duplicate key value is (<NULL>)" Signalled While Upgrading from ODI 11g to 12.1.3 (Doc ID 1991865.1)

Last updated on FEBRUARY 05, 2019

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

The ODI repository hosted on MS SQL server fails with the following error stack observed in the Upgrade Assistant log file when upgrading from ODI 11g to ODI 12.1.3:

...
Caused by: java.sql.SQLIntegrityConstraintViolationException: [FMWGEN][SQLServer JDBC Driver][SQLServer]The CREATE UNIQUE INDEX statement terminated because a duplicate key was found for the object name '<ObjectName>' and the index name '<IndexName>'. The duplicate key value is ().
at weblogic.jdbc.sqlserverbase.ddcw.b(Unknown Source)
at weblogic.jdbc.sqlserverbase.ddcw.a(Unknown Source)
at weblogic.jdbc.sqlserverbase.ddcv.b(Unknown Source)
at weblogic.jdbc.sqlserverbase.ddcv.a(Unknown Source)
at weblogic.jdbc.sqlserver.tds.ddr.v(Unknown Source)
at weblogic.jdbc.sqlserver.tds.ddr.a(Unknown Source)
at weblogic.jdbc.sqlserver.tds.ddq.a(Unknown Source)
at weblogic.jdbc.sqlserver.tds.ddr.a(Unknown Source)
at weblogic.jdbc.sqlserver.dda3.m(Unknown Source)
at weblogic.jdbc.sqlserverbase.dde7.e(Unknown Source)
at weblogic.jdbc.sqlserverbase.dde7.a(Unknown Source)
at weblogic.jdbc.sqlserverbase.ddd2.a(Unknown Source)
at weblogic.jdbc.sqlserverbase.dde7.v(Unknown Source)
at weblogic.jdbc.sqlserverbase.dde7.x(Unknown Source)
at weblogic.jdbc.sqlserverbase.ddd2.executeUpdate(Unknown Source)
at sun.reflect.GeneratedMethodAccessor78.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at oracle.ucp.jdbc.proxy.StatementProxyFactory.invoke(StatementProxyFactory.java:353)
at oracle.ucp.jdbc.proxy.PreparedStatementProxyFactory.invoke(PreparedStatementProxyFactory.java:178)
at com.sun.proxy.$Proxy23.executeUpdate(Unknown Source)
at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:686)
at com.sunopsis.dwg.xml.DwgXmlSession.execute(DwgXmlSession.java:88)
... 14 more

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
References


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