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

Last updated on MAY 16, 2017

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

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