SAP Knowledge Base Article - Preview

3051952 - FTP Sender Adapter gives error while polling the 2nd file

Symptom

You have configured an FTP sender adapter in CPI and the first file gets polled successfully the subsequent files fail with the following error. 

org.apache.camel.StreamCacheException: Error during type conversion from type: org.apache.camel.component.file.remote.RemoteFile to the required type: org.apache.camel.StreamCache with value RemoteFile[filename] due Error during type conversion from type: java.lang.String to the required type: org.apache.camel.StreamCache with value [Body is not logged] due java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object returned from org.apache.camel.component.file.GenericFile.getBody(), cause: java.lang.NullPointerException: while trying to invoke the method java.lang.Object.getClass() of a null object returned from org.apache.camel.component.file.GenericFile.getBody()


Read more...

Environment

  • SAP Integration Suite
  • Cloud Integration 

Product

Cloud Integration all versions ; SAP Integration Suite all versions

Keywords

FTP, SCI, HCI, CPI, adapter, stream, polling, 2nd file , KBA , LOD-HCI-PI-RT , Integration Runtime , LOD-HCI-PI-OPS , Cloud Operations , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.