This discussion is archived
0 Replies Latest reply: Jan 29, 2013 4:59 PM by 633379 RSS

Scenario import error

633379 Newbie
Currently Being Moderated
Hi All,

We are trying to import scenarios form one repository to another using SDK api (not from ODI UI). The repository where it gets imported has different master and work repository id.
Out of 5 scenarios 4 gets imported successfully and 1 does not. It throws below error. Any suggestions, solutions?

oracle.odi.core.persistence.transaction.support.TransactionTemplate rollbackOnException
SEVERE: Application exception overridden by rollback exception
java.lang.RuntimeException: java.lang.NoSuchMethodException: java.lang.Object.getSnpObjectIObject()
     at oracle.odi.impexp.support.ImportServiceImpl$7.doAction(ImportServiceImpl.java:548)
     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
     at oracle.odi.core.persistence.dwgobject.TransactionalDwgObjectTemplate.execute(TransactionalDwgObjectTemplate.java:64)
     at oracle.odi.impexp.support.ImportServiceImpl.importObjectWork(ImportServiceImpl.java:480)
     at oracle.odi.impexp.support.ImportServiceImpl.importObjectFromXml(ImportServiceImpl.java:398)
     at oracle.apps.grc.dataaccessfacade.etl.LoadOdiEnvironment$2.doInTransactionWithoutResult(LoadOdiEnvironment.java:398)
     at oracle.odi.core.persistence.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:21)
     at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:99)
     at apps.my_project.etl.LoadOdiEnvironment.importODIScenarios(LoadOdiEnvironment.java:380)
     at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.NoSuchMethodException: java.lang.Object.getSnpObjectIObject()
     at java.lang.Class.getDeclaredMethod(Class.java:1954)
     at com.sunopsis.tools.core.SnpsTools.getMethodFromHierarchy(SnpsTools.java:370)
     at com.sunopsis.tools.core.SnpsTools.getMethodFromHierarchy(SnpsTools.java:392)
     at com.sunopsis.tools.core.SnpsTools.getMethodFromHierarchy(SnpsTools.java:392)
     at com.sunopsis.tools.core.SnpsTools.getMethodFromHierarchy(SnpsTools.java:392)
     at com.sunopsis.tools.core.SnpsTools.getMethodFromHierarchy(SnpsTools.java:392)
     at com.sunopsis.dwg.DwgObject.getThisIObjects(DwgObject.java:3213)
     at com.sunopsis.dwg.DwgObject.createMissingReference(DwgObject.java:7957)
     at com.sunopsis.dwg.DwgObject.correctMissingReference(DwgObject.java:7918)
     at com.sunopsis.dwg.DwgObject.correctMissingReferences(DwgObject.java:8544)
     at com.sunopsis.dwg.DwgObject.correctMissingReferences(DwgObject.java:8516)
     at com.sunopsis.dwg.DwgDuplicationTools.createMissingRefAndReInsert(DwgDuplicationTools.java:3669)
     at com.sunopsis.dwg.DwgDuplicationTools.importOtherObjects(DwgDuplicationTools.java:3212)
     at com.sunopsis.dwg.DwgDuplicationTools.synonymImport(DwgDuplicationTools.java:2631)
     at com.sunopsis.dwg.DwgObject.importFromObjectLst(DwgObject.java:7467)
     at com.sunopsis.dwg.DwgObject.internalImportObjectList(DwgObject.java:6459)
     at com.sunopsis.dwg.DwgObject.doImport(DwgObject.java:6866)
     at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:6085)
     at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:6054)
     at com.sunopsis.dwg.DwgObject.importFromXml(DwgObject.java:6023)
     at oracle.odi.impexp.support.ImportServiceImpl$7.doAction(ImportServiceImpl.java:499)
     ... 11 more

Thanks in advance.

Edited by: user630376 on Jan 29, 2013 4:58 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points