Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 571154

Summary: [RAP] [Grid] CellSelection leads to java.lang.IllegalArgumentException and crashes the webapp
Product: [RT] RAP Reporter: Michael Heiss <michael.heiss>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.15   
Target Milestone: 3.16 M3   
Hardware: PC   
OS: Windows 10   
See Also: https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/176195
https://git.eclipse.org/c/rap/org.eclipse.rap.git/commit/?id=f64db00ba02fb4041264a40108406961ba75899f
Whiteboard:
Attachments:
Description Flags
Stacktrace none

Description Michael Heiss CLA 2021-02-12 04:54:56 EST
Created attachment 285535 [details]
Stacktrace

I am not sure how to trigger that exception but this happens quite a few time in our application. 

Seems to be triggered when we add new rows into the table where we clear the table (grid.clear) and afterwards set the selection to this newly created row. The row is not visible but scrolled into the viewport. After that, when we clicking a few times in the table to select different cells, the exception is raised.

We are using a grid with CellSelection enabled and with the SWT.VIRTUAL style flag.
Comment 1 Eclipse Genie CLA 2021-02-12 08:38:04 EST
New Gerrit change created: https://git.eclipse.org/r/c/rap/org.eclipse.rap/+/176195