JOBF is failing: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null
search cancel

JOBF is failing: Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null

book

Article ID: 447575

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

 File transfers from an AS400 agent to a Java-based agent fails when using standard wildcard patterns on the source agent's File field. Ex. LIBRARYNAME/INI* .

On the destination agent's log file:

20260709/213332.252 - U00011407 FT '1279006': File transfer with partner 'UCTLSGTW' has started.

20260709/213333.508 - Cannot invoke "java.lang.CharSequence.length()" because "this.text" is null

20260709/213434.894 - U00003449 Output to the TRACE file is finished.

 

Environment

  • Automic Automation version 24.x
  • AS400 Agent version 24.x

Cause

 A defect DE208968 exists in the way wildcard characters are parsed during the selection phase between AS400 and Java agents in version 24.

Resolution

Workaround :

  1. Modify your File Transfer (JOBF) object source settings.
  2. Change the file pattern to use parentheses for the wildcard. For example, change LIBRARY/FILENAME* to LIBRARY/FILENAME(*).

Resolution:

The issue is fixed in Automation Engine and Agent version 24.4.6. This means the behavior affects versions prior to 24.4.6, and does not affect version 24.4.6 and later.