on 03-19-2014 7:26 PM
All,
I'm doing IDoc-File(ANSI X12) scenario but seeing the following error on receiver file adapter.I'm able to convert the xml to x12 using the converter.
MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException
Please let me know if you have any idea about this error .
Hi Viraj,
Did you resolved the issue?
Can you please provide me the solution for this. I am also facing the same issue for ANSIX12 outbound message.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then it might be issue with module version or channel configuration. can you please check the below blog
also please note the module key words are case sensitive.please refer the below help page
Note
The module name key words are case-sensitive.
Hello,
Not sure if i am correct, but may be check the sequence of converter module in receiver file adapter?
First will be ur X12 module and then sap standard file module
Thanks
Amit Srivastava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have never seen such a error while using converter module so when i searched this "No Element found" exception on java forums, i realized that these errors usually comes when the underlying structure or element in the message (which module is parsing) is missing
How to solve java.util.NoSuchElementException in Java
Obvoiusly, u cannot change the standard module but just validate if the message is valid enough or not. In addition to that, check developer traces in NWA, sometime NWA traces can help u a lot.
Thanks
Amit Srivastava
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.