cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE closes itself

DBrug.712
Associate II

Hi, I'm going crazy over here because the stm32cubeIDE closes itself a few seconds after loading. Literally, I double-click on the icon, the program comes up, and sometimes after 5, 10, or 20 seconds, it closes itself. 

After cloasing a small window appears, I attach a picture of it. 

I have uninstalled all ST software I had on my PC, installed it again, installed the last versions and previous versions, updated to the last version of Win 10, but nothing works. Cube MX works fine, but the only issue is with this software. 

I have used the IDE on my PC for more than 3 years now with no issue. 

I searched for a log file with no luck, Does anybody know where it hides? Is there a log file?

Any help will be appreciated.

 

 

16 REPLIES 16

Thank you, my friend!

It worked for me. I confirm that your method works to fix this error.

The cause of my error was that I started updating STM32CubeIDE, but I also started updating STM32CubeMX. After that, STM32CubeIDE stopped working and gave the following error:

self_upgrade_failed.jpg

 

 

 

 

 

 

 

 

I followed everything Ahmad M. Nejad wrote, and everything started working for me!

Connor48
Associate II

Hi all, 

I am currently having this same problem, although on mac OS. 

macOS Sonoma 14.4.1. M3 Chip.

STM32CubeIDE version 15.1. Have tried 15.0 and 16.1 also. 

The program was working fine recently until today. 

Can someone advise how to delete all IDE files for a fresh install on mac OS?

Regards 

Yeah, exact same thing. Yeah, updating via STM32CubeMX solved the issue. Super annoying and totally not obvious on how to resolve. These are the reasons I generally recommend other tools for application development. To just suddenly start failing to start is a serious problem that should be resolved ASAP.

tomasalar
Associate II

I just installed the IDE in my computer for the 5th time I have followed this solution as well but in not of the cases the IDE stops crashing, Does anyone has other ideas to solve the issue?

Is your computer provided by your work or school? Such computers may have so called "security" or "compliance" cr@pware that does not play well with Java.

Hi, 

My solution was to wipe my pc and reinstall the macOS. In this process it updated to Sequoia 15.1.1 which required the latest version of STM32CubeIDE. I found with the later IDE version a few other things were fixed, I can now connect to ST-Link V3 which I could not previously. 

Hope this helps. 

Is not provided by any IT team, it ia my work computer and uses Win 11 pro, which I installed from zero few days ago.