on 05-24-2012 7:00 AM
Hi,
We are getting this error in SXMB_MONI.
StreamTransformationException triggered by application mapping program mx/com/sap/cfd/mapping/JMapping71_ext; class java.lang.NullPointerException while trying
Can you please help us?
Thanks and regards,
Amol
Hi Amol,
The input XML might be missing some field which java code is expecting to come. Now this is what you can do.
1. Take the source XML payload and paste in browser to check all fields.
2. reduce the payload volume i.e the input xml to find out what minimum data is not giving any errors.
After you have indentified the field responsible for the error you need to add a message mapping before java mapping where default values will be put for each of the fields expected by java mapping code.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
have you seen below thread:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavani Sankar,
Thanks for the reply.
I saw the thread you provided and I think the error has occurred as some field in the IDoc is not getting populated which is needed to generate the XML as per the conclusion of the thread.
But how will I come to know which field is not populated as there is only Java code implmented and I do not know much about Java.
Can you please help me in finding the field that is needed to be populated?
Thanks in advance
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.