2019-06-12 03:22 AM
Whenever I try to open .ioc file from repository https://github.com/STMicroelectronics-CentralLabs/ST_Drone_FCU_F401 with stm32cubemx version 5.2.1 I downloaded a few days ago I get in console
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: Index 8 out of bounds for length 8
at com.st.microxplorer.plugins.projectmanager.gui.ProjectChoiceTab.updateToolChainSelection(ProjectChoiceTab.java:1895)
at com.st.microxplorer.plugins.projectmanager.gui.ProjectChoiceTab.updateSettings(ProjectChoiceTab.java:393)
at com.st.microxplorer.plugins.projectmanager.gui.ProjectSettingsPanel.showDialog(ProjectSettingsPanel.java:104)
at com.st.microxplorer.plugins.projectmanager.engine.MainProjectManager.showProjectSettingPanel(MainProjectManager.java:404)
at com.st.microxplorer.plugins.projectmanager.ProjectManagerView.getUI(ProjectManagerView.java:168)
at com.st.microxplorer.maingui.MainPanel.updateViewsTabPane(MainPanel.java:1145)
at com.st.microxplorer.maingui.MainPanel.propertyChange(MainPanel.java:714)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
at com.st.microxplorer.util.MXPropertyChangeSupport.firePropertyChange(MXPropertyChangeSupport.java:45)
at com.st.microxplorer.mxsystem.MxSystem.completeLoadConfig(MxSystem.java:598)
at com.st.microxplorer.plugins.filemanager.engine.OpenFileManager.LoadConfig(OpenFileManager.java:281)
at com.st.microxplorer.plugins.filemanager.engine.OpenFileManager.loadConfigurationFile(OpenFileManager.java:198)
at com.st.microxplorer.plugins.filemanager.engine.OpenFileManager.userChoiceLoadConfig(OpenFileManager.java:100)
at com.st.microxplorer.plugins.filemanager.engine.MainFileManager.userChoiceAndLoadConfig(MainFileManager.java:174)
at com.st.microxplorer.plugins.filemanager.FileManagerView.getSpecificTask(FileManagerView.java:231)
at com.st.microxplorer.maingui.New_gui_ProjectLinePanel.jButtonChoiceAndLoadConfigurationActionPerformed(New_gui_ProjectLinePanel.java:203)
at com.st.microxplorer.maingui.New_gui_ProjectLinePanel.mouseClicked(New_gui_ProjectLinePanel.java:148)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6397)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4556)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Is there some workaround for this problem?
I am using Ubuntu 18.04.2 LTS, openjdk version "11.0.3" 2019-04-16.
2019-06-19 02:21 PM
I'm seeing the same issue.
2019-07-07 11:51 AM
Similar for me on Windows 10. No stack trace but an endless busy loop.
The .ioc file is a plain ASCII file so you can understand what the settings are and use them for your own new project.