My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

Applies to:

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


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(
      at oracle.oplan.db.engine.CRSContextPopulator.populateContextForRACDatabase(
      at oracle.oplan.db.engine.CRSContextPopulator.populateContext(
      at oracle.oplan.db.cmdtranslator.commands.SpfFilePreReqCommand.generateExecutionSteps(
      at oracle.oplan.sdk.cmdtranslator.Command.getExecutionSteps(
      at oracle.oplan.core.engine.SequencingEngine.expandRollingPhase(
      at oracle.oplan.core.engine.SequencingEngine.expandPhases(
      at oracle.oplan.core.engine.SequencingEngine.getExecutionPlan(
      at oracle.oplan.sdk.OPlanFacade.generateExecutionPlan(
Caused by: oracle.oplan.sdk.oplan.OPlanInternalException: Expected at least one target in putTargets



To view full details, 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 a vibrant support community of peers and Oracle experts.