'Caught Exception in Report.fill(): Could not initialize class sun.awt.X11GraphicsEnvironment' running or viewing Reports in RSA Identity Governance & Lifecycle
Originally Published: 2015-06-25
Article Number
Applies To
RSA Version/Condition: All
Issue
Caught Exception in Report.fill(): Could not initialize class sun.awt.X11GraphicsEnvironment
The following errors are logged to the aveksaServer.log file:
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.154 ERROR (Thread-65) [SystemErr] Exception in thread "Thread-65">
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.155 ERROR (Thread-65) [SystemErr] java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.156 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName0(Native Method)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.156 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName(Class.java:171)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.157 ERROR (Thread-65) [SystemErr] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.157 ERROR (Thread-65) [SystemErr] at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.157 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName0(Native Method)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.158 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName(Class.java:171)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.158 ERROR (Thread-65) [SystemErr] at java.awt.Toolkit$2.run(Toolkit.java:834)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.159 ERROR (Thread-65) [SystemErr] at java.security.AccessController.doPrivileged(Native Method)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.159 ERROR (Thread-65) [SystemErr] at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.160 ERROR (Thread-65) [SystemErr] at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:122)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.160 ERROR (Thread-65) [SystemErr] at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1554)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.161 ERROR (Thread-65) [SystemErr] at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.161 ERROR (Thread-65) [SystemErr] at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1589)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.161 ERROR (Thread-65) [SystemErr] at javax.swing.UIManager.setLookAndFeel(UIManager.java:514)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.162 ERROR (Thread-65) [SystemErr] at javax.swing.UIManager.setLookAndFeel(UIManager.java:554)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.162 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.common.WorkPointLAF.A(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.163 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.common.WorkPointLAF.A(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.163 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.common.WorkPointLAF.setUIDefaults(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.164 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.external.WpImageUtils.<clinit>(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.164 ERROR (Thread-65) [SystemErr] at com.aveksa.server.workflow.WorkflowServiceProvider.refreshProcessImage(WorkflowServiceProvider.java:1732)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.164 ERROR (Thread-65) [SystemErr] at com.aveksa.server.workflow.WorkflowServiceProvider.getProcessImageFromNative(WorkflowServiceProvider.java:1656)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.165 ERROR (Thread-65) [SystemErr] at com.aveksa.server.workflow.WorkflowEventListener$ProcessRefreshThread.run(WorkflowEventListener.java:268)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.155 ERROR (Thread-65) [SystemErr] java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.156 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName0(Native Method)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.156 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName(Class.java:171)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.157 ERROR (Thread-65) [SystemErr] at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.157 ERROR (Thread-65) [SystemErr] at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.157 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName0(Native Method)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.158 ERROR (Thread-65) [SystemErr] at java.lang.Class.forName(Class.java:171)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.158 ERROR (Thread-65) [SystemErr] at java.awt.Toolkit$2.run(Toolkit.java:834)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.159 ERROR (Thread-65) [SystemErr] at java.security.AccessController.doPrivileged(Native Method)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.159 ERROR (Thread-65) [SystemErr] at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.160 ERROR (Thread-65) [SystemErr] at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:122)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.160 ERROR (Thread-65) [SystemErr] at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1554)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.161 ERROR (Thread-65) [SystemErr] at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:130)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.161 ERROR (Thread-65) [SystemErr] at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1589)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.161 ERROR (Thread-65) [SystemErr] at javax.swing.UIManager.setLookAndFeel(UIManager.java:514)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.162 ERROR (Thread-65) [SystemErr] at javax.swing.UIManager.setLookAndFeel(UIManager.java:554)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.162 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.common.WorkPointLAF.A(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.163 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.common.WorkPointLAF.A(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.163 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.common.WorkPointLAF.setUIDefaults(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.164 ERROR (Thread-65) [SystemErr] at com.workpoint.gui.external.WpImageUtils.<clinit>(Unknown Source)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.164 ERROR (Thread-65) [SystemErr] at com.aveksa.server.workflow.WorkflowServiceProvider.refreshProcessImage(WorkflowServiceProvider.java:1732)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.164 ERROR (Thread-65) [SystemErr] at com.aveksa.server.workflow.WorkflowServiceProvider.getProcessImageFromNative(WorkflowServiceProvider.java:1656)>
<Jun 10, 2015 9:57:28 PM UTC> <Notice> <Stdout> <BEA-000000> <06/10/2015 21:57:28.165 ERROR (Thread-65) [SystemErr] at com.aveksa.server.workflow.WorkflowEventListener$ProcessRefreshThread.run(WorkflowEventListener.java:268)>
Please refer to RSA Knowledge Base Article 000030327 - Artifacts to gather in RSA Identity Governance & Lifecycle to find the location of the aveksaServer.log file for your specific deployment. The aveksaServer.log may also be downloaded from the RSA Identity Governance & Lifecycle user interface (Admin > System > Server Nodes tab > under Logs.)
Cause
java.lang.NoClassDefFoundError:
indicates that the JDK being used does not have the full set of classes that are available in the Sun/Oracle JDK.
Since the Report is not displayed in an X11 environment but in a browser this call is not needed.
Resolution
- To resolve this issue ensure the aveksa_server startup file has the following Java option as a startup argument:
JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true
This tells the server that the Linux server that is hosting the application will not be rendering X11 consoles.
Note: On WildFly/JBoss aveksa_server is located in /etc/init.d. On WebSphere and WebLogic, use the find command to locate the file:
find -iname aveksa_server
- Restart RSA Identity Governance & Lifecycle.
IMPORTANT: Do this even if the Java option is already in the startup file.
acm restart
Related Articles
How do you use a SID800 with multiple certificates and Windows credential provider? 67Number of Views RSA Identity Governance and Lifecycle Access Fulfillment Express (AFX) Server fails to start with error: An issue with han… 36Number of Views Changes to the RSA Authentication Manager 8.1 Public APIs 38Number of Views "Tokencode is incorrect" while attempting to resynchronize an RSA SecurID software token on RSA Authentication Manager 8.x 180Number of Views Unable to access RSA SecurID Access Identity Router Console following initial deploy 78Number of Views
Trending Articles
Enable SSH from a console connection if the Operations Console is not available for RSA Authentication Manager 8.x RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows RSA Authentication Manager Upgrade Process How to Update the Root (Server) and Client Certificates in RSA Identity Governance & Lifecycle RSA Release Notes: Cloud Access Service and RSA Authenticators
Don't see what you're looking for?