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

Bug 364807

Summary: [Table] IndexOutOfBoundsException in NatTableWidget#isSelectedCellEditable
Product: z_Archived Reporter: Nicolas Bros <nicolas.bros>
Component: EMF-FacetAssignee: Project Inbox <emft.facet-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: gdupe
Version: unspecifiedFlags: gdupe: indigo+
gdupe: juno+
gdupe: kepler+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nicolas Bros CLA 2011-11-25 05:28:33 EST
When NatTableWidget#isSelectedCellEditable is called when there are no selected cells, it triggers an IndexOutOfBoundsException:

Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.RangeCheck(ArrayList.java:546)
	at java.util.ArrayList.get(ArrayList.java:321)
	at org.eclipse.emf.facet.widgets.nattable.internal.NatTableWidget.isSelectedCellEditable(NatTableWidget.java:3019)