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 66133 - NPE when a field breakpoint for a non-existent field is created.
Summary: NPE when a field breakpoint for a non-existent field is created.
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
: 70751 87050 87163 92520 (view as bug list)
Depends on: 32796 89558
Blocks:
  Show dependency tree
 
Reported: 2005-10-06 14:19 UTC by Martin Entlicher
Modified: 2010-04-29 09:25 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The thrown java.lang.NullPointerException (2.82 KB, text/plain)
2005-10-06 14:20 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2005-10-06 14:19:08 UTC
The attached exception is thrown.
Comment 1 Martin Entlicher 2005-10-06 14:20:49 UTC
Created attachment 25605 [details]
The thrown java.lang.NullPointerException
Comment 2 Martin Entlicher 2005-10-06 14:22:53 UTC
The problem is, that
EventRequestManager.createModificationWatchpointRequest(null) is called in
FieldBreakpointImpl.
Comment 3 Martin Entlicher 2006-10-13 09:41:43 UTC
*** Issue 87050 has been marked as a duplicate of this issue. ***
Comment 4 Martin Entlicher 2006-10-13 09:42:58 UTC
Changing to P3 - the user experience is bad, there should be some warning that
the field does not exist.
Comment 5 Martin Entlicher 2006-10-16 13:07:14 UTC
*** Issue 87163 has been marked as a duplicate of this issue. ***
Comment 6 Martin Entlicher 2006-11-23 16:30:20 UTC
*** Issue 70751 has been marked as a duplicate of this issue. ***
Comment 7 Martin Entlicher 2007-01-17 11:16:53 UTC
*** Issue 92520 has been marked as a duplicate of this issue. ***
Comment 8 ehucka 2007-03-01 14:38:33 UTC
The NPE is thrown when field name contains wildcard '*' too. Is it forbidden to
use wildcards for field breakpoints? 
Comment 9 Martin Entlicher 2007-03-02 15:13:47 UTC
This was fixed by the fix of issue #89558.
Comment 10 Quality Engineering 2010-04-29 09:25:53 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.