You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "hajdam (via GitHub)" <gi...@apache.org> on 2025/07/30 12:26:17 UTC
[I] NPE when opening Options/Editor/Hints [netbeans]
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: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] NPE when opening Options/Editor/Hints [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #8692:
URL: https://github.com/apache/netbeans/issues/8692#issuecomment-3136163576
Please share the full log as an attachment here. What language / project types do you have enabled. Cannot reproduce with a clean userdir.
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] NPE when opening Options/Editor/Hints [netbeans]
Posted by "neilcsmith-net (via GitHub)" <gi...@apache.org>.
neilcsmith-net commented on issue #8692:
URL: https://github.com/apache/netbeans/issues/8692#issuecomment-3136355555
Thanks for the confirmation!
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] NPE when opening Options/Editor/Hints [netbeans]
Posted by "hajdam (via GitHub)" <gi...@apache.org>.
hajdam commented on issue #8692:
URL: https://github.com/apache/netbeans/issues/8692#issuecomment-3136251814
Hi and sorry. I tested it with clean userdir and it works fine there.
I narrowed it down to some old findbugs plugin that was imported across all my multiple versions over the long time...
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] NPE when opening Options/Editor/Hints [netbeans]
Posted by "hajdam (via GitHub)" <gi...@apache.org>.
hajdam closed issue #8692: NPE when opening Options/Editor/Hints
URL: https://github.com/apache/netbeans/issues/8692
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists