My Oracle Support Banner

OPatch Error "Backup libraries to be regenerated failed with error message null" When Applying WebLogic Server PSU (Doc ID 2324404.1)

Last updated on SEPTEMBER 25, 2020

Applies to:

Oracle WebLogic Server - Version 12.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

On WebLogic Server 12c, using the OPatch utility to apply a Patch Set Update (PSU), when an error occurs:

Backup libraries to be regenerated failed with error message "null"

OPatch logs with full error stack:

OUI-68018: Getting list of libraries to regenerate.
Backup libraries to be regenerated failed with error message "null"
Stack Description: java.lang.RuntimeException: Backup libraries to be regenerated failed with error message "null"
StackTrace: oracle.opatch.SystemCall.fastCopy(SystemCall.java:296)
StackTrace: oracle.opatch.SystemCall.copyFile(SystemCall.java:1111)
StackTrace: oracle.opatch.SystemCall.copyFile(SystemCall.java:1022)
StackTrace: oracle.opatch.RegenerateLib.backUpLibrariesForRestore(RegenerateLib.java:204)
StackTrace: oracle.opatch.RegenerateLib.regenerate(RegenerateLib.java:133)
StackTrace: oracle.opatch.OPatchSessionHelper.runLibraryRegeneration(OPatchSessionHelper.java:7046)
StackTrace: oracle.opatch.MergedPatchObject.invokeConsolidatedRLib(MergedPatchObject.java:1791)
StackTrace: oracle.opatch.opatchutil.NRollback.legacy_process(NRollback.java:1046)
StackTrace: oracle.opatch.opatchutil.NRollback.process(NRollback.java:225)
StackTrace: oracle.opatch.opatchutil.OUSession.nrollback(OUSession.java:1100)
StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
StackTrace: java.lang.reflect.Method.invoke(Method.java:498)
StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:351)
StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2605)
StackTrace: oracle.opatch.OPatch.main(OPatch.java:647)

  

Changes

- It appears that the patch is in fact being applied to the server.

- This problem only occurs on Windows and cannot be reproduced on Linux.

- The problem occurs only when a previous PSU is in place before the new PSU is applied.

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


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