Bug 151882 - [Preferences] Windows -> Preferences hangs and I must force Eclipse closure
Summary: [Preferences] Windows -> Preferences hangs and I must force Eclipse closure
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Oleg Besedin CLA
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2006-07-26 13:26 EDT by Kevin Crocker CLA
Modified: 2009-07-30 14:59 EDT (History)
3 users (show)

See Also:


Attachments
.metadata/.log (149.67 KB, text/plain)
2006-07-27 22:27 EDT, Kevin Crocker CLA
no flags Details
new version of .log file (303.32 KB, text/plain)
2006-07-28 21:28 EDT, Kevin Crocker CLA
no flags Details
Manage Configuration text (366.25 KB, text/plain)
2006-07-28 21:30 EDT, Kevin Crocker CLA
no flags Details
install history as html (118.97 KB, text/html)
2006-07-28 21:31 EDT, Kevin Crocker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Crocker CLA 2006-07-26 13:26:59 EDT
I have installed the "Complete" Yoxos distribution (I know this is probably a big mistake - but I wanted to see if they do what they claim to do before I shell out the $). None-the-less, the following problem occured in a pure
Callisto download directly from Eclipse.org as well.

Anyway, almost every single time I attempt to work with the Preferences
the preferences UI stops responding (the GUI interface for Eclipse becomes
almost totally non-responsive  -the only thing I can do is move the window
around leaving a residual image trace - much like the old Windows 3.1 Solitaire
Game when you won when the cards would bounce all over the window - sorry, sometimes memory gets in the way of usefullness).

The only thing I can do is quit Eclipse by hitting the "X" button (or I can do the same thing on the Preferences Window). But it doesn't matter which I do, Eclipse terminates abruptly. I do get a Pop up that tells me Eclipse ended
abnormally but I can't copy and paste the info. I'll try to write it down.

Is it possible for the Eclipse UI to become non-responsive when a subcomponent
times out or has a UI problem?

I can attach my .log file if it would help. Most of the errors are not relevant to Eclipse itself.

eclipse.buildId=M20060629-1905
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -clean

A workspace crash was detected. The previous session did not exit normally.

There is no Exception Report available.
Comment 1 Kevin Crocker CLA 2006-07-26 13:44:10 EDT
Ok. It just happened again. I was in Windows -> Preferences -> Web and XML
and I clicked on JSF Libraries. The UI became unresponsive and I had to hit the
"X" and the following popped up in a Error Window.

JVM terminated. Exit code=1
/usr/bin/java
-Xms256m
-Xmx512m
-jar /var/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /var/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 2d98010
-clean
-vm /usr/bin/java
-vmargs
-Xms256m
-Xmx512m
-jar /var/eclipse/startup.jar 
Comment 2 John Arthorne CLA 2006-07-27 16:36:51 EDT
Please provide a stack trace when it is in the hung state. See this doc for instructions:

http://wiki.eclipse.org/index.php/How_to_report_a_deadlock
Comment 3 Kevin Crocker CLA 2006-07-27 22:27:45 EDT
Created attachment 46927 [details]
.metadata/.log
Comment 4 Kevin Crocker CLA 2006-07-27 22:29:24 EDT
Hi John,

I have attached the .metadata/.log file

I have restarted Eclipse with -consolelog -debug and the next time it hangs I'll capture whatever comes out and post.
Comment 5 Kevin Crocker CLA 2006-07-27 22:44:37 EDT
Ok, here is all I get when I have to "force quit" eclipse. There is no additional .log info, there is not core dump, kill -3 pid didn't kill it.

JVM terminated. Exit code=1
/usr/bin/java
-Xms256m
-Xmx512m
-jar /var/eclipse/startup.jar
-os linux
-ws gtk
-arch x86
-launcher /var/eclipse/eclipse
-name Eclipse
-showsplash 600
-exitdata 35e8017
-clean
-consolelog
-debug
-clean
-vm /usr/bin/java
-vmargs
-Xms256m
-Xmx512m
-jar /var/eclipse/startup.jar 
Comment 6 Kevin Crocker CLA 2006-07-28 09:22:22 EDT
Hi John,

Is it possible that the following is part of the UI freezing. After going through the .log with a fine tooth comb I finally noticed this:

!ENTRY org.eclipse.ui 4 4 2006-07-27 12:50:35.794
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-07-27 12:50:35.795
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3374)
	at org.eclipse.swt.SWT.error(SWT.java:3297)
	at org.eclipse.swt.SWT.error(SWT.java:3268)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:434)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:372)
	at org.eclipse.swt.widgets.Tree.getSelection(Tree.java:1548)
	at org.eclipse.jface.viewers.TreeViewer.getSelection(TreeViewer.java:471)
	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:686)
	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2233)
	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2577)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1386)
	at com.genuitec.eclipse.easie.core.ServerLaunchListener$1.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3141)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2843)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2006-07-27 12:50:46.730
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-07-27 12:50:46.731
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3374)
	at org.eclipse.swt.SWT.error(SWT.java:3297)
	at org.eclipse.swt.SWT.error(SWT.java:3268)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:434)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:372)
	at org.eclipse.swt.widgets.Tree.getSelection(Tree.java:1548)
	at org.eclipse.jface.viewers.TreeViewer.getSelection(TreeViewer.java:471)
	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:686)
	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2233)
	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2577)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1386)
	at com.genuitec.eclipse.easie.core.ServerLaunchListener$1.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3141)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2843)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2006-07-27 12:51:17.467
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2006-07-27 12:51:17.468
!MESSAGE Widget is disposed
!STACK 0
org.eclipse.swt.SWTException: Widget is disposed
	at org.eclipse.swt.SWT.error(SWT.java:3374)
	at org.eclipse.swt.SWT.error(SWT.java:3297)
	at org.eclipse.swt.SWT.error(SWT.java:3268)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:434)
	at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:372)
	at org.eclipse.swt.widgets.Tree.getSelection(Tree.java:1548)
	at org.eclipse.jface.viewers.TreeViewer.getSelection(TreeViewer.java:471)
	at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:686)
	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2233)
	at org.eclipse.jface.viewers.AbstractTreeViewer.setSelectionToWidget(AbstractTreeViewer.java:2577)
	at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1330)
	at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1386)
	at com.genuitec.eclipse.easie.core.ServerLaunchListener$1.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3141)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2843)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Comment 7 Gunnar Wagenknecht CLA 2006-07-28 10:35:48 EDT
(In reply to comment #6)
> Is it possible that the following is part of the UI freezing. After going
> through the .log with a fine tooth comb I finally noticed this:

That doesn't look like a deadlock. However, it looks like a problem caused by 3rd party software.

com.genuitec.eclipse.easie.core.ServerLaunchListener

I suggest opening a support case with them about that issue.
Comment 8 Paul Webster CLA 2006-07-28 11:01:08 EDT
1) have you opened a report with the provider of com.genuitec.eclipse.easie.core.ServerLaunchListener?

2) If you go to Preferences>General>Editors or Appearance, or Java>Compiler or Code assist, do you have the preference freezing the UI problem?

Who is providing the Web and XML preferences?  Is that the genuitec plugin?  Or maybe WTP?

PW
Comment 9 Kevin Crocker CLA 2006-07-28 12:42:52 EDT
I have opened a report with Genuitec. They claim that the error reports
about all the MyEclipse things are nothing to worry about.
http://www.myeclipseide.com/index.php?name=PNphpBB2&file=viewtopic&p=62241#62241

I've also sent off this same set of information to Yoxos (am I being a twit for bugging so many people?)

> 2) If you go to Preferences>General>Editors or Appearance, or Java>Compiler or
> Code assist, do you have the preference freezing the UI problem?

Yes, I do get the preference freezing in these places, but Eclipse UI freezes
in other places too. Sometimes just double clicking on files to open them. Sometimes, just doing a manual open with the default Eclipse/UI/WTP editor

>Who is providing the Web and XML preferences?  Is that the genuitec plugin?  Or
>maybe WTP?"

How would I be able to figure this out? Based on the install instructions at MyEclipse they tell me to turn off several capabilities that come with Eclipse

http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-13215.html
Comment 10 Paul Webster CLA 2006-07-28 13:08:20 EDT
(In reply to comment #9)
> > 2) If you go to Preferences>General>Editors or Appearance, or Java>Compiler or
> > Code assist, do you have the preference freezing the UI problem?
> 
> Yes, I do get the preference freezing in these places, but Eclipse UI freezes
> in other places too. Sometimes just double clicking on files to open them.
> Sometimes, just doing a manual open with the default Eclipse/UI/WTP editor

If you download the Linux-GTK version from www.eclipse.org (and expand it in a separate directory) do you encounter the problem when running our version of eclipse?

What version of GTK+ do you have installed? rpm -q gtk2

Grant, have we seen any linux-gtk freezing recently?
PW
Comment 11 Kevin Crocker CLA 2006-07-28 13:24:59 EDT
gtk2-2.8.20-1


I'll download the linux-gtk version from Eclipse and test and post here.
Comment 12 Kevin Crocker CLA 2006-07-28 13:26:46 EDT
downloading - I'll try it without MyEclipse and then with it - that way we at least have some sort of base, OK?
Comment 13 Kevin Crocker CLA 2006-07-28 17:53:13 EDT
downloaded, installed into new dir with new project dir - no contamination (I hope)

Launched Eclipse - Automatic upgradde - installed all upgrades

no apparent freezes with UI, however, the following errors did show up in .metadata/.log

I'm going to run this for a while to see if I get any freezes

!SESSION 2006-07-28 15:23:26.453 -----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -clean -consolelog -debug

!ENTRY org.eclipse.update.core 4 0 2006-07-28 15:31:06.150
!MESSAGE Digest could not be parsed:Unable to retrieve remote reference "http://download.eclipse.org/updates/3.2/digest.zip". [Server returned HTTP response code: "404 Not Found" for URL: http://download.eclipse.org/updates/3.2/digest.zip.]
!SESSION 2006-07-28 16:13:53.771 -----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.5.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86 -clean -consolelog -debug

!ENTRY org.eclipse.osgi 2 1 2006-07-28 16:20:53.291
!MESSAGE NLS unused message: LABEL_BUTTON_STOP_WSDL_VALIDATION in: org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUI

!ENTRY org.eclipse.osgi 2 1 2006-07-28 16:20:53.292
!MESSAGE NLS unused message: TOOLTIP_STOP_VALIDATION_BUTTON in: org.eclipse.jst.ws.internal.consumption.ui.ConsumptionUI
Comment 14 Kevin Crocker CLA 2006-07-28 21:25:16 EDT
Here is a new summary (and I'm going to upload .metadata/.log and Confugration detail and History.html)

Installed clean Eclipse linux-gtk. Started. Autoupdate kicked in as noted in previous message. Installed all updates listed. Previously noted errors in .log file.

Ran for a while, no freezes in UI.

Closed. Opened. Ran for a while. No freezes in UI.

Install MyEclipseIDE. Lots of warnings, errors in .log file but no UI freezes or lack of functionality. Followed MyEclipse directions as previously outlined.

Updated existing plugins ( Find and Install -> Currently Installed )
checked everything that showed up [On a side note, several sites had network
errors or misconfigurations - this is directly from the Eclipse plugins]

errors for update sites (Eclipse not MyEclipse)
checked Manage Configuration - no disabled plugins

Ran for a while. No freezes in UI.

Closed. Opened. Ran for a while, no freezes in UI.

Updated again. (Find and Install -> Search for new items )
checked everything to install (251 items, only needed 128 because the "install latest version" was checked, including MyEclipse Mattisse

after download and continueing - immediately got a pop up saying there was a version conflict between J2EE in eclipse directory and in MyEclipse directory - the MyEclipse version ( 20060706...) was higher than the eclipse one (200606...)

I clicked continue anyway.

isntallation finished, restarted, everything appears fine. Ran for a while, no UI freezes.  EVerything seems to be working fine.

However, as you can see from the .log, there are a lot of things that appear as errors both in the Eclipse environment as well as MyEclipse. The MyEclipse people tell me that all their errors aren't really errors and I shouldn't worry about them.

On a completely weird side note - when I went to Manage Configuration this time,two to the entries had misconfigured information. I will try to isolate this for you but since I can't cut and paste from the Manage Configuration information I'm going to have to type - I probably am going to make mistakes with those version numbers

WST Project SDK 1.5.0.v200606092300-2YKsYkftnYYU8Om
->WST Common Plug-in Developer Resources
-->WST Common UI Feature Source
--->%FeatureName
->WST Server Plug-In Developer Resources
-->Source for WST Server UI Features
--->%featureName


Summary: it is appearing that MyEclipse is not the culprit for the UI freezes - now I'm going to start adding in some of the other plug-ins from the Yoxos distribution one at a time.
Comment 15 Kevin Crocker CLA 2006-07-28 21:28:41 EDT
Created attachment 46997 [details]
new version of .log file

lots of errors. Shows sequence through Eclipse/Update/Test/MyEclipse/Update/Install New/Test
Comment 16 Kevin Crocker CLA 2006-07-28 21:30:29 EDT
Created attachment 46998 [details]
Manage Configuration text

a copy of the complete manage configuration after the Eclipse/Update/Test/MyEclipse/Update/Install New/Test
Comment 17 Kevin Crocker CLA 2006-07-28 21:31:29 EDT
Created attachment 46999 [details]
install history as html
Comment 18 Tod Creasey CLA 2007-06-13 16:23:01 EDT
Is this still an issue in 3.3
Comment 19 Kevin Crocker CLA 2007-06-13 18:48:36 EDT
As far as I remember it is not an issue. I've now upgraded to Fedora 7
and have had to reinstall the entire Java system 

<start-stupid-side-rant>I hate how the FOSS
arena seems to want to force me to use their stupid Java crap - it would
be so nice if they would just let me use the Java from SUN 
</end-stupid-side-rant>

The last time I had Java running properly and eclipse installed it was working
just fine. Although, I'm not sure which version of Eclipse I have installed now
but it's probably 3.3
Comment 20 Susan McCourt CLA 2009-07-09 19:28:11 EDT
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Comment 21 Oleg Besedin CLA 2009-07-30 14:59:07 EDT
Unable to reproduce. Please reopen if this starts to occur again.