Error during STM32CubeMX 6.14.1 installation on Linux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-10 6:14 AM
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?
- Labels:
-
STM32CubeMX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-10 6:18 AM
I'd like to add that the installer for version 6.12.1 worked without issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-10 9:25 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-11 4:38 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-11 4:53 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-11 5:33 AM
> ... I get an error after the information about the collection of usage information: ...
I suspect you can safely ignore this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-11 7:54 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-06-12 4:12 AM
Thank you very much, I appreciate it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-07-01 5:19 AM - edited ‎2025-07-01 5:33 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-07-01 7:25 AM
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.
