Group Client IP Returns a Null Pointer Exception when there is a Property with a Null Value
(Doc ID 2540997.1)
Last updated on FEBRUARY 11, 2020
Applies to:
Oracle Health Insurance Enterprise Policy Administration - Version 3.19.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
On : 3.19.1.0.1 version, Integration Points
When the payload for the group client IP has a property with a null value, the IP answers with a null pointer exception.
ERROR
-----------------------
"GEN-PROC-ERR: An error occurred in processing the request; for more information about the error search the logging for occurrences of "java.lang.NullPointerException"",
"o:errorPath": "$"
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
PUT the following payload to the group client IP
{
"code": "120",
"displayName": "TNYDEVELOPMENTINC",
"descr": "TNYDEVELOPMENTINC",
"macRep": "JohnDoe",
"billingEntity": "<company>",
"employerOrganizationCode": "12",
"employerOrganization": null,
"groupAccountList": [
{
"code": "116",
"displayName": "test1",
"descr": "test1",
"billingEntity": "<company>",
"startDate": "2019-04-17",
"groupAccountTimePeriodList": [
{
"endDate": "2022-12-31",
"displayName": "2022-01-01:2022-12-31",
"startDate": "2022-01-01",
"subtype": "GATP"
}
]
}
]
}
Response:
{
"o:errorDetails": [
{
"o:errorCode": "GEN-PROC-ERR",
"title": "GEN-PROC-ERR: An error occurred in processing the request; for more information about the error search the logging for occurrences of "java.lang.NullPointerException"",
"o:errorPath": "$"
}
]
}
Now, move the "employerOrganization" property to after the "groupAccountTimePeriodList" property.
It should work.
Changes
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 |
Changes |
Cause |
Solution |
References |