JanardhanK0965 Member since 2013 11 posts
BNY Mellon
Posted: 11 months ago
Last activity: 11 months 2 weeks ago

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
Share this page LinkedIn