My Oracle Support Banner

Running ODI Mapping Fails with "Cannot retrieve OdiDataStore property value METADATA_FOR_SNPS_JDBC_DRIVERS" (Doc ID 2592384.1)

Last updated on SEPTEMBER 30, 2019

Applies to:

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

Symptoms

After upgrading from Oracle Data Integrator (ODI) 11g to ODI 12c, the mappings that load data from files are no longer working. The below error is raised on studio.log when testing execution with the Local (No Agent):

2019-09-19T16:21:34.889+02:00] [odi] [WARNING] [] [oracle.odi.mapping] java.lang.RuntimeException: java.lang.RuntimeException: Cannot retrieve OdiDataStore property value METADATA_FOR_SNPS_JDBC_DRIVERS[[
   at oracle.odi.domain.mapping.component.km.SQLFileCompKM.setBinding(SQLFileCompKM.java:65)
   at oracle.odi.domain.mapping.generator.GroovyComponentGeneratorDelegateBase.generateComponent(GroovyComponentGeneratorDelegateBase.java:50)
   at oracle.odi.domain.mapping.generator.MapComponentGenerator.generateComponent(MapComponentGenerator.java:259)
   at oracle.odi.domain.mapping.generator.MapComponentGenerator.generateComponent(MapComponentGenerator.java:146)
   at oracle.odi.domain.mapping.generator.MappingGenerator.generateOutputAST(MappingGenerator.java:2362)
   at oracle.odi.domain.mapping.generator.MappingGenerator.getUpstreamSourceASTList(MappingGenerator.java:2272)
   at oracle.odi.domain.mapping.generator.MappingGenerator.generateTarget(MappingGenerator.java:2443)
   at oracle.odi.domain.mapping.generator.MappingGenerator.getEKMUsageList(MappingGenerator.java:2020)
   at oracle.odi.domain.mapping.generator.MappingGenerator.generateExecutableDetails(MappingGenerator.java:717)
   at oracle.odi.domain.mapping.generator.MappingGenerator.generateSession(MappingGenerator.java:367)
   at oracle.odi.domain.mapping.generator.MappingGenerator.generateSession(MappingGenerator.java:326)
   at oracle.odi.ui.mapping.MappingExecutionDialog$1.doInTransaction(MappingExecutionDialog.java:330)
   at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
   at oracle.odi.ui.mapping.MappingExecutionDialog.doExecution(MappingExecutionDialog.java:325)
   at oracle.odi.ui.mapping.MappingExecutionDialog.dialogOkActionHook(MappingExecutionDialog.java:174)
   at oracle.cef.ui.definition.DialogDefinitionNode$1.vetoableChange(DialogDefinitionNode.java:347)
   ...
Caused by: java.lang.RuntimeException: Cannot retrieve OdiDataStore property value METADATA_FOR_SNPS_JDBC_DRIVERS
   at oracle.odi.adapter.OdiAdapter.getModelPropertyValue(OdiAdapter.java:1397)
   at oracle.odi.domain.mapping.component.FileComponent.getMetadataForSnpsJDBCDrivers(FileComponent.java:152)
   at oracle.odi.domain.mapping.component.km.SQLFileCompKM.setBinding(SQLFileCompKM.java:60)
... 114 more
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -2
   at java.lang.String.substring(String.java:1931)
   at oracle.odi.domain.model.OdiColumn$FileDescriptor.getRecordCodeList(OdiColumn.java:473)
   at oracle.odi.domain.mapping.generator.GenerationUtils.getMetadataForSnpsJDBCDrivers(GenerationUtils.java:1057)
   at oracle.odi.adapter.OdiAdapter.getModelPropertyValue(OdiAdapter.java:1395)
... 116 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.