My Oracle Support Banner

Inbound JSON Request Errors Out If The Message Body Has 'null' Values (Doc ID 2652736.1)

Last updated on JUNE 10, 2020

Applies to:

Siebel CRM - Version 16.0 [IP2016] and later
Information in this document applies to any platform.

Symptoms

ERROR
-----------------------
org.codehaus.jettison.json.JSONObject cannot be cast to org.codehaus.jettison.json.JSONArray


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Send the JSON message and invoke a BS in Siebel via POSTMAN
2. Accept an inbound JSON message in Siebel which has 'null' values

 




Setting "Comments":null is giving the error     "ERROR":"org.codehaus.jettison.json.JSONObject cannot be cast to org.codehaus.jettison.json.JSONArray"
Setting  "Comments":"" is working fine.



Also, Siebel is not accepting array inputs like "status_change":["in_activation","dropped"]

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.