cancel
Showing results for 
Search instead for 
Did you mean: 

Error during STM32CubeMX 6.14.1 installation on Linux

Lars Beiderbecke
Senior III

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?

9 REPLIES 9
Lars Beiderbecke
Senior III

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

Semer CHERNI
ST Employee

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.

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.

Lars Beiderbecke
Senior III

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

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

> ...  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

Hello @Lars Beiderbecke 

I apologize for the misbehavior.

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

BR,
Semer.

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.

Thank you very much, I appreciate it!

I just ran into this same issue today.  Looking forward to see what can be done to get this to work.

I am running Ubuntu 22.04

apseftis
Associate

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.