cancel
Showing results for 
Search instead for 
Did you mean: 

Null pointer exception in Eclipse when opening IOC file

JLemi
Associate III

When running /opt/st/stm32cubeide_1.8.0/stm32cubeide under Ubuntu 20.04.3 LTS, I get the following NPE when double-clicking on the ioc file. Nothing happens at the UI level. I include the ioc file that makes the program crash in case it could be useful. Thank you.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

   at com.st.microxplorer.plugins.projectmanager.model.ProjectSettings.setM_mainLocation(ProjectSettings.java:457)

   at com.st.stm32cube.common.mx.editor.CubeMxEditor.getMxTabbedPaneInstance(CubeMxEditor.java:1111)

   at com.st.stm32cube.common.mx.editor.CubeMxEditor$11$1.createSwingComponent(CubeMxEditor.java:1025)

   at com.st.stm32cube.common.mx.oss.core.awtswtbridge.EmbeddedSwingComposite.doComponentCreation(EmbeddedSwingComposite.java:492)

   at com.st.stm32cube.common.mx.oss.core.awtswtbridge.EmbeddedSwingComposite$4.run(EmbeddedSwingComposite.java:291)

   at com.st.stm32cube.common.mx.oss.core.awtswtbridge.AwtEnvironment$2.run(AwtEnvironment.java:166)

   at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)

   at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)

   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.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)

   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)

0 REPLIES 0