Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPE when managing multiple configurations #201

Open
15knots opened this issue Jan 26, 2024 · 0 comments
Open

NPE when managing multiple configurations #201

15knots opened this issue Jan 26, 2024 · 0 comments

Comments

@15knots
Copy link
Owner

15knots commented 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

  • 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)

@15knots 15knots changed the title NPE when managing multiple configuration NPE when managing multiple configurations Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant