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: Cs studio cannot load model form
From: "Saunders, Wyatt via Tech-talk" <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 30 Oct 2024 15:27:10 +0000
subject : I am having issues with CS studio after switching release versions.
email: ws275820 at ohio.edu

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




Replies:
RE: [External] Cs studio cannot load model form Leblanc, Gregory via Tech-talk

Navigate by Date:
Prev: Keithley DMM7510 / DMM6500 Hu, Yong 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 
Navigate by Thread:
Prev: Re: Keithley DMM7510 / DMM6500 Hu, Yong via Tech-talk
Next: RE: [External] Cs studio cannot load model form Leblanc, Gregory 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, 15 Nov 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·