OPatch Error "Backup libraries to be regenerated failed with error message null" When Applying WebLogic Server PSU

(Doc ID 2324404.1)

Last updated on NOVEMBER 10, 2017

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:

[Oct 30, 2017 2:12:54 PM] OUI-68018: Getting list of libraries to regenerate.
[Oct 30, 2017 2:12:54 PM] Backup libraries to be regenerated failed with error message "null"Mon Oct 30 14:12:54 EDT 2017
[Oct 30, 2017 2:12:54 PM] Stack Description: java.lang.RuntimeException: Backup libraries to be regenerated failed with error message "null"
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.SystemCall.fastCopy(SystemCall.java:296)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.SystemCall.copyFile(SystemCall.java:1111)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.SystemCall.copyFile(SystemCall.java:1022)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.RegenerateLib.backUpLibrariesForRestore(RegenerateLib.java:204)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.RegenerateLib.regenerate(RegenerateLib.java:133)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.OPatchSessionHelper.runLibraryRegeneration(OPatchSessionHelper.java:7046)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.MergedPatchObject.invokeConsolidatedRLib(MergedPatchObject.java:1791)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.opatchutil.NRollback.legacy_process(NRollback.java:1046)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.opatchutil.NRollback.process(NRollback.java:225)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.opatchutil.OUSession.nrollback(OUSession.java:1100)
[Oct 30, 2017 2:12:54 PM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[Oct 30, 2017 2:12:54 PM] StackTrace: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[Oct 30, 2017 2:12:54 PM] StackTrace: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[Oct 30, 2017 2:12:54 PM] StackTrace: java.lang.reflect.Method.invoke(Method.java:498)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.UtilSession.process(UtilSession.java:351)
[Oct 30, 2017 2:12:54 PM] StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2605)
[Oct 30, 2017 2:12:54 PM] 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

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