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.
Instantiating a template causes the folllowing exception. This is in build 22. It also causes the newly instantiated class to not be renamed correctly. To reproduce: 1) In the Explorer, right click on a package, select new->Classes->Interface. 2) Pick a name for the interface 3) Accept the defaults for the interface. The exception should then occur. Interface was not the only template to cause this. Sat Apr 21 15:43:11 EDT 2001: java.lang.IllegalStateException: Can't dispose InputContext while it's active java.lang.IllegalStateException: Can't dispose InputContext while it's active at sun.awt.im.InputContext.dispose(InputContext.java:548) at java.awt.Window$1$DisposeAction.run(Window.java:468) at java.awt.Window.dispose(Window.java:477) at java.awt.Dialog.disposeImpl(Dialog.java:432) at java.awt.Dialog.dispose(Dialog.java:428) at org.netbeans.core.NbPresenter$ButtonListener.actionPerformed (NbPresenter.java:727) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (AbstractButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:378) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:250) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:216) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.Dialog.show(Dialog.java:370) at org.netbeans.core.NbPresenter.superShow(NbPresenter.java:477) at org.netbeans.core.NbPresenter.run(NbPresenter.java:500) at org.openide.util.Mutex.doEventAccess(Mutex.java:860) at org.openide.util.Mutex.readAccess(Mutex.java:146) at org.netbeans.core.NbPresenter.show(NbPresenter.java:481) at org.openide.loaders.TemplateWizard.instantiateImpl (TemplateWizard.java:435) at org.openide.loaders.TemplateWizard.instantiate (TemplateWizard.java:396) at org.openide.actions.NewTemplateAction$TemplateActionListener.acceptNodes (NewTemplateAction.java:240) at org.openide.explorer.view.MenuView$MenuItem.doClick (MenuView.java:536) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased (BasicMenuItemUI.java:886) at java.awt.Component.processMouseEvent(Component.java:3717) at java.awt.Component.processEvent(Component.java:3546) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2595) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2499) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:912) at java.awt.Component.dispatchEvent(Component.java:2499) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:319) at java.awt.EventDispatchThread.pumpOneEvent (EventDispatchThread.java:103) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:84)
Target milestone -> 3.3
WORKSFORME in the latest dev builds
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.