Workflow Mailer Stringindexoutofboundsexception String Index Out Of Range: 36 (Doc ID 734045.1)

Last updated on DECEMBER 20, 2016

Applies to:

Oracle Workflow Cartridge - Version 11.5.10.2 to 12.0.4 [Release 11.5.10 to 12]
Information in this document applies to any platform.
Checked for relevance on 05-JAN-2013


Symptoms

On 12.0.4 in Production,
when attempting to process workflow notifications the following error occurs:

[Jul 22, 2008 1:35:59 PM
EDT]:1216748159643:-1:-1:bmr51d.bmr.bdoutsource.com:10.10.185.10:-1:-1:1:20420:SYSADMIN(0):-1:Thread
[outboundThreadGroup1,5,outboundThreadGroup]:10.10.185.10:59671:1216748159643:28:UNEXPECTED:[SVC-GSM
-WFMLRSVC-13954-10006 :oracle.apps.fnd.cp.gsc.Processor.run()]:java.lang.StringIndexOutOfBoundsException: String index out of range: 36
at java.lang.String.substring(String.java:1765)
at oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.send(SMTPOutboundProcessor.java:880)
at oracle.apps.fnd.wf.mailer.SMTPMessageHandler.sendMessages(SMTPMessageHandler.java:337)
at oracle.apps.fnd.wf.mailer.SMTPOutboundProcessor.processMessage(SMTPOutboundProcessor.java:1279)
at oracle.apps.fnd.cp.gsc.SvcComponentProcessor.process(SvcComponentProcessor.java:659)
at oracle.apps.fnd.cp.gsc.Processor.run(Processor.java:283)
at java.lang.Thread.run(Thread.java:595)

 

The issue can be reproduced at will with the following steps:
1. Clone instance
2. Start workflow services
3. Send a test email notification

The issue has the following business impact:
Due to this issue, users cannot send workflow email notifications.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms