Community
Participate
Working Groups
We have a problem with the TabFolder from the RWT 1.2 RC5 release. This is the part of the stacktrace which is relevant. java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:2576) [org.eclipse.rap.rwt-1.2.0-RC5.jar:na] at org.eclipse.swt.SWT.error(SWT.java:2510) [org.eclipse.rap.rwt-1.2.0-RC5.jar:na] at org.eclipse.swt.SWT.error(SWT.java:2481) [org.eclipse.rap.rwt-1.2.0-RC5.jar:na] at org.eclipse.swt.internal.widgets.ItemHolder.getItem(ItemHolder.java:102) [org.eclipse.rap.rwt-1.2.0-RC5.jar:na] at org.eclipse.swt.custom.CTabFolder.getSelection(CTabFolder.java:393) [org.eclipse.rap.rwt-1.2.0-RC5.jar:na] at de.nmmn.iscontrol.rwt.ui.ViewPlaceholder.getActiveView(ViewPlaceholder.java:276) [ViewPlaceholder.class:na]
Markus, can you provide a snippet to reproduce the IAE?
Sorry but I cannot. I tried to reproduce this but failed. The stracktrace is from a bigger application we develop and I could not post it here. Could this bug occurr if the TabItems in the CTabFolder are disposed but the CTabFolder isn't? I could try to check this.
Markus, any news on this?
Not really, the bug does not happen that often in our application. And its not easy to do the required debugging in our live application anyway. Maybe we should close this for now and if I get some more input I will reopen it then.
Sounds good and helps us to keep the number of bugs down ;-)