My Oracle Support Banner

Enterprise Capture Import Processor Fails To Import An E-mail Which Is BASE64 Encoded (Doc ID 2013200.1)

Last updated on NOVEMBER 28, 2023

Applies to:

Oracle WebCenter Enterprise Capture - Version 11.1.1.8.0 to 11.1.1.8.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Import Processor is set to monitor an e-mail inbox and import every e-mail from there. The problem occurs as soon as there is BASE64 encoded e-mail.

The following error message occurs, and no Batch is created:

[APP: capture] Error extracting text/plain body from message.
oracle.odc.exception.CaptureException: Error extracting text/plain body from message.
at oracle.odc.importprocessor.email.util.MessageUtil.getTextMessageBody(MessageUtil.java:61)
...
Caused by: java.lang.ClassCastException: com.sun.mail.util.BASE64DecoderStream
at oracle.odc.importprocessor.email.util.MessageUtil.getTextMessageBody(MessageUtil.java:58)

If the settings for the email import job is changed by removing the message body from the Batch, the error message changes and an empty Batch is created:

[APP: capture] Error extracting attachments
oracle.odc.exception.CaptureException: Error extracting attachments
at oracle.odc.importprocessor.email.EmailSource.processMessage(EmailSource.java:557)
...
Caused by: oracle.odc.exception.CaptureException: Error extracting text/plain body from message.
at oracle.odc.importprocessor.email.util.MessageUtil.getTextMessageBody(MessageUtil.java:61)
...
Caused by: java.lang.ClassCastException: com.sun.mail.util.BASE64DecoderStream
at oracle.odc.importprocessor.email.util.MessageUtil.getTextMessageBody(MessageUtil.java:58)

 

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.