Unable To Call Outbound Web Services Using Triggers In Sales Cloud (Doc ID 1682232.1)

Last updated on JANUARY 26, 2016

Applies to:

Oracle Fusion CRM Application Composer Cloud Service - Version 11.1.7.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to call outbound web services using triggers in Sales Cloud, the following error occurs.

An application error occurred. See the incident log for more information.
An application error has occurred. Your help desk can use the following information to obtain a more detailed description of this incident:264,Server Domain: CRMDomain, Server Instance: CustomerServer_1, ApplicationName: CustomerApp.
JBO-25183: Exception in expression "Deleted_OUTQ_c" trigger "GB_Delete_WS_Call" : java.lang.NullPointerException


Reproducible Steps

1. Delete a record in Sales Cloud (say Account, Address, Contact etc)

2. Call an outbound web service to synch this information with an external system.

3. Pass the following information to the external web service

    Record ID (For Ex. Party Id for a deleted customer)
    Record Type (Account, Contact, Address etc)
    Record Operation (Delete)

4. Create a custom object and insert the Id of deleted party

5. Delete the Customer using UI (When the Party Status changes to I).

6. Able to insert the record into custom object by writing a groovy script (trigger)under Account object under common.

7. Created another trigger at Custom Object. This will call the web service for inserted records by passing
    Record ID
    Record Type (Account, Contact, Address etc)
    Record Operation (Delete)

8. This web service call fails with the following error when the customer is deleted.

    Messages for this page are listed below.
    An application error occurred. See the incident log for more information.
    An application error has occurred. Your help desk can use the following information to obtain a more detailed description of this incident: 264, Server Domain: CRMDomain, Server Instance: CustomerServer_1, Application
    Name: CustomerApp.
    JBO-25183: Exception in expression "Deleted_OUTQ_c" trigger "GB_Delete_WS_Call" : java.lang.NullPointerException

Due to this issue, users cannot call outbound web services using triggers in Sales Cloud

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