| Summary: | NPE in Table.sendDoubleSelection when double-clicking on the right of an item | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> | ||||||
| Component: | SWT | Assignee: | Scott Kovatch <skovatch> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Silenio Quarti <Silenio_Quarti> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | n.a.edgar, skovatch | ||||||
| Version: | 3.6 | Flags: | grant_gayed:
review+
Silenio_Quarti: review+ |
||||||
| Target Milestone: | 3.6 RC2 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Markus Keller
Created attachment 168837 [details]
Fix
Fix is simple -- make sure clickedColumn() isn't -1 before testing against the checkColumn.
This is a candidate for 3.6rc2, since it's an NPE in an easy-to-reproduce case. Created attachment 168838 [details]
Fix with Tree and Table
Fix applies to Tree as well.
The patch looks fine, and there aren't any other senders of clickedColumn(), so there aren't other obvious places where this would happen. Fixed > 20100518. *** Bug 342057 has been marked as a duplicate of this bug. *** |