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

Bug 332231

Summary: Can't shut down eclipse after using Junit or debugger
Product: z_Archived Reporter: Heath <heath>
Component: MylynAssignee: Mylyn Inbox <mylyn-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: remy.suen
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Heath CLA 2010-12-09 13:22:18 EST
Build Identifier: 20100917-0705

After using the debugger or junit test, when I try to close eclipse, it refuses and gives me the following error.  I am forced to xkill eclipse to make it go away as the error repeats ad-infinitum when trying to close or restart using the UI.

An error has occurred. See error log for more details.
org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsView.getCheckboxViewer()Lorg/eclipse/jface/viewers/CheckboxTreeViewer;

Reproducible: Always

Steps to Reproduce:
1. Use debugger and/or junit run of a specific test in the system
2. File > Exit or File > Restart
3. Error dialog
4. Click ok
5. Repeat stesp 2-4 ad-infinitum
Comment 1 Heath CLA 2010-12-09 13:25:20 EST
From the Error log:

Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".

java.lang.NoSuchMethodError: org.eclipse.debug.internal.ui.views.breakpoints.BreakpointsView.getCheckboxViewer()Lorg/eclipse/jface/viewers/CheckboxTreeViewer;
at org.eclipse.mylyn.internal.java.ui.actions.FocusBreakpointsViewAction.getViewers(FocusBreakpointsViewAction.java:38)
at org.eclipse.mylyn.context.ui.AbstractFocusViewAction$2.preShutdown(AbstractFocusViewAction.java:163)
at org.eclipse.ui.internal.Workbench$10.run(Workbench.java:904)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.ui.internal.Workbench.firePreShutdown(Workbench.java:902)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1042)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1032)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1276)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1274)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1246)
at org.eclipse.ui.internal.handlers.QuitHandler.execute(QuitHandler.java:41)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
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:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)

Session Data:
eclipse.buildId=M20100909-0800
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

This is a continuation of log file /home/heath.chiavettone/workspace/.metadata/.bak_0.log
Created Time: 2010-12-08 18:07:12.505
Comment 2 Remy Suen CLA 2010-12-09 14:09:02 EST
Looks like a duplicate of bug 297878.
Comment 3 Steffen Pingel CLA 2011-04-05 16:57:39 EDT
Thanks Remy.

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