Getting Errors While Making Web Service Call From Validation Rule

(Doc ID 2227881.1)

Last updated on JANUARY 27, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 and later
Information in this document applies to any platform.

Goal

I am doing a code groovy to restrict duplicate to " type document and identification document" but it is showing an error

"Exception in expression "PersonDVO" object function findContactDuplicates(java.lang.String,java.lang.String) : java.lang.NullPointerException : Cannot invoke method findContact() on null object
at "PersonDVO" object function findContactDuplicates(java.lang.String,java.lang.String) line 43
at "PersonDEO" validation rule "ValidateDocumentContact" line 18
"

I have just attached file of code groovy of the error

I am using SOAP WEB SERVICES, is this fine?
 

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