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.
Build: NetBeans IDE 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux, 2.6.24-2009-06-15, i386 User Comments: rstaff: Somehow a window to attach a debugger popped up several times when the IDE was loading while I was in another application and then an NPE occurred. Clicking the cancel button would not close the dialog, although the close button worked. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.debugger.ui.actions.ConnectAction$ConnectListener.actionPerformed(ConnectAction.java:142) at org.netbeans.core.windows.services.NbPresenter$ButtonListener.actionPerformed(NbPresenter.java:1137) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
Created attachment 85070 [details] stacktrace
Happened just once under a special occasion -> P4.
dialog is null, you've probably managed to press the OK/Cancel button twice before the dialog managed to close itself.
Fixed in changeset: 144718:45a3a34dad17 http://hg.netbeans.org/main/rev/45a3a34dad17
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/45a3a34dad17 User: mentlicher@netbeans.org Log: #168975 - Prevent from NPE when action is performed on already closed dialog.