ODI 12.1.3 Smart Import Corrupts Mappings and Various "cannot be cast to" FATAL Errors are Observed in The "Validation Results" Window of the Physical Tab (Doc ID 1959290.1)

Last updated on NOVEMBER 15, 2016

Applies to:

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

Symptoms

When using the Smart Import feature for importing Mappings in Oracle Data Integrator (ODI) 12.1.3.0.0, the Mappings are corrupted, and any of the below FATAL errors could be observed in the "Validation Results" Window on the "Physical" tab:

java.lang.ClassCastException: oracle.odi.domain.model.OdiDataStore cannot be cast to oracle.odi.domain.adapter.topology.ILogicalSchema
    at oracle.odi.domain.mapping.physical.ExecutionUnit.getLogicalSchema(ExecutionUnit.java:755)
    at oracle.odi.domain.mapping.physical.ExecutionUnit.initLocation(ExecutionUnit.java:822)
    at oracle.odi.domain.mapping.physical.ExecutionUnit.getLocation(ExecutionUnit.java:766)
    at oracle.odi.domain.mapping.physical.ExecutionUnit.getExecutionTechnology(ExecutionUnit.java:856)
    at oracle.odi.domain.mapping.physical.MapPhysicalNode.getExecutionTechnology(MapPhysicalNode.java:4731)
    at oracle.odi.domain.mapping.physical.MapPhysicalDesign.internalHandleNodeTechnology(MapPhysicalDesign.java:3669)
    at oracle.odi.domain.mapping.physical.MapPhysicalDesign.handleNodeTechnologyRules(MapPhysicalDesign.java:3656)
    at oracle.odi.domain.mapping.physical.MapPhysicalDesign.calculateSpecPostProcessing(MapPhysicalDesign.java:1353)
    at oracle.odi.domain.mapping.physical.MapPhysicalDesign.syncWithLogicalMapping(MapPhysicalDesign.java:5320)
    at oracle.odi.domain.mapping.physical.MapPhysicalDesign.syncWithLogicalMapping(MapPhysicalDesign.java:5284)
    at oracle.odi.ui.mapping.physical.model.domain.MapPhysicalDesignModelWrapper.sync(MapPhysicalDesignModelWrapper.java:201)
    at oracle.odi.ui.mapping.physical.diagram.PhysicalEditor$2.doLongOperation(PhysicalEditor.java:135)
    at oracle.cef.ui.Framework$3.doInBackground(Framework.java:629)
    at oracle.cef.ui.Framework$3.doInBackground(Framework.java:625)
    at javax.swing.SwingWorker$1.call(SwingWorker.java:296)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at javax.swing.SwingWorker.run(SwingWorker.java:335)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:724)

    or

java.lang.ClassCastException: oracle.odi.domain.model.OdiColumn cannot be cast to oracle.odi.domain.adapter.project.IKnowledgeModule
    at ...

    or

java.lang.ClassCastException: oracle.odi.domain.model.OdiDataStore cannot be cast to oracle.odi.domain.adapter.project.IKnowledgeModule
    at ...

    etc...

 

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