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 168975 - NullPointerException at org.netbeans.modules.debugger.ui.actions.ConnectAction$ConnectListener.actionPerformed
Summary: NullPointerException at org.netbeans.modules.debugger.ui.actions.ConnectActio...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 14:38 UTC by rstaff
Modified: 2009-09-18 22:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 154044


Attachments
stacktrace (5.37 KB, text/plain)
2009-07-22 14:39 UTC, rstaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rstaff 2009-07-22 14:38:50 UTC
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)
Comment 1 rstaff 2009-07-22 14:39:01 UTC
Created attachment 85070 [details]
stacktrace
Comment 2 Martin Entlicher 2009-07-22 15:11:28 UTC
Happened just once under a special occasion -> P4.
Comment 3 Martin Entlicher 2009-09-10 15:43:30 UTC
dialog is null, you've probably managed to press the OK/Cancel button twice before the dialog managed to close itself.
Comment 4 Martin Entlicher 2009-09-10 16:23:05 UTC
Fixed in changeset:   144718:45a3a34dad17
http://hg.netbeans.org/main/rev/45a3a34dad17
Comment 5 Quality Engineering 2009-09-18 22:20:28 UTC
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.