My Oracle Support Banner

Applying ODI 12.2.1.3 Deployment Archive on 12.2.1.3.190415 or Higher Execution Repository Fails with "java.lang.NullPointerException" (Doc ID 2608828.1)

Last updated on AUGUST 09, 2021

Applies to:

Oracle Data Integrator - Version 12.2.1.3.190415 to 12.2.1.4.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

In an Oracle Data Integrator (ODI) 12.2.1.3.190415 or higher environment configured with GIT, attempting to import deployment archives from earlier versions result in the following error:

[2019-05-27T16:41:19.105+02:00] [] [NOTIFICATION] [] [] Applying PATCH Deployment Archive Started (2019-05-27 16:41)
[2019-05-27T16:41:19.195+02:00] [odi] [ERROR] [] [oracle.odi.core.persistence] java.lang.NullPointerException[[
  at oracle.odi.core.service.deployment.DeploymentService.validateApplyOnExecRepository(DeploymentService.java:803)
  at oracle.odi.core.service.deployment.DeploymentService.applyPatchDeploymentArchive(DeploymentService.java:843)
  at oracle.odi.ui.rm.RmAdapter$3.doInTransaction(RmAdapter.java:441)
  at oracle.odi.core.persistence.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:100)
  at oracle.odi.ui.rm.RmAdapter.patchRepo(RmAdapter.java:435)
  at oracle.odi.ui.rm.RmPatchDialog$1.doLongOperation(RmPatchDialog.java:94)
  at oracle.cef.ui.Framework$5.doInBackground(Framework.java:726)
  at oracle.cef.ui.Framework$5.doInBackground(Framework.java:718)
  at javax.swing.SwingWorker$1.call(SwingWorker.java:295)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at javax.swing.SwingWorker.run(SwingWorker.java:334)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  at java.lang.Thread.run(Thread.java:748)

The issue can be reproduced by creating a new empty load plan in ODI 12.2.1.3.0, creating a patch deployment archive containing only that load plan, and applying the patch deployment archive to an execution-only ODI 12.2.1.3.190415 or higher repository.

Changes

 ODI 12.2.1.3.190415 introduced a new check upon import to validate whether or not to apply the archive on an execution repository. As the ODI 12.2.1.3.0 archives do not contain the newly required element for the check, it fails.

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
References


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