Bug 218681 - Preferences Dialog crashing
Summary: Preferences Dialog crashing
Status: RESOLVED DUPLICATE of bug 142965
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-02-12 14:27 EST by Jean-Francois Lecomte CLA
Modified: 2008-02-14 14:29 EST (History)
3 users (show)

See Also:


Attachments
Bug Screen Shot #1 (99.71 KB, image/jpeg)
2008-02-12 14:27 EST, Jean-Francois Lecomte CLA
no flags Details
Bug Screen Shot #2 (99.69 KB, image/gif)
2008-02-12 14:28 EST, Jean-Francois Lecomte CLA
no flags Details
Bug Screen Shot #3 (114.47 KB, image/jpeg)
2008-02-12 14:28 EST, Jean-Francois Lecomte CLA
no flags Details
Eclipse Templates Window Bug Log (31.09 KB, text/plain)
2008-02-12 14:29 EST, Jean-Francois Lecomte CLA
no flags Details
Another layout problem (related???) (55.62 KB, image/jpeg)
2008-02-12 14:30 EST, Jean-Francois Lecomte CLA
no flags Details
Another layout problem (related???) (75.23 KB, image/jpeg)
2008-02-12 14:30 EST, Jean-Francois Lecomte CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Francois Lecomte CLA 2008-02-12 14:27:37 EST
Created attachment 89535 [details]
Bug Screen Shot #1

Build ID: M20071023-1652

Steps To Reproduce:
1. Start eclipse
2. Create a new workspace when prompted
3. Close the "Welcome" tab.
4. Open the "Error Log" view
5. Go to Window > Preferences > Java > Editor > Templates  (and make sure you never resize the Preferences dialog, nor click on another category than "Templates". The problem tends not to appear when the dialog is resized...)

Default templates should be visible in the table, but the table appears empty. (See screen shot #1)
In the Error Log, we can see that 2 errors were added. (see error log as attachment)

6. Click on "OK"

The dialog doesn't close. An error message appears. (See screen shot #2)

7. Click on "OK" (on the error dialog)

The "OK" button in the Preferences dialog is disabled. The tree is broken (See screen shot #3). 
The "Cancel" and "X" buttons won't do anything. The application is dead. Need to kill the process...


More information:
Tested with a clean install (immediately after unzipping eclipse-SDK-3.3.1.1-win32.zip)

The bug doesn't always reproduce when the Preferences dialog is resized before going to "Templates"...

Frequently experience layout problems with eclipse's dialogs (see other screen shots). Does this can be linked? Usually resizing/re-opening dialogs eventually fixes the problem without crashing the application.

Also tested with modified "eclipse.ini" to specify the VM like this:
-vm
C:\Program Files\Java\j2re1.4.2_16\bin\javaw.exe
then like this:
-vm
C:\Program Files\Java\jre1.6.0_03\bin\javaw.exe
The result is always the same...
Comment 1 Jean-Francois Lecomte CLA 2008-02-12 14:28:21 EST
Created attachment 89537 [details]
Bug Screen Shot #2
Comment 2 Jean-Francois Lecomte CLA 2008-02-12 14:28:51 EST
Created attachment 89538 [details]
Bug Screen Shot #3
Comment 3 Jean-Francois Lecomte CLA 2008-02-12 14:29:36 EST
Created attachment 89540 [details]
Eclipse Templates Window Bug Log
Comment 4 Jean-Francois Lecomte CLA 2008-02-12 14:30:28 EST
Created attachment 89541 [details]
Another layout problem (related???)
Comment 5 Jean-Francois Lecomte CLA 2008-02-12 14:30:53 EST
Created attachment 89542 [details]
Another layout problem (related???)
Comment 6 Steve Northover CLA 2008-02-12 16:10:04 EST
Looks like the Windows WM_SIZE limitation again.
Comment 7 Grant Gayed CLA 2008-02-14 13:40:39 EST
The first problems could be a manifestation of bug 142965, and the last problems look the same as bug 142688 (which could be another case of bug 142965).

Bug 142965 was fixed in the 3.4 stream.  Can you try a recent milestone build like http://download.eclipse.org/eclipse/downloads/drops/S-3.4M5-200802071530/index.php and follow up here whether this fixes the problem(s) for you or not?
Comment 8 Grant Gayed CLA 2008-02-14 14:29:51 EST
To update, DN confirmed that he used to see these problems on his win2000 as well but they are now both fixed, so closing report as a duplicate of bug 142965.


*** This bug has been marked as a duplicate of bug 142965 ***