Skip to Content
avatar image
Former Member

NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'

Dear Team,

This is basically FTP to FTPS scenario where at Receiver communication channel I'm facing below error:

Error when getting an FTP connection from connection pool: Unable to create a new pooled resource : NullPointerException while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'

PI fetches the text file from ECC application server and places into the target application folder wherein we face the error at receiver communication channel.

Please help. Many Thanks...!!

Regards,

Rajesh PS

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Nov 03, 2015 at 04:58 PM

    Looks like an issue while connecting to the target server.

    Can you share screenshots of your channel configuration and the error?

    Have you configured certificates correctly for FTPS?

    Regards,

    Gav

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Rajesh,

      Please note that certificates are in Binary or X.509 format.

      from the screenshot of the receiver channel I can see that the transfer mode is Binary, however on the other hand you have also checked the checkbox for X.509 certificate. Here I can suggest you to uncheck that check box.

      Regards,

      Souvik

  • avatar image
    Former Member
    Dec 06, 2015 at 12:47 PM

    Dear All,

    Please provide you inputs and kindly help me out on this error.

    Many Thanks....!!

    Add comment
    10|10000 characters needed characters exceeded