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 81959 - NullPointerException when debugger is finished by step action
Summary: NullPointerException when debugger is finished by step action
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-04 19:13 UTC by alexandrov
Modified: 2006-08-05 02:58 UTC (History)
0 users

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 alexandrov 2006-08-04 19:13:40 UTC
1. Create Args project. Build it. Open args.c in editor
2. set toggle breakpoint at line 33(at the return statement)
3. Debug main project. Debugger stopped at line 33
4. Push "Step Over" twice => NullPointerException
"Step Into" has the same effect
Comment 1 _ gordonp 2006-08-04 19:35:19 UTC
What platform? If its Solaris would you try the same test using gdb from
the command line? There are gdb issues (on Solaris) and I'd like that ruled
out before proceeding on this bug.
Comment 2 julieg 2006-08-04 23:15:20 UTC
I have tested gdb on windows, solaris and linux, and the exception is not thrown
from gdb.  
Comment 3 julieg 2006-08-05 00:30:13 UTC
java.lang.NullPointerException
        at
org.netbeans.modules.cnd.debugger.gdb.EditorContextBridge.annotate(EditorContextBridge.java:120)
        at
org.netbeans.modules.cnd.debugger.gdb.CurrentThreadAnnotationListener$3.run(CurrentThreadAnnotationListener.java:230)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 4 _ gordonp 2006-08-05 02:58:22 UTC
Fixed in beta2 build.