Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Grid/GridViewer] IndexOutOfBoundsException
[Grid/GridViewer] IndexOutOfBoundsException [message #592913] Tue, 09 December 2008 16:10
Tommy Gustafsson is currently offline Tommy GustafssonFriend
Messages: 12
Registered: July 2009
Junior Member

I came across a IndexOutOfBoundsException when using the Grid together with
the GridViewer. I'm using CellSelectionEnabled(true) and have added a filter
to the GridViewer. When the Filter returns 0 rows and you click on the
TopLeft Corner (ie selecting all cells) the following exeception is thrown:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(
at java.util.ArrayList.get(
at org.eclipse.nebula.widgets.grid.Grid.selectAllCells(Grid.jav a:8798)
at org.eclipse.nebula.widgets.grid.Grid.onMouseDown( 708)
at org.eclipse.nebula.widgets.grid.Grid.access$6( )
at org.eclipse.nebula.widgets.grid.Grid$10.mouseDown( 6402)

Previous Topic:Grid Header/Footer: Scrolling
Next Topic:[Grid/GridViewer] IndexOutOfBoundsException
Goto Forum:

Current Time: Mon Apr 23 23:28:43 GMT 2018

Powered by FUDForum. Page generated in 0.01761 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software