Email Listener fails with ArrayIndexOutOfBoundsException in logs
User was unable to receive an email due to the failure of the Email listener with ArrayIndexOutOfBoundsException.
DEMO:01.01.01] ( services.email.EmailListener) ERROR EMAIL.YourServices.Listener|from([email protected])|sub(FW: Demo) [email protected] - Caught unexpected ArrayIndexOutOfBoundsException. Will attempt to mark mail as 'seen'.
java.lang.ArrayIndexOutOfBoundsException: message number (4) out of bounds (3)
Steps to Reproduce
Send a mail to the specified email account configured the e-mail listener which throws the ArrayIndexOutOfBoundsException in the logs.
Pega7.1.8 uses Java Mail 1.5.2 jar and this needs to be updated to Java Mail 1.5.3 jar where the reported issue has been fixed.
Provided Hfix-26153 which uses later version of Java Mail API jar which resolves the reported issue.
0% found this useful