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.
Env: Build from this morning CVS dev. trunk, j2se 1.4.2, Linux 2.4.22. Steps: 1. build "standard" 2. run NB with empty user dir 3. skip project importing 4. go to "Options->Editing->Editor settings" tree node Result: The node hasn't any child. It is impossible to set options for any (java/text/xml/...) editor. Andrew
Created attachment 11799 [details] ide.log is attached, as Mato have suggested in nbdev list
Thanks. I have thought that ide.log will provide some exception info that caused the Editor Settings node problem. But, unfortunatelly, it didn't. Tracking the problem I have found that it occurs only since the build from 06.10. The build 03.10 seems to be OK. I think that the problem could be introduced by the change of FilterNode in openide. (Editor settings node is FilterNode) http://openide.netbeans.org/source/browse/openide/src/org/openide/nodes/FilterNode.java.diff?r1=1.81&r2=1.82 Yarda, do we need some change in editor module in accordance with the change in FilterNode? I am trying to find out what went wrong...
It is surprising that this FilterNode change affects you. Are you sure that lines in the diff are really invoked? Is setChildren method really called?
Created attachment 11802 [details] Yes. Here is a debug message from Node.setChildren method.
Thanks for evaluation. It is really bug in nodes. I am taking over.
Will be easy fix I guess.
Fixed and regression test written: /cvs/openide/src/org/openide/nodes/FilterNode.java,v <-- FilterNode.java new revision: 1.83; previous revision: 1.82 /cvs/openide/test/unit/src/org/openide/nodes/FilterNodeTest.java,v <-- FilterNodeTest.java new revision: 1.9; previous revision: 1.8
Verified. Thanks! Indeed very quick fix :-) Andrew
Simple mistake + quick bugreport = quick fix.