EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
<== Date ==> <== Thread ==>

Subject: RE: [External] Cs studio cannot load model form
From: "Leblanc, Gregory via Tech-talk" <tech-talk at aps.anl.gov>
To: "Saunders, Wyatt" <ws275820 at ohio.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Thu, 31 Oct 2024 16:01:12 +0000

Wyatt,

 

I was able to fix this error by running ‘sudo dnf update’ and then ‘sudo dnf install java-11-openjdk’ .  I think somehow the headless version of java got installed and one of the rolling updates to java was broken on centos 9 stream. 

     Greg

 

--

Gregory Leblanc

Accelerator Engineer

Edwards Accelerator Lab - Ohio University

123 University Terrace

Athens, OH 45701 USA

leblanc at ohio.edu

M: (401) 52-OUAL1 or (401) 526-8251

https://orcid.org/0000-0001-7899-5296

 

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Saunders, Wyatt via Tech-talk
Sent: Wednesday, October 30, 2024 11:27 AM
To: tech-talk at aps.anl.gov
Subject: [External] Cs studio cannot load model form

 

Use caution with links and attachments.

subject : I am having issues with CS studio after switching release versions.

 

Hi, this morning I wanted to run cs studio I was originally using the latest snapshot. however, my Java Runtime was not up to date and could not recognize class file version 61.0 and could only recognize up to 55.0. I decided to switch to an official release of cs-studio so i would not have to worry about updating things.

 

this is the current configuration I have

 

installed location:      /home/saunders/cs_studio/Phoebus-4.7.3-linux/product-4.7.3

current user directory:   /home/saunders/cs_studio/Phoebus-4.7.3-linux/product-4.7.3

java home:            /usr/lib/jvm/java-11-openjdk-11.0.20.1.1-2.el9.x86_64

cs studio version:       4.7.3

java version            Oracle Corporation 11.0.20.1+1-LTS

java FX vesion          19+11

 

cs studio will now open but when i try to run one of the .bob files to test one of my displays i get the following error pop up with the following text

 

cannot load model from

/home/saunders/cs_studio/vacumeguagetest.bob

could not initialize class java.awt.Color

java.lang.NoClassDefFoundError: could not initialize class java.awt.Color

Cause:

[1] could not initialize class java.awt.Color

 

under the see details it says this

 

java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color

      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)

      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)

      at org.csstudio.display.builder.runtime.app.DisplayRuntimeInstance.lambda$loadDisplayFile$4(DisplayRuntimeInstance.java:304)

      at org.phoebus.framework.jobs.Job.execute(Job.java:50)

      at org.phoebus.framework.jobs.JobManager.execute(JobManager.java:54)

      at org.phoebus.framework.jobs.JobManager.lambda$schedule$0(JobManager.java:45)

      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)

      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)

      at java.base/java.lang.Thread.run(Thread.java:829)

Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Color

      at org.csstudio.display.builder.representation.javafx.JFXRepresentation.updateBackground(JFXRepresentation.java:855)

      at org.csstudio.display.builder.representation.javafx.JFXRepresentation.execute(JFXRepresentation.java:672)

      at org.csstudio.display.builder.representation.javafx.JFXRepresentation.lambda$new$1(JFXRepresentation.java:153)

      at org.csstudio.display.builder.representation.javafx.JFXRepresentation.representModel(JFXRepresentation.java:642)

      at org.csstudio.display.builder.runtime.app.DockItemRepresentation.representModel(DockItemRepresentation.java:142)

      at org.csstudio.display.builder.runtime.app.DisplayRuntimeInstance.representModel(DisplayRuntimeInstance.java:400)

      at org.csstudio.display.builder.runtime.app.DisplayRuntimeInstance.lambda$loadDisplayFile$2(DisplayRuntimeInstance.java:303)

      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)

      at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)

      at java.base/java.security.AccessController.doPrivileged(Native Method)

      at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)

      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)

      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)

      at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:316)

      ... 1 more

 

 

this is the case for any of the displays I try and run including the displays that come with the program including the home display. If anyone has any insight into what is going on here please let me know

 

thanks,

Wyatt



References:
Cs studio cannot load model form Saunders, Wyatt via Tech-talk

Navigate by Date:
Prev: Re: genSubRecord.h not found Andy Foster via Tech-talk
Next: Re: pasynOctetSyncIO->read() weirdly slow performance Marco Filho via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
Navigate by Thread:
Prev: Cs studio cannot load model form Saunders, Wyatt via Tech-talk
Next: genSubRecord.h not found LONG FENG via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  <20242025 
ANJ, 31 Oct 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·