Enterprise Capture Email Import Fails With Error "Oracle.odc.exception.CaptureException: Error Saving Message Body" (Doc ID 2223318.1)

Last updated on JULY 07, 2017

Applies to:

Oracle WebCenter Enterprise Capture - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Symptoms

Enterprise Capture Email import fails with the following error:

oracle.odc.exception.CaptureException: Error saving message body.


Following is the error stack trace:


[2016-11-29T08:39:40.273-08:00] [capture_server1] [WARNING] [] [oracle.odc.importprocessor.ImportJobSchedulerSessionBean] [tid: [ACTIVE].ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ] [ecid: 7b0caf43-bf5f-4c45-8537-4cdf797357a7-00018096,0] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error extracting attachments[[
oracle.odc.exception.CaptureException: Error extracting attachments
at oracle.odc.importprocessor.email.EmailSource.processMessage(EmailSource.java:652)
at oracle.odc.importprocessor.email.EmailSource.processFolder(EmailSource.java:323)
at oracle.odc.importprocessor.email.EmailSource.processAccount(EmailSource.java:246)
at oracle.odc.importprocessor.email.EmailSource.process(EmailSource.java:1309)
at oracle.odc.importprocessor.ImportProcessorBean.onMessage(ImportProcessorBean.jav
....
Caused by: oracle.odc.exception.CaptureException: Error saving message body.
at oracle.odc.importprocessor.email.util.MessageUtil.saveMessageBody(MessageUtil.java:156)
at oracle.odc.importprocessor.email.EmailSource.processMessage(EmailSource.java:622)
... 55 more
Caused by: java.lang.NullPointerException
at oracle.odc.importprocessor.email.util.MessageUtil$PartRemovalProcessor.isPartToRemove(MessageUtil.java:214)
at oracle.odc.importprocessor.email.util.MessageUtil$PartRemovalProcessor.processMultipart(MessageUtil.java:202)
at oracle.odc.importprocessor.email.PartProcessor.process(PartProcessor.java:42)

Changes

 

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