Skip to Content
avatar image
Former Member

NegativeArraySizeException in Sender Communication Channel

Hello PI world 😊

I have an error in a communication channel that I don't understand :

The interface is a simple mapping from a FTP server to a SAP IDoc.

The files are archived in the SAP PI server using the CC configuration :

CC Type : File FTP Sender (SAP BASIS 7.11)

Processing Mode : Archive

Archive Directory : /[directory on our file system]

Archive is not on the FTP Server but in our file system.

This configuration is working with a local FTP server and a distant FTP server that we have.

But it's not working with a distant FTP on a AS400 system (where I have no admin access).

The processing "Delete" is ok, but with the configuration above, we have this error in the communication channel :

Could not process due to error: java.lang.NegativeArraySizeException

Is this an error from SAP PI system or a mistake in the distant FTP server configuration (AS400).

I didn't find any similar problem in SDN.

Thanks for your help.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Mar 24, 2010 at 02:45 PM

    Hii Jeremy,

    Can you check the thread:


    Also see SAP Note: Note 893762 - XI 3.0 FTP Adapter: java.lang.NegativeArraySizeException

    They discussed in this note the same exact error.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello there,

      we face the exact same problem on SAP PI 7.11 SP 4.

      XIAF is on 1000.

      Is there any solution on this for PI 7.11?

      Note 1297495 is not for 7.11.

      Note 893762 is not for 7.11.

      SAPXIAF04 patch #6 does not show me (at least not in SWDC) any solution to this problem. Or is there with a later patch?

      Thanks a lot,