My Oracle Support Banner

Unable To Cancel Contracts - Received an Unexpected Java NullPointerException Error (Doc ID 2954170.1)

Last updated on AUGUST 07, 2023

Applies to:

Oracle Lease and Finance Management - Version 12.2.5 and later
Information in this document applies to any platform.


After applying Patch 35243186.C OLFM : 12.2 UNIFIED PATCH - MAR 2023, when attempting to cancel a contract the following error is displayed:

You have encountered an unexpected error. Please contact your System Administrator for assistance.

Exception Details:

## Detail 0 ##
at oracle.apps.okl.origination.contracts.server.ORContractSrchAMImpl.cancelContract(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(
at oracle.apps.okl.origination.contracts.webui.ORKhrSearchCO.processFormRequest(
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(

The issue can be reproduced at will with the following steps:
1. Using lease super user responsibility, navigate to customers >> contracts.
2. Query a contract in Incomplete or New status.
2. Select Cancel from the Action drop down and click Go.
3. Click Yes in the confirmation page and error is displayed.


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

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