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 58323 - [41cat] NPE when "fixing" and not stopped at bp
Summary: [41cat] NPE when "fixing" and not stopped at bp
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 58267 58396 59738 59749 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-26 11:31 UTC by gugrim
Modified: 2006-03-24 13:12 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gugrim 2005-04-26 11:31:24 UTC
[ BUILD # : RC1 ]
[ JDK VERSION : 1.5.0_02 ]

If I use nbjpdareload to reload some fixed class or classes, and the debugger isn't currently stopped at a breakpoint, i get an NPE at line 197 in CallStackFrameImpl.
Comment 1 Martin Entlicher 2005-04-28 18:19:16 UTC
*** Issue 58396 has been marked as a duplicate of this issue. ***
Comment 2 Martin Entlicher 2005-04-28 18:20:48 UTC
Thanks for the location of the NPE. I've reproduced it, working on a fix...
Comment 3 Martin Entlicher 2005-04-29 09:48:04 UTC
Fixed in trunk:

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/models/CallStackFrameImpl.java,v
 <--  CallStackFrameImpl.java
new revision: 1.15; previous revision: 1.14

/cvs/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v
 <--  JPDADebuggerImpl.java
new revision: 1.70; previous revision: 1.69
Comment 4 Martin Entlicher 2005-05-03 10:19:57 UTC
*** Issue 58267 has been marked as a duplicate of this issue. ***
Comment 5 tboerkel 2005-05-17 14:47:00 UTC
Apparently, this is not fixed. I just got the same error in NB 4.1.
Comment 6 Martin Entlicher 2005-05-17 14:51:15 UTC
This is possible. The Target Milestone is 4.2, therefore this is fixed in 4.2.
Not in 4.1.
Comment 7 Martin Entlicher 2005-06-03 14:02:14 UTC
The fix is merged into release41_fixes branch - preparing for hotfix update:

/shared/data/ccvs/repository/debuggerjpda/src/org/netbeans/modules/debugger/jpda/JPDADebuggerImpl.java,v
 <--  JPDADebuggerImpl.java
new revision: 1.64.2.3.2.1; previous revision: 1.64.2.3

Comment 8 Martin Entlicher 2005-06-08 20:30:49 UTC
*** Issue 59749 has been marked as a duplicate of this issue. ***
Comment 9 Martin Entlicher 2005-06-09 14:07:04 UTC
*** Issue 59738 has been marked as a duplicate of this issue. ***
Comment 10 Max Sauer 2005-07-08 10:38:14 UTC
Verified in nbdev200507061800. No exception is thrown.