This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 194123

Summary: NullPointerException at org.netbeans.modules.options.editor.spi.OptionsFilter$FilteringTreeModel.treeNodesChanged
Product: platform Reporter: marco_bresciani <marco_bresciani>
Component: Options&SettingsAssignee: Yulia Novozhilova <ynov>
Status: RESOLVED DUPLICATE    
Severity: normal CC: facilityderek
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 171612
Attachments: stacktrace

Description marco_bresciani 2011-01-07 13:36:43 UTC
Build: NetBeans IDE 7.0 Beta (Build 201011161834)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows XP

User Comments:
GUEST: in Options -> Hints -> Java ,
unchecked an option. I think it was "Dependency Scanning".

GUEST: Options->editor->hints. After clicking on "Dependency Scanning"

GUEST: Options->Editor->Hints

GUEST: Tryed to turn off Dependency scanning in Options->Editor->Hints

GUEST: Tryed to turn off dependency scanning in Hints menu.

GUEST: Removing checkboxes next to Hints available in the editor.

GUEST: Create new JavaApplication
Create new main class

Choose Tools > Options > Editor > Hints. 
From the Language drop-down list, select Java and view a list of elements for which hints are displayed (their checkboxes are selected). 
To disable hints for some categories, clear the appropriate checkboxes. 
Note: On the Hints tab, you can also disable or limit the scope of dependency scans (Dependency Scanning option). These steps can singificantly improve the performance of the IDE.

GUEST: tried to disable/enable java language intention for dependency scanning




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.options.editor.spi.OptionsFilter$FilteringTreeModel.treeNodesChanged(OptionsFilter.java:250)
   at javax.swing.tree.DefaultTreeModel.fireTreeNodesChanged(DefaultTreeModel.java:468)
   at javax.swing.tree.DefaultTreeModel.nodesChanged(DefaultTreeModel.java:335)
   at javax.swing.tree.DefaultTreeModel.nodeChanged(DefaultTreeModel.java:265)
   at org.netbeans.modules.java.hints.options.HintsPanelLogic.toggle(HintsPanelLogic.java:455)
   at org.netbeans.modules.java.hints.options.HintsPanelLogic.mouseClicked(HintsPanelLogic.java:253)
Comment 1 marco_bresciani 2011-01-07 13:36:47 UTC
Created attachment 104789 [details]
stacktrace
Comment 2 Milutin Kristofic 2011-09-08 15:08:33 UTC

*** This bug has been marked as a duplicate of bug 199623 ***