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 146681

Summary: NullPointerException at org.netbeans.modules.debugger.ui.actions.AddBreakpointAction$AddBreakpointDialogManager.actionPerformed
Product: debugger Reporter: Petr Cyhelsky <cyhelsky>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=108798
Issue Type: DEFECT Exception Reporter: 108798
Attachments: stacktrace

Description Petr Cyhelsky 2008-09-09 18:03:47 UTC
Build: NetBeans IDE Dev (Build 200809081401)
VM: Java HotSpot(TM) Client VM, 11.0-b14, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b27
OS: Windows Vista, 6.0, x86

User Comments: 
on ctrl-shift-F8 (to create breakpoint)

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.debugger.ui.actions.AddBreakpointAction$AddBreakpointDialogManager.actionPerformed(AddBreakpointAction.java:157)
        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 Petr Cyhelsky 2008-09-09 18:04:00 UTC
Created attachment 69438 [details]
stacktrace
Comment 2 Martin Entlicher 2008-09-09 23:57:20 UTC
*** Issue 146682 has been marked as a duplicate of this issue. ***
Comment 3 Martin Entlicher 2008-09-10 09:34:20 UTC
I was able to reproduce this only after issue #146686 occurred. Is that correct?
Therefore reducing priority to P4 - not a common issue.
Comment 4 Petr Cyhelsky 2008-09-10 14:20:29 UTC
Yes, you are exactly right. P4 seems adequate.
Comment 5 Martin Entlicher 2008-11-18 21:22:39 UTC
The NPE is fixed in changeset:   108304:c25614c75a60
http://hg.netbeans.org/main/rev/c25614c75a60
Comment 6 Quality Engineering 2008-11-19 16:42:01 UTC
Integrated into 'main-golden', will be available in build *200811191401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c25614c75a60
User: mentlicher@netbeans.org
Log: #146681 - Prevent from NPE.
Comment 7 Quality Engineering 2010-04-29 09:43:52 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.