hajdam opened a new issue, #8692:
URL: https://github.com/apache/netbeans/issues/8692
### Apache NetBeans version
Apache NetBeans 26
### What happened
On my system when opening Tools/Options and switching to Editor/Hints
following error is thrown:
```
java.lang.NullPointerException: Cannot invoke
"org.netbeans.modules.options.editor.FolderBasedOptionPanel.getSelectedLanguage()"
because "this.panel" is null
at
org.netbeans.modules.options.editor.FolderBasedController.saveSelectedLanguage(FolderBasedController.java:129)
at
org.netbeans.modules.options.editor.FolderBasedController.applyChanges(FolderBasedController.java:159)
at
org.netbeans.modules.options.TabbedController.applyChanges(TabbedController.java:111)
at
org.netbeans.modules.options.CategoryModel$Category.applyChanges(CategoryModel.java:379)
at
org.netbeans.modules.options.CategoryModel$Category.access$1100(CategoryModel.java:302)
at
org.netbeans.modules.options.CategoryModel.save(CategoryModel.java:198)
at org.netbeans.modules.options.OptionsPanel.save(OptionsPanel.java:288)
at
org.netbeans.modules.options.OptionsDisplayerImpl$OptionsPanelListener$3.run(OptionsDisplayerImpl.java:515)
at
org.netbeans.modules.progress.ui.RunOffEDTImpl$3.run(RunOffEDTImpl.java:252)
at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1403)
at
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2018)
```
Options window then cannot be closed by close button or cancel button.
Checked and same or similar NPE is present in NetBeans 16, 25 and 27-rc1.
### Language / Project Type / NetBeans Component
_No response_
### How to reproduce
Open Tools/Options and switch to Editor/Hints
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Fedora 41 (64bit)
### JDK
Oracle 17.0.15, OpenJDK 21.0.8
### Apache NetBeans packaging
Apache NetBeans binary zip
### Anything else
_No response_
### Are you willing to submit a pull request?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists