You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing project properties for multiple configurations or all configurations and the Apply and Close button is pressed, cmake4eclipse throws an NPE, see below.
Useful Information
cmake4eclipse version: 4.x, 5.x
What is in Eclipse's Error Log?
java.lang.NullPointerException: Cannot invoke "org.eclipse.cdt.core.settings.model.ICStorageElement.setAttribute(String,String)" because "parent" is null
at de.marw.cmake4eclipse.mbs.settings.CMakeSettings.saveToStorage(CMakeSettings.java:156)
at de.marw.cmake4eclipse.mbs.ui.CMakePropertyTab.persist(CMakePropertyTab.java:447)
at de.marw.cmake4eclipse.mbs.ui.CMakePropertyTab.performOK(CMakePropertyTab.java:423)
The text was updated successfully, but these errors were encountered:
15knots
changed the title
NPE when managing multiple configuration
NPE when managing multiple configurations
Jan 26, 2024
Describe the bug
When editing project properties for multiple configurations or all configurations and the Apply and Close button is pressed, cmake4eclipse throws an NPE, see below.
Useful Information
What is in Eclipse's Error Log?
java.lang.NullPointerException: Cannot invoke "org.eclipse.cdt.core.settings.model.ICStorageElement.setAttribute(String,String)" because "parent" is null
at de.marw.cmake4eclipse.mbs.settings.CMakeSettings.saveToStorage(CMakeSettings.java:156)
at de.marw.cmake4eclipse.mbs.ui.CMakePropertyTab.persist(CMakePropertyTab.java:447)
at de.marw.cmake4eclipse.mbs.ui.CMakePropertyTab.performOK(CMakePropertyTab.java:423)
The text was updated successfully, but these errors were encountered: