| Summary: | NPE in TCFBreakpointStatusListener during launch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] TCF | Reporter: | Anton Leherbauer <aleherb+eclipse> | ||||
| Component: | Debug | Assignee: | Project Inbox <tcf.debug-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eugene | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 0.4.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Anton Leherbauer
The stack trace in comment 0 is from a modified file. Here is the stack trace for the original file. java.lang.NullPointerException at org.eclipse.tm.internal.tcf.cdt.ui.TCFBreakpointStatusListener$BreakpointListener.<init>(TCFBreakpointStatusListener.java:46) at org.eclipse.tm.internal.tcf.cdt.ui.TCFBreakpointStatusListener$1.onConnected(TCFBreakpointStatusListener.java:129) at org.eclipse.tm.internal.tcf.cdt.ui.TCFBreakpointStatusListener.<init>(TCFBreakpointStatusListener.java:151) at org.eclipse.tm.internal.tcf.cdt.ui.Activator$1.run(Activator.java:38) at org.eclipse.tm.tcf.EventQueue.run(EventQueue.java:99) at java.lang.Thread.run(Unknown Source) Created attachment 190040 [details]
Proposed patch
This adds another check before attaching the breakpoint listener to the launch.
Committed. Thanks! |