AnsweredAssumed Answered

STM32CubeMX Version 4.25.1 cant start new project

Question asked by Darius B on May 29, 2018
Latest reply on Jun 1, 2018 by Darius B

Hello  houda ghabri ,

With STM32CubeMX Version 4.25.1 I can't start new project. 

Old project I can open. I using in linux-ubuntu enviroment.

CubeMX show small rotating circle. I am waiting long time- but nothing.

BR

Darius Babrauskas

 

 

Log from terminal(New Project was pressed 2 times): 

 

chdir /home/darius/STM32CubeMX/.
current dir /home/darius/STM32CubeMX
log4j user configuration file not found: /home/darius/.stm32cubemx/log4j.properties
Configure log4j with default settings from jar:file:/home/darius/STM32CubeMX/STM32CubeMX!/log4j/log4j.properties
2018-05-29 10:27:25,078 [INFO] MicroXplorer:517 - Detected Java Version = 1.8.0_171
2018-05-29 10:27:25,082 [INFO] ApplicationProperties:136 - Using Application install path: /home/darius/STM32CubeMX
2018-05-29 10:27:25,092 [INFO] DbMcusXml:66 - Set database path to: /home/darius/STM32CubeMX//db//mcu/
2018-05-29 10:27:25,096 [INFO] DbBoardsPdsc:52 - Set plugin database path to: /home/darius/STM32CubeMX//db//plugins/boardmanager/
2018-05-29 10:27:25,096 [INFO] DbMcus:246 - Set plugin images path to: /home/darius/STM32CubeMX//db//plugins/mcufinder/images/
2018-05-29 10:27:25,096 [INFO] DbBoards:215 - Set plugin images path to: /home/darius/STM32CubeMX//db//plugins/mcufinder/images/
2018-05-29 10:27:25,099 [INFO] DbMcusAds:73 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,100 [INFO] DbMcusDocs:83 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,101 [INFO] DbMcusJson:59 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,102 [INFO] DbBoardsDocs:75 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,103 [INFO] DbBoardsJson:53 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,205 [INFO] RulesReader:53 - Compatibility file has been processed (116 Rules)
2018-05-29 10:27:25,223 [INFO] STM32CubeMX:30 - Starting STM32CubeMX
2018-05-29 10:27:25,336 [INFO] MainPanel:112 - HeapMemory: 120586240
2018-05-29 10:27:25,433 [INFO] DbMcusXml:66 - Set database path to: /home/darius/STM32CubeMX//db//mcu/
2018-05-29 10:27:25,434 [INFO] DbBoardsPdsc:52 - Set plugin database path to: /home/darius/STM32CubeMX//db//plugins/boardmanager/
2018-05-29 10:27:25,435 [INFO] DbMcus:246 - Set plugin images path to: /home/darius/STM32CubeMX//db//plugins/mcufinder/images/
2018-05-29 10:27:25,435 [INFO] DbBoards:215 - Set plugin images path to: /home/darius/STM32CubeMX//db//plugins/mcufinder/images/
2018-05-29 10:27:25,435 [WARN] DbFile:31 - Overriding database path with different value: /home/darius/.stmcufinder/plugins/mcufinder/ => /home/darius/.stmcufinder/plugins/mcufinder
2018-05-29 10:27:25,435 [INFO] DbMcusAds:73 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,435 [WARN] DbFile:31 - Overriding database path with different value: /home/darius/.stmcufinder/plugins/mcufinder/ => /home/darius/.stmcufinder/plugins/mcufinder
2018-05-29 10:27:25,436 [INFO] DbMcusDocs:83 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,436 [WARN] DbFile:31 - Overriding database path with different value: /home/darius/.stmcufinder/plugins/mcufinder/ => /home/darius/.stmcufinder/plugins/mcufinder
2018-05-29 10:27:25,436 [INFO] DbMcusJson:59 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,436 [WARN] DbFile:31 - Overriding database path with different value: /home/darius/.stmcufinder/plugins/mcufinder/ => /home/darius/.stmcufinder/plugins/mcufinder
2018-05-29 10:27:25,436 [INFO] DbBoardsDocs:75 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,436 [WARN] DbFile:31 - Overriding database path with different value: /home/darius/.stmcufinder/plugins/mcufinder/ => /home/darius/.stmcufinder/plugins/mcufinder
2018-05-29 10:27:25,436 [INFO] DbBoardsJson:53 - Set database path to: /home/darius/.stmcufinder/plugins/mcufinder//mcu/
2018-05-29 10:27:25,442 [INFO] ApplicationProperties:136 - Using Application install path: /home/darius/STM32CubeMX
2018-05-29 10:27:25,444 [INFO] PluginManage:263 - loadPluginJar : power
2018-05-29 10:27:25,521 [INFO] PluginManage:305 - loadPluginJar : add power
2018-05-29 10:27:25,522 [INFO] PluginManage:263 - loadPluginJar : filemanager
2018-05-29 10:27:25,558 [INFO] PluginManage:305 - loadPluginJar : add filemanager
2018-05-29 10:27:25,558 [INFO] PluginManage:263 - loadPluginJar : ipmanager
2018-05-29 10:27:25,565 [INFO] PluginManage:305 - loadPluginJar : add ipmanager
2018-05-29 10:27:25,565 [INFO] PluginManage:263 - loadPluginJar : projectmanager
2018-05-29 10:27:25,620 [INFO] PluginManage:305 - loadPluginJar : add projectmanager
2018-05-29 10:27:25,622 [INFO] PluginManage:263 - loadPluginJar : pinoutconfig
2018-05-29 10:27:25,652 [INFO] PluginManage:305 - loadPluginJar : add pinoutconfig
2018-05-29 10:27:25,653 [INFO] PluginManage:263 - loadPluginJar : clock
2018-05-29 10:27:25,664 [INFO] PluginManage:305 - loadPluginJar : add clock
2018-05-29 10:27:25,664 [INFO] PluginManage:263 - loadPluginJar : thirdparty
2018-05-29 10:27:25,675 [INFO] ThirdPartyDb:293 - Open Third Party DataBase File (/home/darius/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml) : 0 ms. number of Sw pack : 0
2018-05-29 10:27:25,691 [INFO] PluginManage:305 - loadPluginJar : add thirdparty
2018-05-29 10:27:25,691 [INFO] PluginManage:263 - loadPluginJar : updater
2018-05-29 10:27:25,698 [INFO] Updater:174 - Updater Version found : 4.25.1
2018-05-29 10:27:25,862 [INFO] MainUpdater:180 - Updater Check For Update Now.
2018-05-29 10:27:25,863 [INFO] MicroXplorer:324 - Change Default Database Version : DB.4.0.251
2018-05-29 10:27:25,863 [INFO] MicroXplorer:344 - Change Database Version : DB.4.0.251
2018-05-29 10:27:25,863 [INFO] PluginManage:305 - loadPluginJar : add updater
2018-05-29 10:27:25,863 [INFO] PluginManage:236 - PluginManage : ReOrganize retry [5x]
2018-05-29 10:27:25,918 [INFO] CheckServerUpdateThread:120 - End of CheckServer Thread
2018-05-29 10:27:25,936 [INFO] PinOutPanel:995 - setPackage(No Configuration,No Configuration)
2018-05-29 10:27:25,964 [INFO] PluginManager:201 - loadIPPluginJar : add comp
2018-05-29 10:27:25,967 [INFO] PluginManager:201 - loadIPPluginJar : add opamp
2018-05-29 10:27:25,969 [INFO] PluginManager:201 - loadIPPluginJar : add plateformsettings
2018-05-29 10:27:25,970 [INFO] PluginManager:201 - loadIPPluginJar : add fatfs
2018-05-29 10:27:25,972 [INFO] PluginManager:201 - loadIPPluginJar : add can
2018-05-29 10:27:25,973 [INFO] PluginManager:201 - loadIPPluginJar : add tim
2018-05-29 10:27:25,974 [INFO] PluginManager:201 - loadIPPluginJar : add gfxmmu
2018-05-29 10:27:25,977 [INFO] PluginManager:201 - loadIPPluginJar : add adc
2018-05-29 10:27:25,979 [INFO] PluginManager:201 - loadIPPluginJar : add tsc
2018-05-29 10:27:25,981 [INFO] PluginManager:201 - loadIPPluginJar : add touchsensing
2018-05-29 10:27:25,983 [INFO] PluginManager:201 - loadIPPluginJar : add sai
2018-05-29 10:27:25,985 [INFO] PluginManager:201 - loadIPPluginJar : add hash
2018-05-29 10:27:25,987 [INFO] PluginManager:201 - loadIPPluginJar : add quadspi
2018-05-29 10:27:25,988 [INFO] PluginManager:201 - loadIPPluginJar : add i2s
2018-05-29 10:27:25,990 [INFO] PluginManager:201 - loadIPPluginJar : add dfsdm
2018-05-29 10:27:25,991 [INFO] PluginManager:201 - loadIPPluginJar : add genericplugin
2018-05-29 10:27:25,992 [INFO] PluginManager:201 - loadIPPluginJar : add ts
2018-05-29 10:27:25,993 [INFO] PluginManager:201 - loadIPPluginJar : add spi
2018-05-29 10:27:25,994 [INFO] PluginManager:201 - loadIPPluginJar : add ltdc
2018-05-29 10:27:25,996 [INFO] PluginManager:201 - loadIPPluginJar : add i2c
2018-05-29 10:27:25,998 [INFO] PluginManager:201 - loadIPPluginJar : add nvic
2018-05-29 10:27:26,002 [INFO] PluginManager:201 - loadIPPluginJar : add freertos
2018-05-29 10:27:26,004 [INFO] PluginManager:201 - loadIPPluginJar : add pdm2pcm
2018-05-29 10:27:26,006 [INFO] PluginManager:201 - loadIPPluginJar : add gpio
2018-05-29 10:27:26,008 [INFO] PluginManager:201 - loadIPPluginJar : add dma
2018-05-29 10:27:26,011 [INFO] PluginManager:201 - loadIPPluginJar : add mdma
2018-05-29 10:27:26,014 [INFO] PluginManager:201 - loadIPPluginJar : add fmc
2018-05-29 10:27:26,015 [INFO] PluginManager:201 - loadIPPluginJar : add cryp
2018-05-29 10:27:26,017 [INFO] PluginManager:201 - loadIPPluginJar : add usart
2018-05-29 10:27:26,079 [INFO] MicroXplorer:314 - Change Database Path :
2018-05-29 10:27:26,080 [INFO] MicroXplorer:344 - Change Database Version : DB.4.0.251
2018-05-29 10:27:26,081 [INFO] PinOutPanel:995 - setPackage(No Configuration,No Configuration)
2018-05-29 10:27:28,686 [INFO] IntegrityCheckThread:94 - End integrity checks thread
2018-05-29 10:27:28,687 [INFO] ThirdPartyDb:263 - Close Third Party DataBase File (/home/darius/.stm32cubemx/plugins/thirdparty/db/thirdparties_db.xml)
2018-05-29 10:28:00,864 [INFO] McuFinderGlobals:23 - Set standalone mode to false
2018-05-29 10:28:00,886 [INFO] DbMcusXml:104 - Load MCU database from /home/darius/STM32CubeMX//db//mcu/families.xml
2018-05-29 10:28:01,609 [INFO] DbMcusJson:91 - JSON generation date=Thu Dec 07 15:37:51 EET 2017 (1512653871)
2018-05-29 10:28:02,134 [INFO] DbMcus:176 - Found 1171 MCUs (1129 are supported by CubeMX, 1129 are visible in CubeMX)
2018-05-29 10:28:02,134 [INFO] ApiDb:154 - Load user favorites file /home/darius/.stm32cubemx/favorites.mcus.txt: 0 item(s)
2018-05-29 10:28:02,134 [INFO] ApiDb:159 - User favorites MCUs=[]
2018-05-29 10:28:02,135 [INFO] DbMcus:187 - Set 0 / 0 favorites MCUs
2018-05-29 10:28:02,670 [INFO] DbMcusAds:135 - JSON generation date=Tue Nov 14 18:40:04 EET 2017 (1510677604)
2018-05-29 10:28:02,676 [INFO] LoadUrlFilesThread:141 - End of LoadServerUrlFiles without Thread
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.st.microxplorer.mcuselector.CtxGFX.buildToolTipWidget(CtxGFX.java:40)
at com.st.microxplorer.mcuselector.CtxGFX.getPopup(CtxGFX.java:36)
at com.st.microxplorer.mcuselector.PanelToolTipUI.setToolTip(PanelToolTipUI.java:152)
at com.st.microxplorer.mcuselector.GraphicSummaryPanel.setTooltips(GraphicSummaryPanel.java:214)
at com.st.microxplorer.mcuselector.GraphicSummaryPanel.<init>(GraphicSummaryPanel.java:84)
at com.st.microxplorer.mcuselector.McuMultiScanPanel.createDetailGUI(McuMultiScanPanel.java:170)
at com.st.microxplorer.selector.MultiScanPanel.createGUI(MultiScanPanel.java:371)
at com.st.microxplorer.mcuselector.McuMultiScanPanel.<init>(McuMultiScanPanel.java:140)
at com.st.microxplorer.selector.McuBoardSelectorDialog.defineWindowsFields(McuBoardSelectorDialog.java:386)
at com.st.microxplorer.selector.McuBoardSelectorDialog.init(McuBoardSelectorDialog.java:96)
at com.st.microxplorer.selector.McuBoardSelectorDialog.<init>(McuBoardSelectorDialog.java:79)
at com.st.microxplorer.plugins.filemanager.engine.MainFileManager.userNewConfig(MainFileManager.java:100)
at com.st.microxplorer.plugins.filemanager.FileManagerView$1.actionPerformed(FileManagerView.java:397)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2238)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2296)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4897)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4475)
at java.awt.Container.dispatchEventImpl(Container.java:2282)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-05-29 10:29:09,648 [INFO] McuFinderGlobals:23 - Set standalone mode to false
2018-05-29 10:29:09,844 [INFO] LoadUrlFilesThread:141 - End of LoadServerUrlFiles without Thread
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.st.microxplorer.mcuselector.CtxGFX.buildToolTipWidget(CtxGFX.java:40)
at com.st.microxplorer.mcuselector.CtxGFX.getPopup(CtxGFX.java:36)
at com.st.microxplorer.mcuselector.PanelToolTipUI.setToolTip(PanelToolTipUI.java:152)
at com.st.microxplorer.mcuselector.GraphicSummaryPanel.setTooltips(GraphicSummaryPanel.java:214)
at com.st.microxplorer.mcuselector.GraphicSummaryPanel.<init>(GraphicSummaryPanel.java:84)
at com.st.microxplorer.mcuselector.McuMultiScanPanel.createDetailGUI(McuMultiScanPanel.java:170)
at com.st.microxplorer.selector.MultiScanPanel.createGUI(MultiScanPanel.java:371)
at com.st.microxplorer.mcuselector.McuMultiScanPanel.<init>(McuMultiScanPanel.java:140)
at com.st.microxplorer.selector.McuBoardSelectorDialog.defineWindowsFields(McuBoardSelectorDialog.java:386)
at com.st.microxplorer.selector.McuBoardSelectorDialog.init(McuBoardSelectorDialog.java:96)
at com.st.microxplorer.selector.McuBoardSelectorDialog.<init>(McuBoardSelectorDialog.java:79)
at com.st.microxplorer.plugins.filemanager.engine.MainFileManager.userNewConfig(MainFileManager.java:100)
at com.st.microxplorer.plugins.filemanager.FileManagerView$1.actionPerformed(FileManagerView.java:397)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2238)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2296)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4897)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4534)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4475)
at java.awt.Container.dispatchEventImpl(Container.java:2282)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Outcomes