Page 1 of 1

[F] Midronome firmware upgrade step 1 not opening on Windows 11

Posted: 03 Dec 2024, 10:35
by gbadvancero
Short description of the issue: When executing the "Upgrade Midronome Bootloader Step 1.exe" file on a Windows 11 Microsoft surface, nothing happens.


Steps to Reproduce: 1- Download from the website (both the standalone Step 1 or the .zip with both steps, it happens the same)
2- Unzip the files
3- Execute the Upgrade Midronome Bootloader Step 1.exe

Expected Behavior: The executable would open and let me update the firmware

Actual Behavior: The cursor appears as processing for one second and then nothing happens. No logs if executing on terminal, no events on event viewer.

More info: I am trying to do this on a Windows laptop as my main is a Macbook Pro with Sequoia and there I always get a dat Err when putting the Nome I to upgrade the firmware...

If I remove the JRE folder it says it needs JRE 17.0.8.
I have tried to remove the jre folder and install a computer wide JRE through Adoptium but the same happens. Also the Java Development Kit 17.0.8
I have deactivated Windows Antivirus as well just to see, but still nothing
Executed as admin. Nothing
Executed with compatibility with Win 8 and with Win 7. Niet

Re: Midronome firmware upgrade step 1 not opening on Windows 11

Posted: 03 Dec 2024, 13:52
by Simon
Hi :)

First I'm really sorry you have to go through this - not the best customer experience, I know :roll:

I've made a new zip for you on https://download.simntonic.com/software/windows/ called upgrade-midr-btl-step1-win-jar-only.zip

It contains the jar file of the program, which you can launch using the command "java -jar xxx.jar" in a command prompt. See the README.txt instructions as well.

Let me know how this goes, and if you get any errors in the command prompt :)

Thank you
Simon

Re: Midronome firmware upgrade step 1 not opening on Windows 11

Posted: 03 Dec 2024, 15:27
by gbadvancero
Hey SImon, thanks for the quick reply. Sadly... it does not work. I have tried several things to run this.

The first, as the readme indicates. Then i tried running it through the jre provided on the other zips. The same happened when installing the Oracle JDK (both 17.0.x and 23.0.x). This is what I got in all of them

dic 03, 2024 3:47:11 P.áM. com.sun.javafx.application.PlatformImpl startup
ADVERTENCIA: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @d8ad8cd'
Graphics Device initialization failed for : d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:283)
at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:253)
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:268)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:95)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
... 1 more
Exception in thread "main" java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:280)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Unknown Source)

Some research made me think it could be an issue with the JavaFX. So I uninstalled the Oracle JDKs and installed a built with the JavaFX built in (https://bell-sw.com/pages/downloads/#jdk-23). Tried both the 17 and the 23.

Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.nio.file.NoSuchFileException: C:\Users\Hello!!
at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103)
at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
at java.base/sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
at java.base/sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:197)
at java.base/java.nio.file.Files.readAttributes(Files.java:1865)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1512)
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:744)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:254)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:181)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:345)
at java.base/sun.net.www.protocol.jar.URLJarFile.<init>(URLJarFile.java:73)
at java.base/sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:59)
at java.base/sun.net.www.protocol.jar.JarFileFactory.getOrCreate(JarFileFactory.java:106)
at java.base/sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:117)
at java.base/sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:160)
at java.base/java.net.URL.openStream(URL.java:1325)
at javafx.fxml/javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2567)
at javafx.fxml/javafx.fxml.FXMLLoader.load(FXMLLoader.java:2536)
at com.midronome.firmwareupdater.App.start(App.java:83)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
... 1 more


So... nothing. There is something with the compilation of the java file. I am using an Intel Microsoft Surface which has an Iris Xe Graphics GPU, but it can perfectly run the JavaFX library. So I have no clue on what to do next

Re: Midronome firmware upgrade step 1 not opening on Windows 11

Posted: 03 Dec 2024, 15:51
by Simon
Gosh yea that does not look great :roll:

Thanks for trying all of this. The last run seemed to be looking for a file on " C:\Users\Hello!! " ? That looks very strange.

It's hard for me to spend a lot of time improving or debugging this old tool as it is completely outdated (and yes using Java was a terrible idea - never again! :D ), and you only need to use it once to upgrade the bootloader. Once you've run it you can use the new (and supported) tools, in particular all future firmware updates will come straight from the U-SYNC Daemon - super quick and easy.

I know other people have run it successfully on Windows 11, so there must be a setting on your surface that breaks it. I'm happy to investigate, but it may take some time. I will try to reproduce the bug - which will be the hardest part - once I have I should be able to debug it quite quickly. I will post my updates here :)

In the meantime, if you have another computer to try it on, either a pre-Sequoia Mac or another windows machine, that might actually be faster.

Re: Midronome firmware upgrade step 1 not opening on Windows 11

Posted: 03 Dec 2024, 16:23
by gbadvancero
Well... I managed to make it work. It was a combination of many things BUT reality is that... it would have worked with the normal way if... my gf had not decided to call her user in her Surface... "hello!!". The !! in the path made everything fail. I´ve pasted the original file in C:\\ and... it worked. Holy molly. I've spent some hours because of this. Anyway, happy this is solved. Thanks for your help!

Re: Midronome firmware upgrade step 1 not opening on Windows 11

Posted: 03 Dec 2024, 18:00
by Simon
Ha!! That was a tricky one :D
Very happy to that it is solved in any case!!

Simon