ADF BC REST API Not Returning Custom Validation Exception Error Messages
(Doc ID 3062220.1)
Last updated on DECEMBER 12, 2024
Applies to:
Oracle JDeveloper - Version 12.2.1.4.0 to 12.2.1.4.0 [Release 12c]Information in this document applies to any platform.
Symptoms
Validation is implemented on web services to throw a ValidationException when validation fails, interrupt the API call and return a custom error message to the end-user.
But in 12.2.1.4, the custom ValidationException is not being returned when the ADF BC REST API call fails as expected, it is being overridden by a NullPointerException which comes back in the response as an HTTP 500 code, and shows the following error in the logs/console:
Hence, the custom error message to the end-user is no longer being returned.
This was working in 12.2.1.3.
Cause
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
Symptoms |
Cause |
Solution |
References |