EM 12c: Enterprise Manager 12c Cloud Control Patch Plan Creation with GI PSU for SIHA Database Target Fails with Error: WARN results.AddToPlanMenu logp.251 - AddToPlanMenu.createPlanAction: Problem creating plan (Doc ID 2096884.1)

Last updated on MARCH 08, 2017

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.2.0 to 13.1.1.0.0 [Release 12.1 to 13.1]
Information in this document applies to any platform.

Symptoms

From Enterprise Manager (EM) 12c Cloud Control, creating a patch plan for a SIHA (Oracle Restart) database target by searching for a GI Patch fails.

.../gc_inst/em/EMGC_OMS1/sysman/log/emoms.trc shows the following message:

2015-12-15 16:43:34,402 [[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN results.AddToPlanMenu logp.251 - AddToPlanMenu.createPlanAction: Problem creating plan

oracle.mos.patch.exception.PatchBusinessException: oracle.mos.patch.exception.PatchBusinessException: java.util.NoSuchElementException
at oracle.sysman.emmos.mos.patch.da.EmPlanDao.createPlan(EmPlanDao.java:4853)
at oracle.mos.patch.model.services.PlanService.createPlan(PlanService.java:200)
at oracle.mos.view.patch.backing.ui.taskflow.patch.results.AddToPlanMenu.createPlan(AddToPlanMenu.java:419)
at oracle.mos.view.patch.backing.ui.taskflow.patch.results.AddToPlanMenu.createPlanAction(AddToPlanMenu.java:370)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
............
Caused by: oracle.mos.patch.exception.PatchBusinessException: java.util.NoSuchElementException
at oracle.sysman.emmos.mos.patch.da.EmPlanDao.checkDeployability(EmPlanDao.java:8916)
at oracle.mos.patch.dao.PlanDaoCommon.createPlan(PlanDaoCommon.java:1717)
at oracle.sysman.emmos.mos.patch.da.EmPlanDao.createPlan(EmPlanDao.java:4803)
... 144 more
Caused by: java.util.NoSuchElementException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:796)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at oracle.sysman.db.patch.dpIntg.DBIntgUtils.getTargetVesion(DBIntgUtils.java:3088)
at oracle.sysman.db.patch.dpIntg.DBPatchDeployment.checkDeployability(DBPatchDeployment.java:411)
at oracle.sysman.db.patch.dpIntg.DBPatchDeployerFactory.checkDeployability(DBPatchDeployerFactory.java:301)
at oracle.sysman.core.patch.PlanDeployerImpl.checkDeployability(PlanDeployerImpl.java:1862) 

GI PSU against HAS target works.
DB PSU against DB target (SIHA env) works

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