Error Java.lang.ClassCastException When Opening Email From Queue/Inbox (Doc ID 2263040.1)

Last updated on MAY 09, 2017

Applies to:

Oracle Email Center - Version 12.2.5 and later
Information in this document applies to any platform.

Symptoms

When attempting to view emails, the following error occurs.

ERROR
java.lang.ClassCastException: javax.mail.internet.MimeMessage cannot be cast to javax.mail.internet.MimeBodyPart

STEPS
1. Navigate to (R) Email center supervisor -> Email Center Supervisor Console -> Supervisor -> Account -> Messages -> Queue
2. Try to open the email, get the above mentioned exception.


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