Event PX Using AutoVue API Fails with java.awt.HeadlessException on Windows Agile Clustered Server Environment
(Doc ID 2318724.1)
Last updated on APRIL 18, 2023
Applies to:
Oracle Autovue for Agile Product Lifecycle Management - Version 21.0.0 and laterOracle Agile PLM Framework - Version 9.3.5.0 and later
Information in this document applies to any platform.
Symptoms
When running Event PX using AutoVue API from the client connected to the Agile server where only managed server is installed on the clustered node, below error occurs:
ERROR
com.cimmetry.core.VueRemoteException: Exception when executing method init
nested exception is:
java.lang.ExceptionInInitializerError
at com.cimmetry.vueconnection.c.a(Unknown Source)
at com.cimmetry.vueconnection.j.b(Unknown Source)
at com.cimmetry.vueconnection.j.c(Unknown Source)
at com.cimmetry.vueconnection.g.doWork(Unknown Source)
at com.cimmetry.job.a.run(Unknown Source)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Label.(Label.java:150)
at java.awt.Label.(Label.java:132)
at com.cimmetry.util.Util.(Unknown Source)
... 6 more
Steps to Reproduce
- Create java program to markup file using AutoVue API
- Create PX jar file
- Deploy it to %Agile_Home%\integration\sdk\extensions
- Login to Java Client as admin user, and configure event to run the PX on Change Status event
- Login to Web Client by connecting to the server where both admin and managed server is installed
- Change status, and see the PX works appropriately
- Login to Web Client by connecting to the server where only managed server is installed
- Change status, and see the PX fails with error
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 |