2025-11-17 3:58 PM
Hi,
I am running into thread exception while running CubeMx on MacOs M4 Pro.
Platform: MacOs M4 Pro
CubeMx (About): Java (21.0.8 (9)) [STM32CubeMX 6.16.0 Mac ARM]
When I try to open Airoc-Wi-Fi-Bluetooth Pack under Middleware, I get following exception and call stack.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: column must be valid, was-1
at org.jdesktop.swingx.JXTreeTable.isHierarchical(JXTreeTable.java:2022)
at org.jdesktop.swingx.JXTreeTable.getEditingRow(JXTreeTable.java:1162)
at java.desktop/javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7222)
at java.desktop/javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7612)
at java.desktop/javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:7133)
at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:231)
at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:206)
at java.desktop/javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:258)
at java.desktop/javax.swing.DefaultListSelectionModel.setAnchorSelectionIndex(DefaultListSelectionModel.java:824)
at java.desktop/javax.swing.JTable.clearSelectionAndLeadAnchor(JTable.java:2197)
at java.desktop/javax.swing.JTable.tableChanged(JTable.java:4438)
at org.jdesktop.swingx.JXTable.tableChanged(JXTable.java:1529)
at org.jdesktop.swingx.JXTreeTable.tableChanged(JXTreeTable.java:1250)
at java.desktop/javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableModel.java:302)
at java.desktop/javax.swing.table.AbstractTableModel.fireTableStructureChanged(AbstractTableModel.java:222)
at org.jdesktop.swingx.JXTreeTable$TreeTableModelAdapter$2.propertyChange(JXTreeTable.java:2261)
at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:336)
at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
at java.desktop/java.awt.Component.firePropertyChange(Component.java:8717)
at java.desktop/javax.swing.JTree.setModel(JTree.java:946)
at org.jdesktop.swingx.JXTree.setModel(JXTree.java:1501)
at org.jdesktop.swingx.JXTreeTable.setTreeTableModel(JXTreeTable.java:1184)
at com.st.microxplorer.plugins.thirdparty.gui.view.treetable.ComponentTreeTable.updateModel(ComponentTreeTable.java:172)
at com.st.microxplorer.plugins.thirdparty.gui.view.ComponentTreePanel.updateModelAndTable(ComponentTreePanel.java:244)
at com.st.microxplorer.plugins.thirdparty.gui.view.ComponentTreePanel.update(ComponentTreePanel.java:146)
at com.st.microxplorer.plugins.thirdparty.gui.view.ThirdPartyUI.updateAllPanels(ThirdPartyUI.java:425)
at com.st.microxplorer.plugins.thirdparty.gui.view.ThirdPartyWindow.show(ThirdPartyWindow.java:130)
at com.st.microxplorer.plugins.thirdparty.ThirdParty.showDialog(ThirdParty.java:959)
at com.st.microxplorer.plugins.thirdparty.ThirdParty.openThirdParty(ThirdParty.java:1066)
at com.st.microxplorer.plugins.thirdparty.ThirdParty.getSpecificTask(ThirdParty.java:572)
at com.st.microxplorer.plugins.pinoutconfig.guiV5.PeripheralsListListener.mouseClicked(PeripheralsListListener.java:105)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:278)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:277)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6624)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398)
at java.desktop/java.awt.Component.processEvent(Component.java:6386)
at java.desktop/java.awt.Container.processEvent(Container.java:2266)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4584)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744)
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)
Scrrenshot of what I am clicking on :
Is this normal ?