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 18002 - NullPointerException when finishing debugger or removing breakpoint after debugger starts
Summary: NullPointerException when finishing debugger or removing breakpoint after deb...
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
: 18013 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-11-22 19:26 UTC by Jiri Skrivanek
Modified: 2001-11-28 16:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stack trace1 (5.01 KB, text/plain)
2001-11-22 19:27 UTC, Jiri Skrivanek
Details
stack trace 2 (2.63 KB, text/plain)
2001-11-22 19:27 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2001-11-22 19:26:16 UTC
Tested in build 20011122-1757.

- create from template new Main class
- add a line to main method and toggle breakpoint on it
- start debugger
- when debugger stops on breakpoint try to finish debugger and you get
java.lang.NullPointerException at
org.netbeans.modules.debugger.support.java.JavaLineBreakpointEvent.dispose(JavaLineBreakpointEvent.java:156)

- it also happens if you try to toggle breakpoint on which debugger stops
Comment 1 Jiri Skrivanek 2001-11-22 19:27:03 UTC
Created attachment 3546 [details]
stack trace1
Comment 2 Jiri Skrivanek 2001-11-22 19:27:35 UTC
Created attachment 3547 [details]
stack trace 2
Comment 3 Jan Zajicek 2001-11-23 10:00:30 UTC
*** Issue 18013 has been marked as a duplicate of this issue. ***
Comment 4 Jan Jancura 2001-11-26 11:53:35 UTC
fixed in release33 & main trunk
Comment 5 Jiri Skrivanek 2001-11-26 13:36:28 UTC
Verified in trunk build 20011126-1007 and release33 build
20011126-1116. 
I recommend to fix it in release330 branch also.
Comment 6 Marian Petras 2001-11-27 18:09:22 UTC
Fixed also in branches 'release330' and 'release33_beta6'.
Comment 7 Jiri Skrivanek 2001-11-28 10:02:07 UTC
Verified in release330 build 20011127-1809.