cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeProgrammer & macos 15.7.1 - launches and quits

Jiiijo
Associate II

The App launches and immediately quits.

App version 2.19 despite downloading 2.20 package.

Any ideas?

 

thanks!

 

./STM32CubeProgrammer

?J2??

chdir /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/.

current dir /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin

Loading PRG Library: /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/libCubeProgrammer_API.dylib

TrackedData.json file does not exist !

99 external Loader list

4 REPLIES 4
Aziz BRIGUI
ST Employee

Hello @Jiiijo,

Are you seeing this after an update or is it specific to v2.19 or v2.20 standalone versions ?

Aziz 


In order 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.
Jiiijo
Associate II

Thanks Aziz,

This is a standalone new install, not an update from a previous version. (I did try version 2.18, 2.19, in each case I deleted the "STMicroelectronics" directory from Applications).
So, I would then say it is specific v2.19. Please note that the 2.20 Setup installs the 2.19 version of the app. (see screen grab - SetupSTM32CubeProgrammer-2.20.0.app & STM32CubeProgrammer.app 2.19.0 infos).
Also STM32TrustedPackageCreator.app runs without issue.

I hope that answers your question.

thanks again

J

Hello @Jiiijo

What your screenshot shows is the two versions (v2.19 and v2.20). Nothing more.

"Please note that the 2.20 Setup installs the 2.19 version of the app"

=> I highly doubt this; I think this is an issue of unproper uninstall of the app. What I recommend is to uninstall all instances of CubeProgrammer and re-install the latest v2.20.

Aziz


In order 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.
Jiiijo
Associate II

Thanks Aziz,

I have;
 - uninstalled the app,
 - downloaded the latest version by clicking "get latest",
 - unpacked "stm32cubeprg-mac-v2-20-0.zip" to "SetupSTM32CubeProgrammer-2.20.0.app",
 - run the Setup app

App still launches and quits immediately.

The info.plist shows CFBundleVersion 2.4.0 and getting info app (info.plist) shows Version 2.19.0 still. This is all within "get package contents" of STM32CubeProgrammer.app - so it was installed fresh from the SetupSTM32CubeProgrammer-2.20.0 - I do realise this is not much help. 

I'm new to this, so please excuse my ignorance - Is there any other information I can provide that might help resolve this issue?

I have included the content below when launching the app from Terminal (Mac CLI) after the - TrackedData.json file does not exist ! this might mean something to you?

thanks again,

J

---

Loading PRG Library: /Applications/STMicroelectronics/STM32Cube/STM32CubeProgrammer/STM32CubeProgrammer.app/Contents/MacOs/bin/libCubeProgrammer_API.dylib

TrackedData.json file does not exist !

99 external Loader list

 

Exception in Application start method

Exception in thread "JavaFX Application Thread" java.lang.NullPointerException

at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:89)

at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1705)

at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:438)

at com.sun.javafx.font.LogicalFont.getSlot0Resource(LogicalFont.java:194)

at com.sun.javafx.font.LogicalFont.getDefaultAAMode(LogicalFont.java:409)

at com.sun.javafx.font.LogicalFont.getStrike(LogicalFont.java:413)

at com.sun.javafx.font.PrismFont.getStrike(PrismFont.java:73)

at com.sun.javafx.text.PrismTextLayout.setContent(PrismTextLayout.java:138)

at javafx.scene.text.Text.getTextLayout(Text.java:229)

at javafx.scene.text.Text.needsFullTextLayout(Text.java:184)

at javafx.scene.text.Text.access$200(Text.java:95)

at javafx.scene.text.Text$2.invalidated(Text.java:389)

at javafx.beans.property.StringPropertyBase.markInvalid(StringPropertyBase.java:109)

at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:144)

at javafx.beans.property.StringPropertyBase.set(StringPropertyBase.java:49)

at javafx.scene.text.Text.setText(Text.java:370)

at javafx.scene.text.Text.<init>(Text.java:129)

at com.st.controllers.MainWindowController$1.run(MainWindowController.java:476)

at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)

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

at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)

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

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:382)

at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:321)

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:893)

Caused by: java.lang.RuntimeException: Exception in Application start method

at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:823)

at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$1(LauncherImpl.java:181)

at java.lang.Thread.run(Thread.java:750)

Caused by: java.lang.NullPointerException

at com.sun.javafx.font.MacFontFinder.populateFontFileNameMap(MacFontFinder.java:89)

at com.sun.javafx.font.PrismFontFactory.getFullNameToFileMap(PrismFontFactory.java:1705)

at com.sun.javafx.font.PrismFontFactory.getFontResource(PrismFontFactory.java:438)

at com.sun.javafx.font.PrismFontFactory.createFont(PrismFontFactory.java:536)

at com.sun.javafx.font.PrismFontLoader.font(PrismFontLoader.java:182)

at javafx.scene.text.Font.font(Font.java:148)

at javafx.scene.CssStyleHelper.deriveFont(CssStyleHelper.java:1804)

at javafx.scene.CssStyleHelper.lookupFont(CssStyleHelper.java:2115)

at javafx.scene.CssStyleHelper.lookup(CssStyleHelper.java:1057)

at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:839)

at javafx.scene.Node.impl_processCSS(Node.java:9202)

at javafx.scene.Parent.impl_processCSS(Parent.java:1249)

at javafx.scene.control.Control.impl_processCSS(Control.java:868)

at javafx.scene.Parent.impl_processCSS(Parent.java:1280)

at javafx.scene.Parent.impl_processCSS(Parent.java:1280)

at javafx.scene.Parent.impl_processCSS(Parent.java:1280)

at javafx.scene.Node.processCSS(Node.java:9069)

at javafx.scene.Scene.doCSSPass(Scene.java:545)

at javafx.scene.Scene.preferredSize(Scene.java:1646)

at javafx.scene.Scene.impl_preferredSize(Scene.java:1723)

at javafx.stage.Window$9.invalidated(Window.java:889)

at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:109)

at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:144)

at javafx.stage.Window.setShowing(Window.java:965)

at javafx.stage.Window.show(Window.java:980)

at javafx.stage.Stage.show(Stage.java:263)

at com.st.app.Main.openCubeProgrammmerWindow(Main.java:574)

at com.st.app.Main.start(Main.java:165)

at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$8(LauncherImpl.java:769)

at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$7(PlatformImpl.java:326)

at com.sun.javafx.application.PlatformImpl.lambda$null$5(PlatformImpl.java:295)

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

at com.sun.javafx.application.PlatformImpl.lambda$runLater$6(PlatformImpl.java:294)

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

Exception running application com.st.app.Main