FTP Job fail when the transfer threads are increased from 20 to 30

book

Article ID: 208740

calendar_today

Updated On:

Products

CA Automic One Automation

Issue/Introduction

When a RAFTP job has the 'Set transfer thread' count increased to 30 from 20 in the job settings:

Job Fails with the following exception:
com.uc4.ftpjob.DataTransferException: General copy file exception.
at com.uc4.ftpjob.commands.impl.CopyCommand.throwDataException(CopyCommand.java:711)
at com.uc4.ftpjob.commands.impl.CopyCommand.execute(CopyCommand.java:680)
at com.uc4.ftpjob.commands.ThreadPoolJobExecutor$ThreadRunner.run(ThreadPoolJobExecutor.java:87)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.NullPointerException
at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.throwDataException(FtpFacadeCommandImpl.java:55)
at com.uc4.ftpjob.commands.FtpFacadeCommandImpl.getOutputStream(FtpFacadeCommandImpl.java:109)
at com.uc4.ftpjob.commands.impl.CopyCommand.execute(CopyCommand.java:601)
... 6 more
2021-01-21 14:24:36 copied: /automic/test/xxx4634597_CCG.pdf - 2625430 bytes sent in 1.75 Seconds 1495.97 Kbytes/sec.
2021-01-21 14:24:36 copied: /automic/test/xxx1_CCG.pdf - 3390512 bytes sent in 1.89 Seconds 1785.41 Kbytes/sec.
2021-01-21 14:24:36 copied: /automic/test/xxx2_CCG.pdf - 3308024 bytes sent in 1.93 Seconds 1707.80 Kbytes/sec.
2021-01-21 14:24:37 copied: /automic/test/xxx3_CCG.pdf - 3919529 bytes sent in 2.08 Seconds 1883.48 Kbytes/sec.
2021-01-21 14:24:37 copied: /automic/test/xxx4_CCG.pdf - 3155554 bytes sent in 2.16 Seconds 1458.87 Kbytes/sec.
2021-01-21 14:24:37 20 files transferred, 8 not processed - 72605477 bytes sent in 5363.48 Kbytes/sec
2021-01-21 14:24:37 pool-1-thread-21648: SFtpCommandImpl: start: disconnect(): no args
2021-01-21 14:24:37 Disconnecting from gsasgoa.automic.com port 22

Environment

AE Version - 12.2
12.2.5+build.1579862631372
RA CIT
FTPAGENT
4.0.9+build.295

Resolution

This is a bug, and will be solved in a future release.

Workaround is using less transfer threads than the server does allow, or increasing the amount of allowed threads on the remote SFTP server.