Skip to main content


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
Hi

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(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.eclipse.nebula.widgets.grid.Grid.selectAllCells(Grid.jav a:8798)
at org.eclipse.nebula.widgets.grid.Grid.onMouseDown(Grid.java:6 708)
at org.eclipse.nebula.widgets.grid.Grid.access$6(Grid.java:6526 )
at org.eclipse.nebula.widgets.grid.Grid$10.mouseDown(Grid.java: 6402)

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


Current Time: Thu Apr 25 05:11:52 GMT 2024

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

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

Back to the top