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.
Editing the unit test class DefaultWizardDisplayerTest (see http://wizard.dev.java.net for sources), I add the following inner class: private class D extends DeferredWizardResult { ^ public void start(Map settings, DeferredWizardResult.ResultProgressHandle progress) { } } I place the caret where you see the ^ above and press Ctrl-I. The following exception is thrown. P2 since the functionality is not working and I've seen this exception a number of times when invoking Ctrl-I against inner/nested classes. java.lang.IllegalStateException: Cannot initialize 0th child of node org.openide.nodes.AbstractNode@12fe2e8[Name=, displayName=]; it already belongs to node org.openide.nodes.AbstractNode@7280e1[Name=, displayName=] at org.openide.nodes.Node.assignTo(Node.java:304) at org.openide.nodes.Children.justComputeNodes(Children.java:709) at org.openide.nodes.ChildrenArray.nodes(ChildrenArray.java:69) at org.openide.nodes.Children.setEntries(Children.java:767) at org.openide.nodes.Children$Keys$2.run(Children.java:2052) at org.openide.util.Mutex.postRequest(Mutex.java:1141) at org.openide.util.Mutex.postWriteRequest(Mutex.java:487) at org.openide.nodes.Children$Keys.applyKeys(Children.java:2061) at org.openide.nodes.Children$Keys.setKeys(Children.java:2006) at org.netbeans.modules.java.tools.OverridePanel2$Ch.update(OverridePanel2.java:397) at org.netbeans.modules.java.tools.OverridePanel2$Ch.propertyChange(OverridePanel2.java:372) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at org.netbeans.modules.java.tools.JMIInheritanceSupport.taskFinished(JMIInheritanceSupport.java:323) at org.openide.util.Task.notifyFinished(Task.java:205) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:547) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:963)
Hey Tim did you really mean to file this bug against 6.0? Seeing beans and JMI in it.
Tim, please provide info requested by Hrebejk, thanks.
Probably not, since there weren't 6.0 builds yet when I filed it last September.
The override method dialog was replace with Insert Code feature in 6.0
Reorganization of java component