Janardhan Krishnan (JanardhanK0965)
BNY Mellon

BNY Mellon
JanardhanK0965 Member since 2013 11 posts
BNY Mellon
Posted: October 31, 2019
Last activity: November 8, 2019
Posted: 31 Oct 2019 3:17 EDT
Last activity: 8 Nov 2019 0:44 EST

Getting "java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 " error when sending email

We are migrating our application from Pega 7.1 to Pega 7.4 version
After migration we are getting below error while sending email in 7.4 version
ERROR - Conversion failed
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0

We use the below settings to send email. Screenshot attached for reference
1. Set email addresses in .pyEmail1 property in WorkParty Data Transform (WorkParty screenshot)
2. Call CorrNew OOTB activity with required params (CallCorrNew screenshot)

Error log attached. I see error throws from SendCorr Agent in "Data-Corr-Email Send" activity when traced.

The above setting works fine in Pega 7.1 version.

Please advice if you have any solution for this.

Low-Code App Development Case Management
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.