Article Content
Article Number | 000030638 |
Applies To | RSA Product Set: RSA Identity Governance & Lifecycle RSA Version/Condition: All |
Issue | Attempting to run or view an existing Report in RSA Identity Governance & Lifecycle (Reports > Tabular > {Report Name}) fails with the following error in the user interface: 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)> 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 | This error is caused by the underlying reporting framework attempting to leverage local X11 classes that would typically be used to render locally. The error: 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 |
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:
IMPORTANT: Do this even if the Java option is already in the startup file.
|