My Oracle Support Banner

java.lang.NoClassDefFoundError: Could Not Initialize Class java.awt.Color When Testing An Application (Doc ID 1517114.1)

Last updated on OCTOBER 10, 2018

Applies to:

Oracle WebLogic Server - Version 10.3.5 and later
Generic UNIX
***Checked for relevance on 28-Jul-2016***

Symptoms

Customer cannot test a new application in a Linux environment. The same application works fine in Windows. When testing the application the following errors occur:

####<Dec 20, 2012 12:02:46 PM PST> <Error> <HTTP> <mydomain> <myserver> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <6ee58ad72b058962:6703d984:13bb9e0af24:-8000-0000000000003f63> <1356033766926> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.myfaces.trinidad.webapp.TrinidadFilter.
java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color
at org.apache.myfaces.trinidad.convert.ColorConverter.<clinit>(ColorConverter.java:676)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.application.ApplicationImpl.newConverter(ApplicationImpl.java:1754)
at com.sun.faces.application.ApplicationImpl.createConverter(ApplicationImpl.java:1306)
at oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.addConverterByTargetClass(ConverterValidatorRegistrationUtils.java:164)
at oracle.adfinternal.view.faces.util.rich.ConverterValidatorRegistrationUtils.register(ConverterValidatorRegistrationUtils.java:84)
at oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator.init(RegistrationConfigurator.java:84)
at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.init(GlobalConfiguratorImpl.java:399)

####<Dec 20, 2012 12:05:23 PM PST> <Error> <HTTP> <mydomain> <myserver> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <> <1356033923175> <BEA-101165> <Could not load user defined filter in web.xml: org.apache.myfaces.trinidad.webapp.TrinidadFilter.
java.lang.UnsatisfiedLinkError: /oracle/Oracle/Middleware/jdk160_24/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1806)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1702)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1806)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1723)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1605)
at java.awt.Toolkit.<clinit>(Toolkit.java:1627)
at java.awt.Color.<clinit>(Color.java:263)
at org.apache.myfaces.trinidad.convert.ColorConverter.<clinit>(Co

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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.