opatchauto apply analyze: java.lang.RuntimeException: Failed to generate Patching steps (Doc ID 2112083.1)

Last updated on MARCH 13, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Java Exception when run opatchauto apply analyze

$ opatchauto apply <patch_path>   -analyze -ocmrf /export/home/oracle/ocm.rsp

Patch Validation: Successful
java.lang.RuntimeException: Failed to generate Patching steps
      at oracle.oplan.sdk.cmdtranslator.CommandContext.putTargets(CommandContext.java:86)
      at oracle.oplan.db.engine.CRSContextPopulator.populateContextForRACDatabase(CRSContextPopulator.java:125)
      at oracle.oplan.db.engine.CRSContextPopulator.populateContext(CRSContextPopulator.java:167)
      at oracle.oplan.db.cmdtranslator.commands.SpfFilePreReqCommand.generateExecutionSteps(SpfFilePreReqCommand.java:75)
      at oracle.oplan.sdk.cmdtranslator.Command.getExecutionSteps(Command.java:101)
      at oracle.oplan.core.engine.SequencingEngine.expandRollingPhase(SequencingEngine.java:113)
      at oracle.oplan.core.engine.SequencingEngine.expandPhases(SequencingEngine.java:250)
      at oracle.oplan.core.engine.SequencingEngine.getExecutionPlan(SequencingEngine.java:271)
      at oracle.oplan.sdk.OPlanFacade.generateExecutionPlan(OPlanFacade.java:250)
      at oracle.opatchauto.gi.GIPatching.generatePatchingSteps(GIPatching.java:447)
      at oracle.opatchauto.gi.OPatchautoExecution.main(OPatchautoExecution.java:142)
Caused by: oracle.oplan.sdk.oplan.OPlanInternalException: Expected at least one target in putTargets

 

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