Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320520 - IllegalArgumentException thrown in Red Hat Enterprise 5.3 after switching tabs in a FormEditor then expanding a Section in an RCP Application
Summary: IllegalArgumentException thrown in Red Hat Enterprise 5.3 after switching tab...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-07-21 11:22 EDT by Joshua CLA
Modified: 2018-08-30 14:49 EDT (History)
4 users (show)

See Also:


Attachments
Project that reproduces the bug (66.09 KB, application/x-zip-compressed)
2010-07-21 11:24 EDT, Joshua CLA
no flags Details
Stack trace for exception (3.02 KB, text/plain)
2010-07-21 14:57 EDT, Joshua CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua CLA 2010-07-21 11:22:59 EDT
Build Identifier: 20100218-1602

In Red Hat Enterprise 5.3 in a custom RCP application an IllegalArgumentException is thrown after opening a FileDialog, then opening a FormEditor with several pages that contain Section controls with SWT.TWISTIE style, switching tabs in the editor then switching back, then trying to open a Section.  Resizing the window at this point will also throw the exception.

Attached is a project that reproduces the bug.  Also attached is a stack track for the exception.

I've tested this in Windows, and multiple versions of linux including Ubuntu and  Fedora.  The code runs fine in all of those.  I suspect its related to gtk2.10 in Red Hat Enterprise 5.3.

Reproducible: Always

Steps to Reproduce:
1.Create an RCP project that lets you follow the following steps
2.Open a FileDialog, then close it
3.Open a FormEditor with more than one FormPage that contain Section controls with SWT.TWISTIE style.
4.Switch tabs, then back.
5.Try and resize the window or open one of the Sections.
Comment 1 Joshua CLA 2010-07-21 11:24:28 EDT
Created attachment 174868 [details]
Project that reproduces the bug
Comment 2 Felipe Heidrich CLA 2010-07-21 11:53:41 EDT
Do you know why the first exception happens (the one in the FileDialog)?
Comment 3 Joshua CLA 2010-07-21 14:57:17 EDT
Created attachment 174900 [details]
Stack trace for exception
Comment 4 Joshua CLA 2010-07-21 14:59:05 EDT
(In reply to comment #2)
> Do you know why the first exception happens (the one in the FileDialog)?

No exception is thrown in the FileDialog.  But you need to open the FileDialog to eventually cause the exception.  I posted the stack trace for the exception, hopefully it makes the situation a little more clear.
Comment 5 Eric Williams CLA 2018-08-30 14:49:08 EDT
GTK2.10 is ancient and no longer supported.