on 05-29-2012 5:28 PM
Hi All,
We have an interesting error going from SAP (IDoc INVOIC.INVOIC02) through PI and out as a SOAP message through a SOAP adapter to a webservice. The message appears to process fine in SXI_MONITOR but the webservice never receives the message. Digging into the RWB the SOAP adapter gives the following error:
Message processing failed. Cause: com.sap.aii.messaging.adapter.trans.TransformException: Error converting Message; nested exception caused by: java.lang.NullPointerException
I should mention we're running into this issue after an upgrade from 4.6C to ECC6.0 unicode but to my knowledge the IDoc has not changed. If anyone could help it would be greatly appreciated!
Thanks!
Don
Here is the message tool audit from RWB:
| ||||||||||||||||||||||||||||||
|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First check in the IE pipeline steps and see where it fails... Null pointer exception could be data which is not available during runtime. Take the data from SXMB_MONI and analyze the values for the target structure field elements one by one. Also check the occurence of the tag element and see whether you fails due to data issues. I suspect problem in the mapping area.
Hi Baskar,
The mapping worked properly in the solution coming out of 4.6C. Only after upgrade to ECC6.0 does the error now occur. Since the error occurs only after the upgrade doesn't it stand to reason that there may be an issue with the data coming out of ECC that could be causing this?
Thanks!
Did you see SXMB_MONI pipeline steps and check any error over there? This would give idea at what step the error is causing ... As you know nullpointer exception is a java exception thrown if the value that is mandatory or expected does not available for a variable or in java logic during run time.
Hi Baskar,
The issue I'm having is that there is no error reported in any of the pipeline steps of sxb_moni. According to _moni/_monitor the message processed ok. The issue is that no message was sent from PI to the webservice due to the nullpointer exception that isn't detailed anywhere....
I can't seem to locate a cause of this error. Where (spcifically) might I find the cause?
Thanks!
Thanks for the details. Another important thing to be verified is see any adapter module in the communication channel that cause this issue? Looks like XMLAnonymizerbean is being used successfully. Check your attribute/values in the adapter modlule appears as given in the runtime. Is there any requirement change for removing namespace prefix or namespace?
Your target URL is blank. Hope you are sending the right URL?
>Error converting Message; nested exception caused by: java.lang.NullPointerException
Please check your namespaces whether they are removed or added as per the requirement after using XMLanonymizer bean. Also try to consume this webservice using external test tool like SOAPUI and see how that works.
The similar situation is discussed in the thread.. You might want to see this ...
Hi again Baskar,
All messages from PI from this scenario are failing in PI on the way to the webservice with the java.lang.NullPointerException. This is not an isolated incident within 1000 messages. It happens each time. I'm currently looking at other possibilities but believe I may have to open a ticket with OSS on this one unless you have further ideas?
Thanks,
Don
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.