My Oracle Support Banner

Email Import Processors Hangs on Some JPG Attachments and NPE Error "[Error reading image file.] extracting image [1] from file" Occurs in the Log (Doc ID 2851027.1)

Last updated on FEBRUARY 25, 2022

Applies to:

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

Goal

Some emails containing a JPG file attachment cause a Null Pointer Exception (NPE), and then the Capture Import Processor hangs.

[2021-11-22T15:30:12.209-07:00] [capture_server1] [NOTIFICATION] [] [oracle.odc.importprocessor.ImportJobSchedulerSessionBean] [tid: [ACTIVE].ExecuteThread: '24' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: <ECID>] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] Error [Error reading image file.] extracting image [1] from fileC:\Oracle\Capture\Import\Invoices Import\<filename>.jpeg
[2021-11-22T15:30:12.209-07:00] [capture_server1] [ERROR] [] [oracle.odc.importprocessor.ImportJobSchedulerSessionBean] [tid: [ACTIVE].ExecuteThread: '24' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid:<ECID>] [APP: capture] [partition-name: DOMAIN] [tenant-name: GLOBAL] EJB Exception: : java.lang.NullPointerException[[
at oracle.odc.importmanager.ImportManagerSessionBean.importFile(ImportManagerSessionBean.java:448)

This is documented in Bug 33597077 -Some JPEG Files cause Import Processor NPE and Hang.

Solution

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
Goal
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.