My Oracle Support Banner

What can cause the 'OPATCH_JAVA_ERROR: Wrong number of arguments' error when VerifyPatch is called? (Doc ID 2266512.1)

Last updated on FEBRUARY 21, 2023

Applies to:

Oracle Clinical - Version 4.6.6 and later
Information in this document applies to any platform.

Goal

When applying Oracle Clinical / RDC Patches then there can be a requirement to install a techstack patch using OPatch. However sometimes the below error can be seen in the OPatch Apply log :

OPATCH_JAVA_ERROR: Wrong number of arguments. VerifyPatch needs ORACLE_HOME, OUI location, patch location, patch ID and path to 'ar' command, no_inventory, OS_ID.

Exception in thread "main" java.lang.Exception: Wrong number of arguments. VerifyPatch needs ORACLE_HOME, OUI location, patch location, patch ID and path to 'ar' command, no_inventory, OS_ID.

at opatch.VerifyPatch.main(VerifyPatch.java:835)

What can cause this error?

Solution

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
Goal
Solution
 CAUSE 1 :
 CAUSE 2 :


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