Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320520

Summary: IllegalArgumentException thrown in Red Hat Enterprise 5.3 after switching tabs in a FormEditor then expanding a Section in an RCP Application
Product: [Eclipse Project] Platform Reporter: Joshua <jbelanich>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, ericwill, kennyp, pinnamur
Version: 3.5Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Project that reproduces the bug
none
Stack trace for exception none

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.