My Oracle Support Banner

Receiving "Exception java.awt.AWTError: Can't connect to X11 window server using 'ipaddress:2.0' as the value of the DISPLAY variable" When Processing PNG Files (Doc ID 2989825.1)

Last updated on DECEMBER 04, 2023

Applies to:

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

Symptoms

Batches were duplicating and locking, even after deletion in the WebCenter Capture Client.  After further analysis, it was found that it is due to the files having extension as .PNG.

The below error occurs in the log file:

Error [Illegal band size: should be 0 < size <= 8] extracting image [0] from file/tmp/CaptureImport/7168540/"FileName".PNG

As per the Oracle Document 2383439.1, Patch 34980367: OWEC Bundle Patch 12.2.1.4.230115 was applied to resolve the issue. 

After the patch was applied the below Xserver errors occurred:

Caused by: oracle.odc.exception.CaptureException: Unpredictable runtime error is caught. See the nested exception.
Caused by: javax.ejb.EJBException: Unpredictable runtime error is caught. See the nested exception.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
Caused by: java.lang.ExceptionInInitializerError: Exception java.awt.AWTError: Can't connect to X11 window server using '<IP ADDRESS>' as the value of the DISPLAY variable.

How can this be resolved?

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.