cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMon-UCPD Crashes On Launch under macOS Sonoma 14.3

alw
Associate III

On launch the STM32CubeMon-UCPD icon appears briefly in the dock and then disappears. The application does not launch. 

6 REPLIES 6
Richard.Chvr
ST Employee

Hello @alw 

Thank you for reporting, do you have any error message when launching tool from command line?

Regards

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
alw
Associate III

Hi Richard.Chvr

Please see below error message when launching JavaAppLauncher (the only visible executable file in the package contents). I've masked my machine details for security reasons.

I've also attached a screen capture of the package contents folder structure

Kind regards,

Al

Last login: Mon Apr  1 10:23:45 on ttys000
xxx@xxx ~ % /Applications/STM32CubeMonitor-UCPD.app/Contents/MacOS/JavaAppLauncher
2024-04-01 10:25:16,133 JavaFX Application Thread WARN Setting style for yet unknown level name APPLI
2024-04-01 10:25:16,286 JavaFX Application Thread WARN Setting style for yet unknown level name APPLI
10:25:16.306; FATAL ;[JavaFX Application Thread];ConfigFileManagement.java;getAllFields;224;java.io.FileNotFoundException: /Users/xxx/Library/Preferences/STM32CubeMonitor-UCPD/STM32CubeMonitor-UCPD.cfg (No such file or directory)
JRE version before bundleling1.8.0_19210:25:16.314; FATAL ;[JavaFX Application Thread];MainApp.java;start;91;JRE version before bundleling1.8.0_192
10:25:16.315; FATAL ;[JavaFX Application Thread];MainApp.java;start;92;JRE vendor Oracle Corporation
10:25:16.315; FATAL ;[JavaFX Application Thread];MainApp.java;start;93;JFX version 8.0.192-b10
10:25:16.315; FATAL ;[JavaFX Application Thread];MainApp.java;start;94;JFX version 8.0.192
10:25:16.315; FATAL ;[JavaFX Application Thread];MainApp.java;start;95;OS Mac OS X
2024-04-01 10:25:17.123 JavaAppLauncher[1281:19239] *** Assertion failure in -[NSMenu itemAtIndex:], NSMenu.m:1444
Exception in Application start method
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767)
Caused by: java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ExceptionInInitializerError
at java.awt.Color.<clinit>(Color.java:275)
at org.jfree.fx.FXGraphics2D.<init>(FXGraphics2D.java:118)
at org.jfree.chart.fx.ChartCanvas.<init>(ChartCanvas.java:169)
at org.jfree.chart.fx.ChartViewer.<init>(ChartViewer.java:103)
at org.jfree.chart.fx.ChartViewer.<init>(ChartViewer.java:93)
at org.jfree.chart.fx.ChartViewer.<init>(ChartViewer.java:84)
at com.st.mtt.guiusbcpd.PaneMeasurementChart.<init>(PaneMeasurementChart.java:47)
at com.st.mtt.guiusbcpd.FXMLController.initialize(FXMLController.java:200)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
at com.st.mtt.guiusbcpd.MainApp.continueInit(MainApp.java:136)
at com.st.mtt.guiusbcpd.MainApp.start(MainApp.java:125)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Invalid parameter not satisfying: index < [_itemArray count])
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at java.awt.Toolkit$3.run(Toolkit.java:1636)
at java.awt.Toolkit$3.run(Toolkit.java:1634)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1633)
at java.awt.Toolkit.<clinit>(Toolkit.java:1670)
... 19 more
Exception running application com.st.mtt.guiusbcpd.MainApp
xxx@xxx ~ % 
PDEFO.1
ST Employee

We have reproduced the issue. We will investigate further.

Regards

 

alw
Associate III

Thanks for the confirmation

alw
Associate III

Hello,

Any update please?

PDEFO.1
ST Employee

Issue is understood and solving in ongoing. A release is scheduled shortly.