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 - NullPointerException at org.netbeans.modules.options.editor.spi.OptionsFilter$FilteringTreeModel.treeNodesChanged
Summary: NullPointerException at org.netbeans.modules.options.editor.spi.OptionsFilter...
Status: RESOLVED DUPLICATE of bug 199623
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-07 13:36 UTC by marco_bresciani
Modified: 2011-09-08 15:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171612


Attachments
stacktrace (2.13 KB, text/plain)
2011-01-07 13:36 UTC, marco_bresciani
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***