RA FTP FreeForm FTP job using an SFTP operation type (on the login) Aborts when run in AM

Document ID : KB000089436
Last Modified Date : 14/04/2018
Show Technical Document Details
Issue:
RA FTP FreeForm FTP job using an SFTP operation type (on the login) Aborts when run in AM
Resolution:

Symptoms

The job aborts with the following error in the output file for the job.
  
 session created
 known hosts file =/home/qa4/.ssh/known_hosts
 FtpAgent_FTPFileTransferJob_connection completed_s
 sftp channel opened
 compression set to OFF
 cmd: remoteFileSeparator null
 ErrorMsg: Internal error  (4/26/12 4:05 PM)
 Details:
 java.lang.NullPointerException
  at com.automic.extensibility.fileTransfer.CITSFTPImpl.processCommands(CITSFTPImpl.java:249)
  at com.automic.extensibility.fileTransfer.CITSFTPImpl.execute(CITSFTPImpl.java:168)
  at com.automic.extensibility.fileTransfer.CITFileTransfer$execute.call(Unknown Source)
  at FTPFileTransferJob.runJob(FtpAgent.groovy:294)
  at FTPFileTransferJob$runJob.call(Unknown Source)
  at FtpAgentImpl.dispatchJob(FtpAgent.groovy:449)
  at com.appworx.agent.extensibleagent.A$_A$1.run(GenericExtensibleAgent.java:747)
  at com.automic.extensibility.container.CITWorker.doRun(CITWorker.java:100)
  at com.automic.be.threading.AbstractWorker.run(AbstractWorker.java:390)
  at java.lang.Thread.run(Thread.java:662)


Cause


ResolutionPossible Workarounds:
 1. Use a Free form job (if you must use an Operation type of SFTP).
 OR
 2. Use a login Operation type of FTP (may not be a viable option if the customer needs to use the SFTP operation).