Bug 282692 - [CTabFolder] Index out of bounds
Summary: [CTabFolder] Index out of bounds
Status: RESOLVED WORKSFORME
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2009-07-07 11:00 EDT by Markus Wolf CLA
Modified: 2009-07-22 09:46 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Wolf CLA 2009-07-07 11:00:45 EDT
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]
Comment 1 Ivan Furnadjiev CLA 2009-07-07 12:24:32 EDT
Markus, can you provide a snippet to reproduce the IAE?
Comment 2 Markus Wolf CLA 2009-07-08 04:10:56 EDT
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.
Comment 3 Benjamin Muskalla CLA 2009-07-20 18:18:49 EDT
Markus, any news on this?
Comment 4 Markus Wolf CLA 2009-07-21 03:55:11 EDT
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.
Comment 5 Benjamin Muskalla CLA 2009-07-22 09:46:10 EDT
Sounds good and helps us to keep the number of bugs down ;-)