EM 12c: Creating Patch Plan for Cluster Database Target in Enterprise Manager 12c Cloud Control Fails with java.lang.NullPointerException if Cluster is not Discovered

(Doc ID 2351091.1)

Last updated on JANUARY 25, 2018

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.5.0 and later
Information in this document applies to any platform.

Symptoms

Enterprise Manager (EM) 12.1.0.5 Cloud Control Patch Plan creation on the Patches & Updates page for a cluster database target fails with the error below:

Unable to create Patch plan. Error message: Plan "Name" was not created.


Also, the error below is logged in <OMS instance base>/gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc

2017-12-26 07:31:59,323 [[ACTIVE] ExecuteThread: '31' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR da.EmPlanDao logp.251 - ***PATCH*** createPlan : oracle.sysman.emInternalSDK.core.patch.exception.IncompatibleException: java.lang.NullPointerException
oracle.mos.patch.exception.PatchBusinessException: oracle.sysman.emInternalSDK.core.patch.exception.IncompatibleException: java.lang.NullPointerException
at oracle.sysman.emmos.mos.patch.da.EmPlanDao.checkDeployability(EmPlanDao.java:9797)
at oracle.mos.patch.dao.PlanDaoCommon.createPlan(PlanDaoCommon.java:1735)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: oracle.sysman.emInternalSDK.core.patch.exception.IncompatibleException: java.lang.NullPointerException
at oracle.sysman.db.patch.dpIntg.DBExadataDeployment.checkDeployability(DBExadataDeployment.java:812)
at oracle.sysman.db.patch.dpIntg.DBPatchDeployerFactory.checkDeployability(DBPatchDeployerFactory.java:356)
at oracle.sysman.core.patch.PlanDeployerImpl.checkDeployability(PlanDeployerImpl.java:2120)
at oracle.sysman.core.patch.states.PatchPlanState.checkDeployability(PatchPlanState.java:558)
at oracle.sysman.core.patch.PlanDeployerImpl.checkDeployability(PlanDeployerImpl.java:1861)
at oracle.sysman.emmos.mos.patch.da.EmPlanDao.checkDeployability(EmPlanDao.java:9740)
... 119 more
Caused by: java.lang.NullPointerException
at oracle.sysman.db.patch.dpIntg.DBIntgUtils.getCRSManagedAllRacTargets(DBIntgUtils.java:501)
at oracle.sysman.db.patch.dpIntg.DBExadataDeployment.processSystemTargets(DBExadataDeployment.java:2768)
at oracle.sysman.db.patch.dpIntg.DBExadataDeployment.checkDeployability(DBExadataDeployment.java:781)
... 124 more

 

Changes

 

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