| Summary: | [breakpoints] NPE when opening thread filter page with one running and one terminated launch | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Khouzam <marc.khouzam> | ||||
| Component: | cdt-debug-dsf-gdb | Assignee: | Marc Khouzam <marc.khouzam> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Marc Khouzam <marc.khouzam> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | cdtdoug, nobody, pawel.1.piech | ||||
| Version: | 8.0 | Flags: | marc.khouzam:
review?
(nobody) |
||||
| Target Milestone: | 8.0.1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Marc Khouzam
Created attachment 202692 [details]
Fix to return an empty array instead of null
In GdbThreadFilterEditor, I noticed that syncGetThreads() would return an empty array upon failure, while syncGetContainers() would return null. The null was causing the NPE, so I changed it to return an empty array.
I'll commit to master and 8_0
(In reply to comment #1) > I'll commit to master and 8_0 I'm having trouble accessing the repo right now. I'll try again later on. Committed to both branches. Mikhail, can you review? One-line patch. *** cdt git genie on behalf of Marc Khouzam ***
Bug 356613: NPE when opening thread filter page with one running and one terminated launch
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=d7f7e9cdac837654f4b36aad012a0be705115c2e
*** cdt git genie on behalf of Marc Khouzam ***
Bug 356613: NPE when opening thread filter page with one running and one terminated launch
[*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=1992418e3830759e80ac0b3d377283655e9f09c3
|