search cancel

RA FTP jobs failed: General copy file exception

book

Article ID: 242738

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

The RA FTP job failed with an error message below.

 

com.uc4.ftpjob.DataTransferException: General copy file exception.
 at com.uc4.ftpjob.commands.impl.CopyCommand.throwDataException(CopyCommand.java:705)
 at com.uc4.ftpjob.commands.impl.CopyCommand.execute(CopyCommand.java:674)
 at com.uc4.ftpjob.commands.impl.CopyCommand.execute(CopyCommand.java:444)
 at com.uc4.ftpjob.commands.CommandProcessor.execCommand(CommandProcessor.java:325)
 at com.uc4.ftpjob.commands.CommandProcessor.processCommands(CommandProcessor.java:166)
 at com.uc4.ftpjob.commands.CommandProcessor$processCommands$0.call(Unknown Source)
 at FtpJob.runJob(FtpAgent.groovy:304)
 at com.uc4.extensibility.types.CITAgent.dispatchJob(CITAgent.java:258)
 at com.uc4.ex.cit.CITJob.execute(CITJob.java:195)
 at com.uc4.ex.Job.run(Job.java:470)
 at com.uc4.ex.ThreadPool$RunnableDecorator.run(ThreadPool.java:53)
 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
 at java.util.concurrent.FutureTask.run(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
 at com.uc4.ftpjob.commands.impl.CopyCommand.execute(CopyCommand.java:509)
 ... 14 more
2022-05-19 04:52:32             Command aborted with error message: General copy file exception. -1.
2022-05-19 04:52:32             Job will continue to process commands.
-1

Environment

Release : 12.3

Component : RA FTP Agent

Cause

Environmental issue:

The Source directory used in the RA FTP job does not exists.

Resolution

Please make that the Source Directory used in the RA FTP job exists.