| Summary: | [breakpoints] NPE in AbstractBreakpointVMNode. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Pawel Piech <pawel.1.piech> | ||||
| Component: | cdt-debug-dsf | Assignee: | Pawel Piech <pawel.1.piech> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Pawel Piech <pawel.1.piech> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | aleherb+eclipse, nmehrega, pawel.1.piech | ||||
| Version: | 7.0 | Flags: | aleherb+eclipse:
review+
|
||||
| Target Milestone: | 7.0 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Fix committed. Toni please review. Navid since you're familiar with this code if you can please have a look also. Patch looks good to me. *** cdt cvs genie on behalf of ppiech *** Bug 311122 - [breakpoints] NPE in AbstractBreakpointVMNode. [*] BreakpointVMProvider.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/breakpoints/BreakpointVMProvider.java?root=Tools_Project&r1=1.2&r2=1.3 |
Created attachment 166580 [details] Fix. I got the following NPE with DSF-GDB when I had filter breakpoints option turned on. Caused by: java.lang.NullPointerException at org.eclipse.cdt.dsf.debug.ui.viewmodel.breakpoints.AbstractBreakpointVMNode$2.handleCompleted(AbstractBreakpointVMNode.java:86) at org.eclipse.cdt.dsf.concurrent.RequestMonitor$2.run(RequestMonitor.java:291) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) ... 23 more Attached patch fixes the NPE.