Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » java.lang.IllegalArgumentException: Index out of bounds
java.lang.IllegalArgumentException: Index out of bounds [message #56482] Mon, 21 July 2008 14:02
Supreetha H R is currently offline Supreetha H RFriend
Messages: 24
Registered: July 2009
Junior Member
Hello,

In our RCP application we are using GridTreeViewer in editor and the input
to this is the selection in the outline viewer. After i expand few parent
nodes in editor (i.e, in tree viewer) if i go to outline and select a node
(which is the input for the editor), grid tree viewer crashes with the
exceptiopn

java.lang.IllegalArgumentException: Index out of bounds
at org.eclipse.swt.SWT.error(SWT.java:3547)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.SWT.error(SWT.java:3452)
at org.eclipse.nebula.widgets.grid.Grid.getItem(Grid.java:1593)
at org.eclipse.nebula.widgets.grid.Grid.getSelection(Grid.java: 2102)
at
org.eclipse.nebula.jface.gridviewer.GridTreeViewer.getSelect ion(GridTreeViewer.java:163)
at
org.eclipse.nebula.jface.gridviewer.GridTreeViewer.setSelect ion(GridTreeViewer.java:221)
at
org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToW idget(AbstractTreeViewer.java:2381)
at
org.eclipse.jface.viewers.StructuredViewer.setSelectionToWid get(StructuredViewer.java:1685)
at
org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToW idget(AbstractTreeViewer.java:2780)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1375)
at
org.eclipse.jface.viewers.StructuredViewer.preservingSelecti on(StructuredViewer.java:1330)
at
org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(Ab stractTreeViewer.java:1432)
at
org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:251)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1606)

and this happens in my outline page's selection chenged method...where i
am swetting input to my current viewer...

I am not able to trace the problem. Can anyone help me???


Regards,
Supreetha
Previous Topic:ExtendedCellDialog
Next Topic:java.lang.IllegalArgumentException: Index out of bounds
Goto Forum:
  


Current Time: Fri Dec 19 13:47:48 GMT 2014

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

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