java.lang.IllegalArgumentException: Index out of bounds [message #56482] |
Mon, 21 July 2008 14:02 |
Supreetha H R![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=supreetha.hr%40in.bosch.com) 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
|
|
|
Powered by
FUDForum. Page generated in 0.02990 seconds