Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364807 - [Table] IndexOutOfBoundsException in NatTableWidget#isSelectedCellEditable
Summary: [Table] IndexOutOfBoundsException in NatTableWidget#isSelectedCellEditable
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-25 05:28 EST by Nicolas Bros CLA
Modified: 2020-05-01 11:26 EDT (History)
1 user (show)

See Also:
gdupe: indigo+
gdupe: juno+
gdupe: kepler+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)