OTM/GTM Inbound Integration for Item Master Failed With Error 'java.lang.NullPointerException' When Payload Sent Without "CountryOfManufacture" Tag Within "ItemOrigin" Details
(Doc ID 2950188.1)
Last updated on OCTOBER 20, 2024
Applies to:
Oracle Global Trade Management Cloud Service - Version 19.3 and laterOracle Transportation Management Cloud Service - Version 19.3 and later
Information in this document applies to any platform.
Symptoms
While sending Inbound integration for Item Master into OTM / GTM with "ItemOrigin" Tag containing "CountryOfOrigin" details in the payload, OTM gives Null Pointer Exception i.e. NPE error in the Transmission Manager Error Report if Payload is constructed without "CountryOfManufacture" Tag.
Additionally,
1. In the UI "Country of Manufacture" field is not a mandatory one
2. Validated the payload without mentioned tag through "XML SCHEMA VALIDATION"
a. Without this tag, system does NOT throw any error while validating
b. While converted, this tag is NOT added on the converted xml
Sample Error Message
---------------------------
The only difference between these two payloads is the Successful payload contains the tag CountryOfManufacture whereas, that is not there in the Problematic payload.
For instance-
1. For the first case, Transmission generated will be error out, BUT,
2. For the second case, the Transmission will be PROCESSED
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 |