cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 5.0.0 won't start on Ubuntu 18.04

KKowa
Associate

Hello,

I downloaded the new CubeMX from the ST site, launched the installer (as the root user) and started the application. It can't start, it hangs at startup. Here are the logs obtained at app startup:

chdir /home/kacper/STM32CubeMX/.

current dir /home/kacper/STM32CubeMX

log4j user configuration file not found: /home/kacper/.stm32cubemx/log4j.properties

Configure log4j with default settings from jar:file:/home/kacper/STM32CubeMX/STM32CubeMX!/log4j/log4j.stm32cubemx.properties

2018-12-20 14:38:09,772 [INFO] MicroXplorer:486 - Detected Java Version = 1.8.0_191

2018-12-20 14:38:09,778 [INFO] ApplicationProperties:181 - Using Application install path: /home/kacper/STM32CubeMX

2018-12-20 14:38:09,790 [INFO] DbMcusXml:68 - Set database path to: /home/kacper/STM32CubeMX//db//mcu/

2018-12-20 14:38:09,796 [INFO] DbBoardsPdsc:54 - Set plugin database path to: /home/kacper/STM32CubeMX//db//plugins/boardmanager/

2018-12-20 14:38:09,796 [INFO] DbMcus:262 - Set plugin images path to: /home/kacper/STM32CubeMX//db//plugins/mcufinder/images/

2018-12-20 14:38:09,796 [INFO] DbBoards:224 - Set plugin images path to: /home/kacper/STM32CubeMX//db//plugins/mcufinder/images/

2018-12-20 14:38:09,798 [INFO] APIGFXSelector:72 - Set database path to: /home/kacper/STM32CubeMX//db//plugins/mcufinder/mcu/

2018-12-20 14:38:09,801 [INFO] DbMcusAds:72 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:09,802 [INFO] DbMcusDocs:90 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:09,804 [INFO] DbMcusJson:58 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:09,805 [INFO] DbBoardsDocs:82 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:09,805 [INFO] DbBoardsJson:51 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,034 [INFO] CrossReferenceDbSqlite:197 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,155 [INFO] RulesReader:53 - Compatibility file has been processed (127 Rules)

2018-12-20 14:38:10,170 [INFO] STM32CubeMX:31 - Starting STM32CubeMX

2018-12-20 14:38:10,321 [INFO] MainPanel:139 - HeapMemory: 251658240

2018-12-20 14:38:10,410 [INFO] DbMcusXml:68 - Set database path to: /home/kacper/STM32CubeMX//db//mcu/

2018-12-20 14:38:10,410 [INFO] DbBoardsPdsc:54 - Set plugin database path to: /home/kacper/STM32CubeMX//db//plugins/boardmanager/

2018-12-20 14:38:10,411 [INFO] DbMcus:262 - Set plugin images path to: /home/kacper/STM32CubeMX//db//plugins/mcufinder/images/

2018-12-20 14:38:10,411 [INFO] DbBoards:224 - Set plugin images path to: /home/kacper/STM32CubeMX//db//plugins/mcufinder/images/

2018-12-20 14:38:10,411 [INFO] APIGFXSelector:72 - Set database path to: /home/kacper/STM32CubeMX//db//plugins/mcufinder/mcu/

2018-12-20 14:38:10,411 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,412 [INFO] DbMcusAds:72 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,412 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,412 [INFO] DbMcusDocs:90 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,412 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,412 [INFO] DbMcusJson:58 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,413 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,413 [INFO] DbBoardsDocs:82 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,413 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,413 [INFO] DbBoardsJson:51 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,413 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,413 [WARN] DbFile:31 - Overriding database path with different value: /home/kacper/.stmcufinder/plugins/mcufinder/ => /home/kacper/.stmcufinder/plugins/mcufinder

2018-12-20 14:38:10,414 [INFO] CrossReferenceDbSqlite:197 - Set database path to: /home/kacper/.stmcufinder/plugins/mcufinder//mcu/

2018-12-20 14:38:10,425 [INFO] ApplicationProperties:181 - Using Application install path: /home/kacper/STM32CubeMX

2018-12-20 14:38:10,426 [INFO] PluginManage:167 - Search for loadable plugins [exclusion list=]

2018-12-20 14:38:10,427 [INFO] PluginManage:289 - Check plugin power

2018-12-20 14:38:10,443 [INFO] PluginManage:339 - Loaded plugin power (category:power,tabindex:4)

2018-12-20 14:38:10,443 [INFO] PluginManage:289 - Check plugin pinoutconfig

2018-12-20 14:38:10,473 [INFO] PluginManage:339 - Loaded plugin pinoutconfig (category:base,tabindex:0)

2018-12-20 14:38:10,473 [INFO] PluginManage:289 - Check plugin thirdparty

2018-12-20 14:38:10,529 [INFO] ThirdPartyDb:293 - Open Third Party DataBase File (/home/kacper/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml) : 33 ms. number of Sw pack : 5

2018-12-20 14:38:10,550 [INFO] PluginManage:339 - Loaded plugin thirdparty (category:base,tabindex:-1)

2018-12-20 14:38:10,551 [INFO] PluginManage:289 - Check plugin pinoutandconfiguration

2018-12-20 14:38:10,558 [INFO] PluginManage:339 - Loaded plugin pinoutandconfiguration (category:base,tabindex:1)

2018-12-20 14:38:10,558 [INFO] PluginManage:289 - Check plugin updater

2018-12-20 14:38:10,575 [INFO] PluginManage:339 - Loaded plugin updater (category:base,tabindex:12)

2018-12-20 14:38:10,576 [INFO] PluginManage:289 - Check plugin ipmanager

2018-12-20 14:38:10,582 [INFO] PluginManage:339 - Loaded plugin ipmanager (category:base,tabindex:5)

2018-12-20 14:38:10,583 [INFO] PluginManage:289 - Check plugin tools

2018-12-20 14:38:10,584 [INFO] PluginManage:339 - Loaded plugin tools (category:base,tabindex:5)

2018-12-20 14:38:10,584 [INFO] PluginManage:289 - Check plugin filemanager

2018-12-20 14:38:10,644 [INFO] PluginManage:339 - Loaded plugin filemanager (category:base,tabindex:10)

2018-12-20 14:38:10,644 [INFO] PluginManage:289 - Check plugin projectmanager

2018-12-20 14:38:10,705 [INFO] PluginManage:339 - Loaded plugin projectmanager (category:projectmanager,tabindex:3)

2018-12-20 14:38:10,705 [INFO] PluginManage:289 - Check plugin clock

2018-12-20 14:38:10,711 [INFO] PluginManage:339 - Loaded plugin clock (category:base,tabindex:2)

2018-12-20 14:38:10,711 [INFO] PluginManage:289 - Check plugin analytics

2018-12-20 14:38:10,839 [INFO] UserProfileFactory:23 - /com/st/library/analyticscore

2018-12-20 14:38:10,841 [INFO] UserProfileFactory:25 - 2022b90f_f4e5_43d2_94e1_693aa975e253

2018-12-20 14:38:10,847 [INFO] AnalyticsPlugin:146 - Accepted Software Licenses: Error : could not load the licence version !

2018-12-20 14:38:10,847 [INFO] AnalyticsPlugin:148 - Accepted CMSIS Pack Licenses:

2018-12-20 14:38:10,847 [INFO] AnalyticsPlugin:150 - Accepted Firmware Licenses:

2018-12-20 14:38:10,847 [INFO] PluginManage:339 - Loaded plugin analytics (category:tool,tabindex:-1)

2018-12-20 14:38:55,539 [ERROR] IntegrityCheckThread:90 - Cannot obtain updater plugin

2018-12-20 14:38:55,540 [INFO] IntegrityCheckThread:94 - End integrity checks thread

2018-12-20 14:38:55,540 [INFO] ThirdPartyDb:263 - Close Third Party DataBase File (/home/kacper/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml)

5 REPLIES 5
LKuch
Associate

Hello did you get it to work? I'm having exactly the same issue here.

cheers

Lukas

Hi. I didn't. I have just installed 4.27 version :\

Hi,

There are some solutions in this thread:

https://community.st.com/s/question/0D50X0000A1kmaRSQQ/stm32cubemx-50-under-linux

Deleting thirdparty.jar worked for me.

Olivier

LKuch
Associate

Thanks, I just went for running it on Windows /VBox.

hzhan.12
Associate

I can run version 5.01 from Ubuntu 18.04 after doing

sudo apt update

sudo apt install wine64