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 147745 - NullPointerException at org.netbeans.modules.debugger.ui.actions.AddBreakpointPanel.getController
Summary: NullPointerException at org.netbeans.modules.debugger.ui.actions.AddBreakpoin...
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2008-09-19 16:43 UTC by Ivan Sidorkin
Modified: 2008-09-22 10:46 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 115152


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Sidorkin 2008-09-19 16:43:00 UTC
Build: NetBeans IDE Dev (Build 20080919132746)
VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.debugger.ui.actions.AddBreakpointPanel.getController(AddBreakpointPanel.java:137)
        at org.netbeans.modules.debugger.ui.actions.AddBreakpointAction$AddBreakpointDialogManager.setValid(AddBreakpointAction.java:192)
        at org.netbeans.modules.debugger.ui.actions.AddBreakpointAction$AddBreakpointDialogManager.getDialog(AddBreakpointAction.java:118)
        at org.netbeans.modules.debugger.ui.actions.AddBreakpointAction.actionPerformed(AddBreakpointAction.java:92)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
Comment 1 Ivan Sidorkin 2008-09-19 16:45:20 UTC
create new Java application
click Debug->New Breakpoint...
Comment 2 Ivan Sidorkin 2008-09-19 18:12:27 UTC
on linux no exception but nothing happened
Comment 3 Martin Entlicher 2008-09-19 23:09:25 UTC
Reproduced, working on a fix...
Comment 4 Martin Entlicher 2008-09-19 23:32:05 UTC
Fixed in changeset:   102995:e3f90994ba5c
http://hg.netbeans.org/main/rev/e3f90994ba5c
Comment 5 Quality Engineering 2008-09-20 06:00:22 UTC
Integrated into 'main-golden', will be available in build *200809200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e3f90994ba5c
User: mentlicher@netbeans.org
Log: #147745 - Prevent from NPE when type is not set yet.
Comment 6 Daniel Prusa 2008-09-20 14:43:52 UTC
*** Issue 147780 has been marked as a duplicate of this issue. ***
Comment 7 Ivan Sidorkin 2008-09-22 10:46:17 UTC
verified