My Oracle Support Banner

JAVA.LANG.CLASSCASTEXCEPTION: MIMEMULTIPART CANNOT BE CAST TO STRING (Doc ID 2343057.1)

Last updated on SEPTEMBER 30, 2021

Applies to:

Oracle Workflow - Version 12.1.3 to 12.2 [Release 12.1 to 12.2]
Information in this document applies to any platform.

Symptoms

When a MIME Multipart unsolicited E-mail message is received by WF mailer an exception is triggered caused by an illegal cast of a MIME Multipart object
to a String.Below errors are noticed in the mailer log

[Nov 1, 2017 1:25:08 PM
CET]::-1:-1::-1:
-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:127
0737204:84435:1509539093304:40:UNEXPECTED:[SVC-GSM-WFMLRSVC-613853-10006 :
oracle.apps.fnd.cp.gsc.Processor.run()]:java.lang.ClassCastException:
javax.mail.internet.MimeMultipart cannot be cast to java.lang.String
[Nov 1, 2017 1:25:08 PM
CET]::-1:-1::-1:
-1:1:20420:SYSADMIN(0):-1:Thread[inboundThreadGroup1,5,inboundThreadGroup]:127
0737204:84435:1509539093304:40:UNEXPECTED:[SVC-GSM-WFMLRSVC-613853-10006 :
oracle.apps.fnd.cp.gsc.Processor.run()]:An unexpected RuntimeException or
Throwable occurred -> java.lang.ClassCastException:
javax.mail.internet.MimeMultipart cannot be cast to java.lang.String

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.