Create operation in ADF REST Web Service Returns NullPointerException for Null Date Values

(Doc ID 2261376.1)

Last updated on MAY 02, 2017

Applies to:

Oracle JDeveloper - Version to [Release 12c]
Information in this document applies to any platform.


In ADF when a Create operation (POST REST request) in ADF REST Web Service is called with null values for Date columns, a NullPointerException is thrown.

For example, Create operation with the following payload:

     "CommissionPct" : null,
     "DepartmentId" : 10,
     "Email" : "JWHALEN",
     "EmployeeId" : 200,
     "FirstName" : "Jennifer123",
     "HireDate" : null,
     "JobId" : "AD_ASST",
     "LastName" : "Whalen",
     "ManagerId" : 101,
     "PhoneNumber" : "515.123.4444",
     "Salary" : 4400

The HireDate value is passed as null, as the attribute is not required.

Response is:



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