Importing Objects From SAP Fails with java.lang.NullPointerException After Upgrade to OWB 11.2 (Doc ID 1334845.1)

Last updated on MAY 09, 2017

Applies to:

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

Symptoms

The attempt to import SAP tables with the Metadata Import Wizard fails in the Object Selection dialog with following error:

java.lang.NullPointerException
at
oracle.wh.repos.impl.application.CMPInstalledModule.getValidDataTypesInContext(CMPInstalledModule.java:986)
at
oracle.wh.repos.impl.application.CMPInstalledModule.getValidDataTypesInContext(CMPInstalledModule.java:975)
at
oracle.wh.repos.impl.application.CMPInstalledModule.getValidDataTypes(CMPInstalledModule.java:950)
at
oracle.wh.ui.integrator.sap.MySAPEntityAccessor.<init>(MySAPEntityAccessor.java:54)
at
oracle.wh.ui.integrator.sap.WBSAPIntegratorFactory.createAccessor(WBSAPIntegratorFactory.java:126)
at
oracle.wh.ui.integrator.common.ImportService.initAccessors(ImportService.java:2122)
at
oracle.wh.ui.integrator.common.ImportService.getSourceRoots(ImportService.java:563)
at
oracle.wh.ui.integrator.common.ImportTree.buildTree(ImportTree.java:122)
at
oracle.wh.ui.integrator.common.ImportDialog.buildImportTrees(ImportDialog.java:136)
at
oracle.wh.ui.integrator.common.wizards.ImportWizardPanel.onEnterSelectionPanel(ImportWizardPanel.java:155)
at
oracle.wh.ui.integrator.common.wizards.ImportWizardPanel.onEnter(ImportWizardPanel.java:110)
at
oracle.wh.ui.owbcommon.OWBWizard.wizardSelectionChanged(OWBWizard.java:1081)
at
oracle.bali.ewt.wizard.BaseWizard.processWizardEvent(Unknown Source)
and more...


Exact steps to reproduce this error:

1. Right-Click on SAP Module -> Import -> Database Objects
2. In the Import Metadata Wizard choose "Text String, where object"
3. Choose Name Matches: <Type first characters of table name>%
4. Click Next

Changes

Upgrade of OWB from 10.2 to 11.2.

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