Eclise + TFS (TEE SP1) regular crash
-
29 มิถุนายน 2555 7:58
Hello everyone!
Our Linux developers are complaining about the following issue. The issue occures when they launch Eclipse. What may be the problem?
Thank you very much in advance!
SESSION 2012-06-29 11:31:00.461
-----------------------------------------------
eclipse.buildId=I20120531-1500
java.version=1.6.0_33
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=ru_RU Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os linux -ws gtk -arch x86 -product org.eclipse.epp.package.cpp.product
!ENTRY org.eclipse.core.resources 2 10035 2012-06-29 11:31:03.023 !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.osgi 4 0 2012-06-29 11:31:33.266 !MESSAGE Application error !STACK 1
org.eclipse.swt.SWTException: Failed to execute runnable
(java.lang.NullPointerException)
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
at
org.eclipse.swt.widgets.Display.setSynchronizer(Display.java:3939)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.access$7(Workbench.java:2386)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:583)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Caused by: java.lang.NullPointerException
at
org.eclipse.ui.internal.WorkbenchPlugin.getSharedImages(WorkbenchPlugin.java:648)
at
org.eclipse.ui.internal.Workbench.getSharedImages(Workbench.java:1315)
at
org.eclipse.ui.plugin.AbstractUIPlugin.imageDescriptorFromPlugin(AbstractUIPlugin.java:670)
at
com.microsoft.tfs.client.common.ui.framework.image.ImageHelper.getImageDescriptor(ImageHelper.java:190)
at
com.microsoft.tfs.client.common.ui.framework.image.ImageHelper.getImageDescriptor(ImageHelper.java:153)
at
com.microsoft.tfs.client.common.ui.console.TFSConsole.<init>(TFSConsole.java:41)
at
com.microsoft.tfs.client.common.ui.TFSCommonUIClientPlugin.createConsole(TFSCommonUIClientPlugin.java:142)
at
com.microsoft.tfs.client.common.ui.TFSCommonUIClientPlugin.access$000(TFSCommonUIClientPlugin.java:30)
at
com.microsoft.tfs.client.common.ui.TFSCommonUIClientPlugin$1$1.run(TFSCommonUIClientPlugin.java:126)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
... 21 more
!ENTRY org.eclipse.core.jobs 2 2 2012-06-29 11:31:34.723 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown:
com.microsoft.tfs.client.eclipse.TFSEclipseClientPlugin$1
!ENTRY org.eclipse.core.jobs 2 2 2012-06-29 11:31:34.723 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown:
com.microsoft.tfs.client.eclipse.TFSRepositoryProvider$1
!ENTRY org.eclipse.core.jobs 2 2 2012-06-29 11:31:34.723 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown:
org.eclipse.core.internal.refresh.RefreshJob
- แก้ไขโดย Martin WoodwardMicrosoft, Owner 2 กรกฎาคม 2555 22:22 Tidy up of title
ตอบทั้งหมด
-
29 มิถุนายน 2555 21:20ผู้ดูแล
It looks like Eclipse is starting up in an odd state - such that the UI is not fully-formed when our plugin starts. I'm going to continue to investigate the reasons behind this to try to avoid future errors, but it appears that it may occur when Eclipse crashes or is forcefully terminated (eg, kill -9).
Does running "eclipse --clean" help?
- เสนอเป็นคำตอบโดย Martin WoodwardMicrosoft, Owner 2 กรกฎาคม 2555 22:23
-
11 กรกฎาคม 2555 15:23
Hello,
I have the same problem as Vladimir using Eclipse Juno and TEE SP1.
I cannot reopen Eclipse in MyWorkSpace and --clean doesn't help.
-
27 กรกฎาคม 2555 18:33Me too - same version of Eclipse and TEE, same exact stack trace. Eclipse "clean" option didn't work. I had to go one step further than the "clean" option. There is a batch script posted in a conversation here which cleans up much of the cached metadata in Eclipse. I got this script, edited it to point to my Eclipse and workspace directories, and ran it. This solved the problem, but I had to re-add my projects into the workspace. Better than a clean install of Eclipse and all plugins though.
-
1 สิงหาคม 2555 13:42ผู้ดูแล
Thanks everybody for reporting this issue. This workaround (while painful) should work for you for now. We believe we have isolated this problem and that we have a fix for the upcoming Team Explorer Everywhere 2012 release. Please let me know if this does not fix the problem once this release is available.
Thanks again-
-ed
- เสนอเป็นคำตอบโดย Edward A ThomsonMicrosoft, Moderator 1 สิงหาคม 2555 13:42
- ทำเครื่องหมายเป็นคำตอบโดย Edward A ThomsonMicrosoft, Moderator 17 ตุลาคม 2555 16:48
-
10 สิงหาคม 2555 9:01
The simplest workaround I use (as this problem is not only TFS eclipse plug-in related) :
remove <workspace>/.metadata/.plugins/org.eclipse.core.resources/.snap
Then (preferably) restart eclipse with -clean
I've had this problem occur once or twice with Eclipse Helios and Juno, and the above workaround quickly sorts out the issue.
References :
http://tweakux.wikkii.com/wiki/Eclipse
http://forum.springsource.org/showthread.php?123191-STS-crash-org-eclipse-swt-SWTException-Invalid-thread-access
Cheers,
M- เสนอเป็นคำตอบโดย M Sobremonte 10 สิงหาคม 2555 9:03
-
2 ตุลาคม 2555 12:49
Had this problem after a power outage and this workaround solved the problem.
Thanks.
-
2 ตุลาคม 2555 14:15ผู้ดูแลThanks for the note. Out of curiosity, are you using TFS plug-in for Eclipse 2010 or 2012?