Skip to main content
Lars Beiderbecke
Senior III
June 10, 2025
Question

Error during STM32CubeMX 6.14.1 installation on Linux

  • June 10, 2025
  • 7 replies
  • 910 views

When trying to install STM32CubeMX 6.14.1 on Debian Linux, I get an error after the information about the collection of usage information:

[...]
You can stop the collection of your features usage statistics when you use the application at any time with effect for the future 
or update your preferences via the menu
Help > User Preferences > General Settings

Press anything to continue
z
Analytics service enabled
SEVERE: Cannot invoke "java.lang.CharSequence.toString()" because "s" is null
[ Console installation FAILED! ]
WARNING: Cannot invoke "java.util.List.iterator()" because "this.files" is null

I start the installation script as

./SetupSTM32CubeMX-6.14.1

in the unzipped folder of the CubeMX installer.  Is this a known issue?

7 replies

Lars Beiderbecke
Senior III
June 10, 2025

I'd like to add that the installer for version 6.12.1 worked without issues.

Semer CHERNI
ST Employee
June 10, 2025

Hello @Lars Beiderbecke 

First let me thank you for posting.

In fact according to the STM32CubeMX release note RN0094 Rev 76 section 1.2 Host PC system requirements, the Debian Linux destitution is not supported:  Linux®: Ubuntu® LTS 22.04 and LTS 24.04, and Fedora® 41

KR,
Semer.

Lars Beiderbecke
Senior III
June 11, 2025

Hello @Semer CHERNI,

Thanks for your quick reply.

While I don't really understand why a Java console program should be bound to specific Linux distribution versions, I'm happy to report that I get the very same error on Ubuntu 24.04.2 LTS (see attachment).

You owe me one hour for setting up that VM with Ubuntu.

Regards
Lars

 

Lars Beiderbecke
Senior III
June 11, 2025

Actually, the error is slightly different, because the script relies on the "net" program.  This is part of the Samba package and not a common package at all.

With Samba installed, the error is identical.

Ozone
Principal
June 11, 2025

> ...  I get an error after the information about the collection of usage information: ...

I suspect you can safely ignore this error.

Semer CHERNI
ST Employee
June 11, 2025

Hello @Lars Beiderbecke 

I apologize for the misbehavior.

Let me further check the error message and come back to you asap.

BR,
Semer.

Lars Beiderbecke
Senior III
June 12, 2025

Thank you very much, I appreciate it!

Associate
July 1, 2025

You can try the following auto-install.xml file (I did this with 6.14.0 but you can try .1)

./SetupSTM32CubeMX-6.14.1 auto-install.xml

That ended up installing for me.  You can change the install location in the file.