'unique constraint (MASTER.AK_TECHNO)' or 'java.lang.String cannot be cast to com.sunopsis.sql.DbInt' Signaled During ODI Upgrade Or Import Operations

(Doc ID 1180913.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 10.1.3.6.0 to 11.1.1.9.99
Information in this document applies to any platform.

Symptoms

During either upgrade, or import operations where there are existing data Server or Technologies the the following message can be observed.

ODI 11g upgrade issue

During upgrade from ODI 10g to 11g the following message is signaled when importing technologies (e.g XML or IBM UDB DB2) in synonymy INSERT_UPDATE mode:

[2011-07-08T11:08:42.095+02:00] [ODI] [INCIDENT_ERROR] [] [upgrade.ODI] [tid: 13] [ecid: 0000J48o_mR7IBy5G78Dyf1E5fR8000004,0] [[
oracle.odi.core.exception.OdiRuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to com.sunopsis.sql.DbInt
   at oracle.odi.impexp.support.ImportServiceImpl.internalReimportTopologyReferenceData(ImportServiceImpl.java:1418)
   at oracle.odi.impexp.support.ImportServiceImpl$18.doAction(ImportServiceImpl.java:1437)

   or:

oracle.odi.core.exception.OdiRuntimeException: java.lang.ClassCastException: java.lang.String cannot be cast to com.sunopsis.sql.DbInt
   at oracle.odi.impexp.support.ImportServiceImpl.internalReimportTopologyReferenceData(ImportServiceImpl.java:1418)....

Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to com.sunopsis.sql.DbInt

ODI 10g upgrade issue

During upgrade from ODI 10.1.3.3.x to 10.1.3.6.0 the following message is signaled when importing technologies (e.g XML or IBM UDB DB2) in synonymy INSERT_UPDATE mode:

unique constraint (ODI0_MASTER.AK_TECHNO)

com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ### KEY com.sunopsis.res.object / DwgDuplicationTools.GeneralImportObjectFailureMsg###
  at com.sunopsis.dwg.i.a(i.java)
  at com.sunopsis.dwg.i.a(i.java)
  at com.sunopsis.dwg.DwgObject.a(DwgObject.java)
  at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java)
  at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java)
  at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java)
  at com.sunopsis.graphical.u.oy.f(oy.java)
   ...

   or:

Caused by: java.sql.SQLException: ORA-00001: unique constraint (SNPM_ANKIT.AK_DT1) violated
  at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
  at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
  at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
  at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
  ...

 

Changes

1. Upgrade from ODI 10.1.3.3.x to 10.1.3.6.
2. Upgrade from 10g to 11g.
3. Upgrade from 11.1.1.3 to 11.1.1.5.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms