2018-11-24 11:16 AM
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)
2018-12-17 06:57 AM
The only interesting difference I see relative to my system is regarding the font usage. On your system only LucidaSans.ttf is loaded (which comes with your java), no other font is even looked up. That's weird. On my system, that font is not installed, the 'stats' fails, but all system font directories are searched. To cross check I've installed this font in the requested location, this stops CubeMX from working.
I'd suspect the java font setup or some font related libraries are messed up or buggy.
BTW You did install CubeMX as root?
2018-12-17 07:07 AM
And you properties listing seems to be incomplete? In particular the library path is missing or incomplete. That's on my box:
Property settings:
awt.toolkit = sun.awt.X11.XToolkit
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = .
java.class.version = 52.0
java.endorsed.dirs = /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/endorsed
java.ext.dirs = /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/ext
/usr/java/packages/lib/ext
java.home = /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre
java.io.tmpdir = /tmp
java.library.path = /usr/java/packages/lib/amd64
/usr/lib64
/lib64
/lib
/usr/lib
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.8.0_181-b13
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.8
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.8.0_181
java.vm.info = mixed mode
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.8
java.vm.vendor = Oracle Corporation
java.vm.version = 25.181-b13
line.separator = \n
os.arch = amd64
os.name = Linux
os.version = 4.19.1-special
path.separator = :
sun.arch.data.model = 64
sun.boot.class.path = /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/resources.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/rt.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/sunrsasign.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/jsse.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/jce.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/charsets.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/jfr.jar
/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/classes
sun.boot.library.path = /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = unknown
user.country = GB
user.country.format = DE
user.dir = /usr/home/andreas
user.home = /home/andreas
user.language = en
user.language.format = de
user.name = andreas
user.timezone =
openjdk version "1.8.0_181"
OpenJDK Runtime Environment (IcedTea 3.9.0) (build 1.8.0_181-b13 suse-1.1-x86_64)
OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode)
2018-12-19 10:35 PM
I installed LucidaSans.ttf from https://www.wfonts.com/font/lucida-sans. Our problem still continues.
I follow [1] and [2] but our problem still continues.
Our critical error message is "[ERROR] IntegrityCheckThread:90 - Cannot obtain updater plugin" and
And It's stuck at this stage: "[INFO] ThirdPartyDb:263 - Close Third Party DataBase File (/home/seyyah/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml)"
Notes
References
2018-12-20 10:15 AM
nurettin.senyer1.5392501690608167E12 (Aygun Surgical Equipment)
I installed LucidaSans.ttf from
https://www.wfonts.com/font/lucida-sans. Our problem still continues.
This won't help, when I installed this font in the location it is looked for, my CubeMX stopped working. On the contrary, you might try to *remove* it (and maybe even the directory where it resides, i. e. ".../fonts" below jvm).
I follow [1] and [2] but our problem still continues.
Our critical error message is "[ERROR] IntegrityCheckThread:90 -
Cannot obtain updater plugin" and
Most certainly misleading. The 'stat' in your log shows that the plugin file is installed and accessible, size is correct, too. So it is most probably not corrupted, either. But to be sure, you could check the plugins with 'md5sum':
6a780ebce8bbd7d808a98badf32e78cc clock.jar
21b090fff7af64c4cb47d601ea9f4b9c filemanager.jar
6b3a26ebf21ecf89eb8546d3afcf8d9e ipmanager.jar
f75b1e653fac2dcd2831af37a109f551 pinoutconfig.jar
38d044e08cd73b3bb9110f5b2c07b586 power.jar
8a2c41d0f4cf356b20c56ec87c5f2b47 projectmanager.jar
e3ae741991fed69dbff0be728971e236 thirdparty.jar
0b1ce3dcf44eaf11dde235a79032d769 updater.jar
total 12824
-rw-r--r-- 1 root root 448983 2018-10-09 08:23 clock.jar
-rw-r--r-- 1 root root 74615 2018-10-09 08:23 filemanager.jar
drwxr-xr-x 2 root root 4096 2018-10-09 08:23 ip
-rw-r--r-- 1 root root 740971 2018-10-09 08:23 ipmanager.jar
-rw-r--r-- 1 root root 168914 2018-10-09 08:23 pinoutconfig.jar
-rw-r--r-- 1 root root 3182190 2018-10-09 08:23 power.jar
-rw-r--r-- 1 root root 521729 2018-10-09 08:23 projectmanager.jar
-rw-r--r-- 1 root root 723700 2018-10-09 08:23 thirdparty.jar
-rw-r--r-- 1 root root 7251975 2018-10-09 08:23 updater.jar
And It's stuck at this stage: "[INFO] ThirdPartyDb:263 - Close Third
Party DataBase File
2018-12-29 05:41 PM
Removing /usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/plugins/thirdparty.jar worked for me
2018-12-30 10:03 PM
@Andreas Bolsch
Our md5 results is different than yours.
008f5657a685761f3eefcd72c759a537 clock.jar
567571ec4852496cf9a0bea94fc04541 filemanager.jar
fc6f0e8195ec478d3b02be9fa617fb30 ipmanager.jar
84d54005377471d61d93040241644782 pinoutandconfiguration.jar
8a1c75682d8c1225d5a0a82555e9893c pinoutconfig.jar
ee4a8c6acdfa2113c797885abed7667d power.jar
eed85a95d648c967aa2f2f269e3d58f4 projectmanager.jar
6e7cbbe0f36e90b20dd4379e772000dd thirdparty.jar
cb0600dd9d2350cea96e7960b91f644f tools.jar
-rw-r--r-- 1 root root 4960224 Kas 14 18:17 analytics.jar
-rw-r--r-- 1 root root 454299 Kas 14 18:16 clock.jar
-rw-r--r-- 1 root root 681197 Kas 14 18:17 filemanager.jar
drwxr-xr-x 2 root root 4096 Ara 17 15:08 ip
-rw-r--r-- 1 root root 219159 Kas 14 18:15 ipmanager.jar
-rw-r--r-- 1 root root 467040 Kas 14 18:17 pinoutandconfiguration.jar
-rw-r--r-- 1 root root 213026 Kas 14 18:16 pinoutconfig.jar
-rw-r--r-- 1 root root 7636200 Kas 14 18:15 power.jar
-rw-r--r-- 1 root root 600191 Kas 14 18:17 projectmanager.jar
-rw-r--r-- 1 root root 480091 Kas 14 18:17 thirdparty.jar
-rw-r--r-- 1 root root 3793 Kas 14 18:17 tools.jar
-rw-r--r-- 1 root root 10430099 Kas 14 18:16 updater.jar
2018-12-30 10:05 PM
@kedopofe kedopofe
> Removing /usr/local/STMicroelectronics/STM32Cube/STM32CubeMX/plugins/thirdparty.jar worked for me
This won't help.
Thanks
2019-01-01 03:30 PM
Same here. I am using Ubuntu 18.10 with:
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-0ubuntu0.18.10.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
2019-01-02 12:27 AM
This worked for me, thanks!
2019-01-02 12:59 PM
I have the same problem in Ubuntu 18.10 regardless of Java version.
When you try start up most plugins in console, you will see messages:
$ java -jar projectmanager.jar
no main manifest attribute, in projectmanager.jar
.......
$ java -jar filemanager.jar
no main manifest attribute, in filemanager.jar
Only plugin updater.jar behaves differently: you are able to run this plugin as a Java archive.
$ java -jar updater.jar
log4j user configuration file not found: /home/*******/.stm32cubeup/log4j.properties
Configure log4j with default settings from jar:file:/home/******/STM32CubeMX/plugins/updater.jar!/log4j/log4j.stm32cubeup.properties
2019-01-02 22:43:54,595 [INFO] StandAloneUpdater:247 - Using Application install path:/home/******/STM32CubeMX/plugins
2019-01-02 22:43:55,059 [INFO] MainUpdater:212 - Updater Check For Update Now.
2019-01-02 22:43:55,362 [INFO] CheckServerUpdateThread:121 - End of CheckServer Thread
2019-01-02 22:43:56,358 [INFO] CheckServerUpdateThread:121 - End of CheckServer Thread
2019-01-02 22:44:03,208 [INFO] ServerAccessManage:334 - Download File updaters.zip
2019-01-02 22:44:03,348 [INFO] FileExtend:177 - Unzip File : updaters.zip
2019-01-02 22:44:03,355 [INFO] FileExtend:192 - Standard Zip Deflate
2019-01-02 22:44:03,655 [INFO] FileExtend:177 - Unzip File : updaters.zip
2019-01-02 22:44:03,655 [INFO] FileExtend:192 - Standard Zip Deflate
2019-01-02 22:44:04,043 [INFO] ServerAccessManage:334 - Download File PacksControlFlags.xml
2019-01-02 22:44:04,171 [INFO] ServerAccessManage:334 - Download File cubemx.pidx
2019-01-02 22:44:04,455 [INFO] ServerAccessManage:334 - Download File STMicroelectronics.X-CUBE-BLE1.pdsc
2019-01-02 22:44:04,748 [ERROR] ServerAccessManage:919 - Problem, file not found on Server
2019-01-02 22:44:04,876 [INFO] ServerAccessManage:334 - Download File STMicroelectronics.X-CUBE-MEMS1.pdsc
2019-01-02 22:44:05,131 [INFO] ServerAccessManage:334 - Download File STMicroelectronics.X-CUBE-AI.pdsc
2019-01-02 22:44:05,206 [INFO] LoadServerUpdatesThread:226 - End of LoadServerUpdate Thread
2019-01-02 22:44:05,615 [INFO] CheckServerUpdateThread:121 - End of CheckServer Thread
If STM32CubeMX is starting up, we will see messages:
.......
2019-01-02 22:55:54,007 [INFO] PluginManage:339 - Loaded plugin projectmanager (category:projectmanager,tabindex:3)
2019-01-02 22:56:38,752 [ERROR] IntegrityCheckThread:90 - Cannot obtain updater plugin
2019-01-02 22:56:38,753 [INFO] IntegrityCheckThread:94 - End integrity checks thread
2019-01-02 22:56:38,754 [INFO] ThirdPartyDb:263 - Close Third Party DataBase File (/home/********/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml)
What do you think about this?