cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE crashes when trying to create a new project

FKais.2
Associate

Hi,

every time I try to create a new project by clicking on "Create a new STM32 project" or "Create a new STM32project from an existing STM32CubeMX configuration file" STM32CubeIDE crashes abruptly. After a few tries I caught the error message with a screenshot which is displayed for a fraction of a second right before it quits.

  • This is a fresh install of SMT32CubeIDE 1.7.0 on Win10 without any config changes
  • I also tried v1.6.1 with the exact same result
  • Both revisions were installed in the default installation path
  • I first had the workspace set inside my user directory which has a space in its path. Since I read that this may cause problems I have also tried C:\ST\STM32CubeIDE\workspace_1.x.x with the same result
  • In workspace\.metadata\.ide.log (attached) I found multiple entries "[FATAL] Updater:294 - Updater called before beeing initialized" which seem similar to the error displayed by the UI
  • I disabled automatic updates in the preferences, but this did not change anything either

I found a few questions by other users with somewhat similar problems but no fix for any of them.

Regards, Felix

EDIT: I have added the second logfile .log to the attachments as well.

1 REPLY 1
KTuan.1
Associate

Hi Felix,

I think you installed both STM32CubeIDE and STM32CubeMX. The issue which you got, like me when I update STM32CubeMX into new version.

The solution for this situation is:

  1. Close all STM32 application.
  2. Open STM32CubeMX for installation new update package (which downloaded before).
  3. Open STM32CubeIDE and it become normal.

I think update package downloaded but not install cause this problem.