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

Bug 360167

Summary: Eclipse thrashing + buggy menu behavior + LocationAwareLogger exceptions
Product: [Technology] Jubula Reporter: James Edwards <james>
Component: UIAssignee: Project Inbox <jubula.ui-inbox>
Status: CLOSED DUPLICATE QA Contact: Oliver Goetz <Oliver.Goetz>
Severity: normal    
Priority: P3 CC: remy.suen, zeb.ford-reitz
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
error log none

Description James Edwards CLA 2011-10-06 16:26:48 EDT
Build Identifier: 20110615-0604

Intermittently, something goes wrong in Eclipse the following problems start occurring until Eclipse is shut down:

1. Eclipse consumes 100% of one CPU core and (from the sound of it) is thrashing the hard disk
2. Submenus won't come up anywhere, e.g. File>Switch Workspace submenu or (right click on java class file)>Refactor submenu)
3. Main menu buttons start behaving like toggle buttons, and e.g. moving the mouse over the Edit menu item while the File menu is open doesn't open the Edit menu.
4. The following is getting logged repeatedly at < 1ms frequency:

!ENTRY org.eclipse.ui 4 0 2011-10-06 15:16:18.209
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V)
	at org.eclipse.swt.SWT.error(SWT.java:4282)
	at org.eclipse.swt.SWT.error(SWT.java:4197)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	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:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
	at org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocationAwareLog.java:225)
	at org.eclipse.jubula.client.ui.Plugin$5.run(Plugin.java:1094)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	... 22 more

Reproducible: Sometimes

Steps to Reproduce:
I can't tell what causes it.  It seems to happen randomly, but possibly triggered by building.  It usually happens within several hours after starting Eclipse.
Comment 1 James Edwards CLA 2011-10-06 16:27:46 EDT
Created attachment 204720 [details]
error log
Comment 2 Remy Suen CLA 2011-10-06 17:34:26 EDT
See 351121.
Comment 3 Zeb Ford-Reitz CLA 2011-10-07 04:12:03 EDT
I'm also inclined to think that this is related to bug_351121. Although the Version for the bug is "unspecified", I suspect (from the attached log) that you are using Jubula 1.0.0. Please try the latest released version of Jubula (1.1.0; Indigo SR1) and reopen this bug if you continue to experience the problem.

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