cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX 5.0 under Linux

Pawe? Jab?o?ski
Associate II

Hello,

I installed new STM32CubeMX 5.0.0 on my computer under Ubuntu 18.04. After start, program doesn't response. When I run it via terminal, I have some warns and error. Below I attached logs from terminal. After the last line of this log, I don't have even program GUI. Does anyone had problem like that?

Thanks in advice

Paweł

2018-11-24 19:33:27,745 [INFO] MicroXplorer:486 - Detected Java Version = 11.0.1
2018-11-24 19:33:27,751 [INFO] ApplicationProperties:181 - Using Application install path: /home/pawel/STM32CubeMX
2018-11-24 19:33:27,762 [INFO] DbMcusXml:68 - Set database path to: /home/pawel/STM32CubeMX//db//mcu/
2018-11-24 19:33:27,767 [INFO] DbBoardsPdsc:54 - Set plugin database path to: /home/pawel/STM32CubeMX//db//plugins/boardmanager/
2018-11-24 19:33:27,768 [INFO] DbMcus:262 - Set plugin images path to: /home/pawel/STM32CubeMX//db//plugins/mcufinder/images/
2018-11-24 19:33:27,768 [INFO] DbBoards:224 - Set plugin images path to: /home/pawel/STM32CubeMX//db//plugins/mcufinder/images/
2018-11-24 19:33:27,770 [INFO] APIGFXSelector:72 - Set database path to: /home/pawel/STM32CubeMX//db//plugins/mcufinder/mcu/
2018-11-24 19:33:27,773 [INFO] DbMcusAds:72 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:27,774 [INFO] DbMcusDocs:90 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:27,776 [INFO] DbMcusJson:58 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:27,778 [INFO] DbBoardsDocs:82 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:27,779 [INFO] DbBoardsJson:51 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:27,798 [INFO] CrossReferenceDbSqlite:197 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,016 [INFO] RulesReader:53 - Compatibility file has been processed (127 Rules)
2018-11-24 19:33:28,074 [INFO] STM32CubeMX:31 - Starting STM32CubeMX
2018-11-24 19:33:28,504 [INFO] MainPanel:139 - HeapMemory: 134217728
2018-11-24 19:33:28,673 [INFO] DbMcusXml:68 - Set database path to: /home/pawel/STM32CubeMX//db//mcu/
2018-11-24 19:33:28,673 [INFO] DbBoardsPdsc:54 - Set plugin database path to: /home/pawel/STM32CubeMX//db//plugins/boardmanager/
2018-11-24 19:33:28,674 [INFO] DbMcus:262 - Set plugin images path to: /home/pawel/STM32CubeMX//db//plugins/mcufinder/images/
2018-11-24 19:33:28,674 [INFO] DbBoards:224 - Set plugin images path to: /home/pawel/STM32CubeMX//db//plugins/mcufinder/images/
2018-11-24 19:33:28,675 [INFO] APIGFXSelector:72 - Set database path to: /home/pawel/STM32CubeMX//db//plugins/mcufinder/mcu/
2018-11-24 19:33:28,675 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,676 [INFO] DbMcusAds:72 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,676 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,677 [INFO] DbMcusDocs:90 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,677 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,678 [INFO] DbMcusJson:58 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,678 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,678 [INFO] DbBoardsDocs:82 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,679 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,679 [INFO] DbBoardsJson:51 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,680 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,680 [WARN] DbFile:31 - Overriding database path with different value: /home/pawel/.stmcufinder/plugins/mcufinder/ => /home/pawel/.stmcufinder/plugins/mcufinder
2018-11-24 19:33:28,680 [INFO] CrossReferenceDbSqlite:197 - Set database path to: /home/pawel/.stmcufinder/plugins/mcufinder//mcu/
2018-11-24 19:33:28,703 [INFO] ApplicationProperties:181 - Using Application install path: /home/pawel/STM32CubeMX
2018-11-24 19:33:28,706 [INFO] PluginManage:167 - Search for loadable plugins [exclusion list=]
2018-11-24 19:33:28,707 [INFO] PluginManage:289 - Check plugin projectmanager
2018-11-24 19:33:28,824 [INFO] PluginManage:339 - Loaded plugin projectmanager (category:projectmanager,tabindex:3)
2018-11-24 19:33:28,825 [INFO] PluginManage:289 - Check plugin filemanager
2018-11-24 19:33:28,885 [INFO] PluginManage:339 - Loaded plugin filemanager (category:base,tabindex:10)
2018-11-24 19:33:28,885 [INFO] PluginManage:289 - Check plugin tools
2018-11-24 19:33:28,888 [INFO] PluginManage:339 - Loaded plugin tools (category:base,tabindex:5)
2018-11-24 19:33:28,888 [INFO] PluginManage:289 - Check plugin ipmanager
2018-11-24 19:33:28,897 [INFO] PluginManage:339 - Loaded plugin ipmanager (category:base,tabindex:5)
2018-11-24 19:33:28,897 [INFO] PluginManage:289 - Check plugin clock
2018-11-24 19:33:28,906 [INFO] PluginManage:339 - Loaded plugin clock (category:base,tabindex:2)
2018-11-24 19:33:28,907 [INFO] PluginManage:289 - Check plugin updater
2018-11-24 19:33:28,925 [INFO] PluginManage:339 - Loaded plugin updater (category:base,tabindex:12)
2018-11-24 19:33:28,926 [INFO] PluginManage:289 - Check plugin pinoutandconfiguration
2018-11-24 19:33:28,933 [INFO] PluginManage:339 - Loaded plugin pinoutandconfiguration (category:base,tabindex:1)
2018-11-24 19:33:28,933 [INFO] PluginManage:289 - Check plugin thirdparty
2018-11-24 19:33:28,946 [INFO] ThirdPartyDb:293 - Open Third Party DataBase File (/home/pawel/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml) : 0 ms. number of Sw pack : 0
2018-11-24 19:33:28,954 [INFO] PluginManage:339 - Loaded plugin thirdparty (category:base,tabindex:-1)
2018-11-24 19:33:28,954 [INFO] PluginManage:289 - Check plugin power
2018-11-24 19:33:28,993 [INFO] PluginManage:339 - Loaded plugin power (category:power,tabindex:4)
2018-11-24 19:33:28,993 [INFO] PluginManage:289 - Check plugin pinoutconfig
2018-11-24 19:33:29,036 [INFO] PluginManage:339 - Loaded plugin pinoutconfig (category:base,tabindex:0)
2018-11-24 19:33:29,037 [INFO] PluginManage:289 - Check plugin analytics
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/home/pawel/STM32CubeMX/plugins/analytics.jar) to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2018-11-24 19:33:29,284 [INFO] UserProfileFactory:23 - /com/st/library/analyticscore
2018-11-24 19:33:29,287 [INFO] UserProfileFactory:25 - 4c813135_154f_412c_8980_4024633db7d4
2018-11-24 19:33:29,297 [INFO] AnalyticsPlugin:146 - Accepted Software Licenses: Error : could not load the licence version !
2018-11-24 19:33:29,298 [INFO] AnalyticsPlugin:148 - Accepted CMSIS Pack Licenses: 
2018-11-24 19:33:29,298 [INFO] AnalyticsPlugin:150 - Accepted Firmware Licenses: 
2018-11-24 19:33:29,298 [INFO] PluginManage:339 - Loaded plugin analytics (category:tool,tabindex:-1)
2018-11-24 19:34:13,954 [ERROR] IntegrityCheckThread:90 - Cannot obtain updater plugin
2018-11-24 19:34:13,955 [INFO] IntegrityCheckThread:94 - End integrity checks thread
2018-11-24 19:34:13,955 [INFO] ThirdPartyDb:263 - Close Third Party DataBase File (/home/pawel/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml)

60 REPLIES 60
taraben
Senior

I have the same problem here.

Ubuntu 18.10.

I add that a java thread takes 100% of one CPU core. But there is no GUI output at all.

Just high CPU load.

Regards, Adib.

Andreas Bolsch
Lead II

Probably that's the problem: [INFO] MicroXplorer:486 - Detected Java Version = 11.0.1

Works just fine on my system: [INFO] MicroXplorer:486 - Detected Java Version = 1.8.0_181

Try to stick to an older java version ...

taraben
Senior

Still Buggy.

I removed the OpenJRE 11 and installed OpenJRE 8 instead.

it detects a java 1.8 now.

same error: the program hangs after the updater plugin ERROR.

Adib.

jbren
Associate

I have exactly the same problem

[INFO] MicroXplorer:486 - Detected Java Version = 1.8.0_191

and same error: the program hangs after the updater plugin ERROR with 100% use of one CPU.

[ERROR] IntegrityCheckThread:90 - Cannot obtain updater plugin

Andreas Bolsch
Lead II

That's really weird, I would do a

strace -f -e trace=open,stat <cubemx_cmd>

this might give a hint about missing files, file permissions. Any security policy enabled (SELinux or Apparmor)?

skufaev
Associate II

Same here. Starting fail after MX update.

Deleted all, fresh install for 5.0.0.

Run again and failed again. Same error.

Ubuntu 18.10

2018-12-01 18:34:05,344 [INFO] MicroXplorer:486 - Detected Java Version = 10.0.2
2018-12-01 18:34:05,350 [INFO] ApplicationProperties:181 - Using Application install path: /home/dev/STM32CubeMX
2018-12-01 18:34:05,359 [INFO] DbMcusXml:68 - Set database path to: /home/dev/STM32CubeMX//db//mcu/
2018-12-01 18:34:05,363 [INFO] DbBoardsPdsc:54 - Set plugin database path to: /home/dev/STM32CubeMX//db//plugins/boardmanager/
2018-12-01 18:34:05,363 [INFO] DbMcus:262 - Set plugin images path to: /home/dev/STM32CubeMX//db//plugins/mcufinder/images/
2018-12-01 18:34:05,363 [INFO] DbBoards:224 - Set plugin images path to: /home/dev/STM32CubeMX//db//plugins/mcufinder/images/
2018-12-01 18:34:05,365 [INFO] APIGFXSelector:72 - Set database path to: /home/dev/STM32CubeMX//db//plugins/mcufinder/mcu/
2018-12-01 18:34:05,423 [WARN] ApiFinderProperties:107 - /home/dev/.stmcufinder/plugins/mcufinder/mcu/mcuFinder.mfd doesn't exist
2018-12-01 18:34:05,425 [INFO] DbMcusAds:72 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:05,426 [INFO] DbMcusDocs:90 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:05,427 [INFO] DbMcusJson:58 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:05,428 [INFO] DbBoardsDocs:82 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:05,429 [INFO] DbBoardsJson:51 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:05,666 [INFO] CrossReferenceDbSqlite:197 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:05,802 [INFO] RulesReader:53 - Compatibility file has been processed (127 Rules)
2018-12-01 18:34:05,843 [INFO] STM32CubeMX:31 - Starting STM32CubeMX
2018-12-01 18:34:06,202 [INFO] MainPanel:139 - HeapMemory: 264241152
2018-12-01 18:34:06,324 [INFO] DbMcusXml:68 - Set database path to: /home/dev/STM32CubeMX//db//mcu/
2018-12-01 18:34:06,325 [INFO] DbBoardsPdsc:54 - Set plugin database path to: /home/dev/STM32CubeMX//db//plugins/boardmanager/
2018-12-01 18:34:06,325 [INFO] DbMcus:262 - Set plugin images path to: /home/dev/STM32CubeMX//db//plugins/mcufinder/images/
2018-12-01 18:34:06,326 [INFO] DbBoards:224 - Set plugin images path to: /home/dev/STM32CubeMX//db//plugins/mcufinder/images/
2018-12-01 18:34:06,326 [INFO] APIGFXSelector:72 - Set database path to: /home/dev/STM32CubeMX//db//plugins/mcufinder/mcu/
2018-12-01 18:34:06,327 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,327 [INFO] DbMcusAds:72 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:06,327 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,327 [INFO] DbMcusDocs:90 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:06,328 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,328 [INFO] DbMcusJson:58 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:06,329 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,329 [INFO] DbBoardsDocs:82 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:06,330 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,330 [INFO] DbBoardsJson:51 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:06,330 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,331 [WARN] DbFile:31 - Overriding database path with different value: /home/dev/.stmcufinder/plugins/mcufinder/ => /home/dev/.stmcufinder/plugins/mcufinder
2018-12-01 18:34:06,331 [INFO] CrossReferenceDbSqlite:197 - Set database path to: /home/dev/.stmcufinder/plugins/mcufinder//mcu/
2018-12-01 18:34:06,348 [INFO] ApplicationProperties:181 - Using Application install path: /home/dev/STM32CubeMX
2018-12-01 18:34:06,350 [INFO] PluginManage:167 - Search for loadable plugins [exclusion list=]
2018-12-01 18:34:06,351 [INFO] PluginManage:289 - Check plugin thirdparty
2018-12-01 18:34:06,367 [INFO] ThirdPartyDb:293 - Open Third Party DataBase File (/home/dev/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml) : 1 ms. number of Sw pack : 0
2018-12-01 18:34:06,374 [INFO] PluginManage:339 - Loaded plugin thirdparty (category:base,tabindex:-1)
2018-12-01 18:34:06,374 [INFO] PluginManage:289 - Check plugin tools
2018-12-01 18:34:06,376 [INFO] PluginManage:339 - Loaded plugin tools (category:base,tabindex:5)
2018-12-01 18:34:06,376 [INFO] PluginManage:289 - Check plugin analytics
2018-12-01 18:34:06,522 [INFO] UserProfileFactory:23 - /com/st/library/analyticscore
2018-12-01 18:34:06,528 [INFO] UserProfileFactory:25 - 667f5ad0_5fa4_4bb0_b401_0d59e5173e3f
2018-12-01 18:34:06,535 [INFO] AnalyticsPlugin:146 - Accepted Software Licenses: Error : could not load the licence version !
2018-12-01 18:34:06,535 [INFO] AnalyticsPlugin:148 - Accepted CMSIS Pack Licenses: 
2018-12-01 18:34:06,535 [INFO] AnalyticsPlugin:150 - Accepted Firmware Licenses: 
2018-12-01 18:34:06,535 [INFO] PluginManage:339 - Loaded plugin analytics (category:tool,tabindex:-1)
2018-12-01 18:34:06,535 [INFO] PluginManage:289 - Check plugin filemanager
2018-12-01 18:34:06,599 [INFO] PluginManage:339 - Loaded plugin filemanager (category:base,tabindex:10)
2018-12-01 18:34:06,599 [INFO] PluginManage:289 - Check plugin ipmanager
2018-12-01 18:34:06,605 [INFO] PluginManage:339 - Loaded plugin ipmanager (category:base,tabindex:5)
2018-12-01 18:34:06,605 [INFO] PluginManage:289 - Check plugin power
2018-12-01 18:34:06,624 [INFO] PluginManage:339 - Loaded plugin power (category:power,tabindex:4)
2018-12-01 18:34:06,625 [INFO] PluginManage:289 - Check plugin pinoutandconfiguration
2018-12-01 18:34:06,631 [INFO] PluginManage:339 - Loaded plugin pinoutandconfiguration (category:base,tabindex:1)
2018-12-01 18:34:06,631 [INFO] PluginManage:289 - Check plugin projectmanager
2018-12-01 18:34:06,660 [INFO] PluginManage:339 - Loaded plugin projectmanager (category:projectmanager,tabindex:3)
2018-12-01 18:34:06,660 [INFO] PluginManage:289 - Check plugin clock
2018-12-01 18:34:06,665 [INFO] PluginManage:339 - Loaded plugin clock (category:base,tabindex:2)
2018-12-01 18:34:06,666 [INFO] PluginManage:289 - Check plugin updater
2018-12-01 18:34:06,678 [INFO] PluginManage:339 - Loaded plugin updater (category:base,tabindex:12)
2018-12-01 18:34:06,679 [INFO] PluginManage:289 - Check plugin pinoutconfig
2018-12-01 18:34:06,692 [INFO] PluginManage:339 - Loaded plugin pinoutconfig (category:base,tabindex:0)
2018-12-01 18:34:51,374 [ERROR] IntegrityCheckThread:90 - Cannot obtain updater plugin
2018-12-01 18:34:51,375 [INFO] IntegrityCheckThread:94 - End integrity checks thread
2018-12-01 18:34:51,375 [INFO] ThirdPartyDb:263 - Close Third Party DataBase File (/home/dev/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml)

FGmei
Associate

I'm having the same issue, strange launch read-out in terminal, and CPU hogging.

Anyone have an ST link to an older version?

Same here. Debian sid.

Was ST notified of the problem?

olivier
Associate III

Same here, too. Ubuntu 18.10 with and Java 1.8.0_191.