cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module Error when using Advantco SFTP adapter

Former Member
0 Kudos

I had developed an adapter module to zip files before processing . This works fine with FTP and FTPS communication channels. We also have SFTP channels using Advantco's SFTP adapter . The same adapter module gives me the following error in CC monitoring on the SFTP channels.

Is there some setting I need to make either in the communication channel or in the module ??

Error when sending message from source file '/public/temp/test.txt': com.sap.engine.services.ts.transaction.TxRollbackException: Current transaction is marked for rollback

MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.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.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException; nested exception is: javax.ejb.EJBException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.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.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException; nested exception is: javax.ejb.EJBTransactionRolledbackException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.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.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException; nested exception is: javax.ejb.EJBException: Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.adaptermodule.ZipFileBean.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.adaptermodule.ZipFileBean@16f43358 for bean xyz.com/ZipModulexml|Zip_EJB.jarxml|ZipFile; nested exception is: java.lang.NullPointerException

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The problem was that the message id was not available in the SFTP adapter but that got fixed with version 3.0.11 and is working now for Dev.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

if this doe not work only for this adapter then write a message to Advantco

as it's probably their implementation that has got something different and your module does not work

Regards,

Michal Krawczyk