My Oracle Support Banner

OWB Upgrade From 10.2.0.3 To 11.2.0.4 Fails With CNV0002-0025(ERROR): Unexpected Error Occurred. (Doc ID 2554864.1)

Last updated on JUNE 18, 2019

Applies to:

Oracle Warehouse Builder - Version 11.2.0.4 to 11.2.0.4 [Release 11.2]
Information in this document applies to any platform.

Symptoms

On : 11.2.0.4 version, Upgrade-RunTime

When attempting to import Entire repository MDL in 11.2.0.4 repository during upgrade from 10.2.0.3,
the following error occurs.

ERROR
-----------------------
java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:592)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.WBTrigger.callMethod(WBTrigger.java:157)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.WBTrigger.performOperation(WBTrigger.java:101)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.WBTrigger.preTrigger(WBTrigger.java:194)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.OutputTrigger.preTrigger(OutputTrigger.java:19)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.Output.run(Output.java:697)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ConverterStateMachine.runAll(ConverterStateMachine.java:71)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.UpgradeMDLXMLHandler.startElement(UpgradeMDLXMLHandler.java:169)
  at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1616)
  at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:456)
  at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:402)
  at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:352)
  at oracle.wh.repos.pdl.metadataloader.converter.util.WBXMLSourceReader.parse(WBXMLSourceReader.java:59)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML.runConversion(ProcessXML.java:421)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML.run(ProcessXML.java:308)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.StateMachine.runAll(StateMachine.java:49)
  at oracle.wh.repos.pdl.metadataloader.converter.WBConverter.ConvertXML(WBConverter.java:857)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.VersionState.internalRunConversion(VersionState.java:211)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.VersionState.runConversion(VersionState.java:271)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.Version10to11.runConversion(Version10to11.java:188)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.VersionState.run(VersionState.java:87)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.StateMachine.runAll(StateMachine.java:49)
  at oracle.wh.repos.pdl.metadataloader.converter.WBConverter.Convert(WBConverter.java:1162)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLAutoUpgrade.upgradeMDLFile(MDLAutoUpgrade.java:132)
  at oracle.wh.repos.pdl.metadataloader.common.WBMDLUtilities.checkToAutoUpgradeMDLFile(WBMDLUtilities.java:876)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLImport.process(MDLImport.java:2331)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.internalRunImport(MDLRunImport.java:437)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.runImport(MDLRunImport.java:509)
  at oracle.wh.service.impl.assistant.ProcessEngine.importEntireRepository(ProcessEngine.java:873)
  at oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$5.runTask(AssistantWizardDefinition.java:1065)
  at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
  at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
  at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
  at oracle.ewt.timer.Timer.doRun(Unknown Source)
  at oracle.ewt.timer.Timer.run(Unknown Source)
  at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.NullPointerException
  at java.util.StringTokenizer.(StringTokenizer.java:182)
  at java.util.StringTokenizer.(StringTokenizer.java:204)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.createNamedConfig(WBUpgrade10to11.java:4258)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.createPlatformConfig(WBUpgrade10to11.java:4304)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.createPhysicalObjForPackageFunction(WBUpgrade10to11.java:4944)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.processFunction(WBUpgrade10to11.java:4847)
  ... 38 more
java.lang.Exception: CNV0002-0025(ERROR): Unexpected error occurred. Upgrade terminated. See log file <PATH>/ExportEntireRepos_20190610_2149_11_2_upgrade.log for details. Please contact
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ConverterStateMachine.runAll(ConverterStateMachine.java:140)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.UpgradeMDLXMLHandler.startElement(UpgradeMDLXMLHandler.java:169)
  at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1616)
  at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:456)
  at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:402)
  at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:352)
  at oracle.wh.repos.pdl.metadataloader.converter.util.WBXMLSourceReader.parse(WBXMLSourceReader.java:59)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML.runConversion(ProcessXML.java:421)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ProcessXML.run(ProcessXML.java:308)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.StateMachine.runAll(StateMachine.java:49)
  at oracle.wh.repos.pdl.metadataloader.converter.WBConverter.ConvertXML(WBConverter.java:857)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.VersionState.internalRunConversion(VersionState.java:211)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.VersionState.runConversion(VersionState.java:271)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.Version10to11.runConversion(Version10to11.java:188)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.VersionState.run(VersionState.java:87)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.StateMachine.runAll(StateMachine.java:49)
  at oracle.wh.repos.pdl.metadataloader.converter.WBConverter.Convert(WBConverter.java:1162)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLAutoUpgrade.upgradeMDLFile(MDLAutoUpgrade.java:132)
  at oracle.wh.repos.pdl.metadataloader.common.WBMDLUtilities.checkToAutoUpgradeMDLFile(WBMDLUtilities.java:876)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLImport.process(MDLImport.java:2331)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.internalRunImport(MDLRunImport.java:437)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.runImport(MDLRunImport.java:509)
  at oracle.wh.service.impl.assistant.ProcessEngine.importEntireRepository(ProcessEngine.java:873)
  at oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$5.runTask(AssistantWizardDefinition.java:1065)
  at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
  at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
  at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
  at oracle.ewt.timer.Timer.doRun(Unknown Source)
  at oracle.ewt.timer.Timer.run(Unknown Source)
  at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:592)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.WBTrigger.callMethod(WBTrigger.java:157)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.WBTrigger.performOperation(WBTrigger.java:101)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.WBTrigger.preTrigger(WBTrigger.java:194)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.OutputTrigger.preTrigger(OutputTrigger.java:19)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.Output.run(Output.java:697)
  at oracle.wh.repos.pdl.metadataloader.converter.foundation.ConverterStateMachine.runAll(ConverterStateMachine.java:71)
  ... 29 more
Caused by: java.lang.NullPointerException
  at java.util.StringTokenizer.(StringTokenizer.java:182)
  at java.util.StringTokenizer.(StringTokenizer.java:204)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.createNamedConfig(WBUpgrade10to11.java:4258)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.createPlatformConfig(WBUpgrade10to11.java:4304)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.createPhysicalObjForPackageFunction(WBUpgrade10to11.java:4944)
  at oracle.wh.repos.pdl.metadataloader.converter.versions.WBUpgrade10to11.processFunction(WBUpgrade10to11.java:4847)
  ... 38 more
MDL1323: Error occurred during automatic upgrade of MDL file .

Detailed Error Message:
CNV0002-0025(ERROR): Unexpected error occurred. Upgrade terminated. See log file <PATH>/ExportEntireRepos_20190610_2149_11_2_upgrade.log for details. Please contact
  at oracle.wh.repos.pdl.metadataloader.common.WBMDLUtilities.checkToAutoUpgradeMDLFile(WBMDLUtilities.java:902)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLImport.process(MDLImport.java:2331)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.internalRunImport(MDLRunImport.java:437)
  at oracle.wh.repos.pdl.metadataloader.Import.MDLRunImport.runImport(MDLRunImport.java:509)
  at oracle.wh.service.impl.assistant.ProcessEngine.importEntireRepository(ProcessEngine.java:873)
  at oracle.wh.ui.install.assistant.wizards.AssistantWizardDefinition$5.runTask(AssistantWizardDefinition.java:1065)
  at oracle.ewt.thread.TaskScheduler.runTask(Unknown Source)
  at oracle.ewt.thread.TaskScheduler.processTask(Unknown Source)
  at oracle.ewt.thread.TaskScheduler$TaskQueue.run(Unknown Source)
  at oracle.ewt.timer.Timer.doRun(Unknown Source)
  at oracle.ewt.timer.Timer.run(Unknown Source)
  at java.lang.Thread.run(Thread.java:637)
Exception occured importing entire repository: MDL1323: Error occurred during automatic upgrade of MDL file .

Detailed Error Message:
CNV0002-0025(ERROR): Unexpected error occurred. Upgrade terminated. See log file <PATH>/ExportEntireRepos_20190610_2149_11_2_upgrade.log for details. Please contact
Calling 0 session exit listeners
CacheMediator.close:Thread[TaskScheduler timer,5,main]CacheMediator: (@ Tue Jun 11 14:03:14 BST 2019)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Export the 10.2.0.3 repository
2. Create and seed the 11.2.0.4 repository
3. Import the MDL file.


Changes

 

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
Changes
Cause
Solution


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