Event PX Using AutoVue API Fails with java.awt.HeadlessException on Windows Agile Clustered Server Environment

(Doc ID 2318724.1)

Last updated on OCTOBER 18, 2017

Applies to:

Oracle Autovue for Agile Product Lifecycle Management - Version 21.0.0 and later
Oracle 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

  1. Create java program to markup file using AutoVue API
  2. Create PX jar file
  3. Deploy it to %Agile_Home%\integration\sdk\extensions
  4. Login to Java Client as admin user, and configure event to run the PX on Change Status event
  5. Login to Web Client by connecting to the server where both admin and managed server is installed
  6. Change status, and see the PX works appropriately
  7. Login to Web Client by connecting to the server where only managed server is installed
  8. Change status, and see the PX fails with error

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms