This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 297878 - [e3.6] NoSuchMethodError in breakpoints view
Summary: [e3.6] NoSuchMethodError in breakpoints view
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P2 major (vote)
Target Milestone: 3.3.2   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 299017 299165 300529 301908 303362 318659 332231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-15 12:52 EST by Darin Wright CLA
Modified: 2011-04-05 16:57 EDT (History)
12 users (show)

See Also:


Attachments
disable focusing for breakpoints (2.55 KB, patch)
2010-01-08 22:52 EST, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (1.24 KB, application/octet-stream)
2010-01-08 22:52 EST, Steffen Pingel CLA
no flags Details
restores focusing using API (4.17 KB, patch)
2010-01-26 12:26 EST, Steffen Pingel CLA
no flags Details | Diff
mylyn/context/zip (17.19 KB, application/octet-stream)
2010-01-26 12:26 EST, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2009-12-15 12:52:17 EST
I found this trace in my target workspace .log file. Looks like Mylyn has intenral dependencies on debug that are changing in 3.6 due to bug 238956. Note that the breakpoints view work is not complete, but is now in HEAD.

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$8.run(Workbench.java:728)
    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:726)
    at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:866)
    at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:856)
    at org.eclipse.ui.internal.Workbench$23.run(Workbench.java:1100)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.Workbench.close(Workbench.java:1098)
    at org.eclipse.ui.internal.Workbench.close(Workbench.java:1070)
    at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:720)
    at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:699)
    at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:815)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:813)
    at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
    at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:92)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059)
    at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
    at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1661)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3954)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1594)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2032)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4678)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2432)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:493)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4043)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1594)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2032)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4678)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2432)
    at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:493)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:4043)
    at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:348)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1594)
    at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2032)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:4678)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2437)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3522)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2407)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2371)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:367)
    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:611)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
Comment 1 Steffen Pingel CLA 2009-12-15 15:54:11 EST
Thanks Darin. I'll look into that.
Comment 2 Curtis Windatt CLA 2010-01-06 13:01:07 EST
Bumping up the importance.  I use mylyn regularly and hadn't had any problems until today.  However, now the error is actually preventing shut down of Eclipse.  Every time the workbench tries to shut down (restart, close, exit) the error is hit.
Comment 3 Tomasz Zarna CLA 2010-01-08 10:12:19 EST
*** Bug 299017 has been marked as a duplicate of this bug. ***
Comment 4 Steffen Pingel CLA 2010-01-08 17:18:42 EST
*** Bug 299165 has been marked as a duplicate of this bug. ***
Comment 5 Steffen Pingel CLA 2010-01-08 22:52:11 EST
Created attachment 155644 [details]
disable focusing for breakpoints
Comment 6 Steffen Pingel CLA 2010-01-08 22:52:16 EST
Created attachment 155645 [details]
mylyn/context/zip
Comment 7 Steffen Pingel CLA 2010-01-09 00:05:29 EST
I have temporarily disabled focusing for the break points view until we have a proper fix that works for all supported Eclipse versions. The build is now available from the Mylyn weekly site and should be available from the Helios staging site soon (once the build completes).
Comment 8 Steffen Pingel CLA 2010-01-24 19:49:37 EST
*** Bug 300529 has been marked as a duplicate of this bug. ***
Comment 9 Steffen Pingel CLA 2010-01-26 12:26:44 EST
Created attachment 157300 [details]
restores focusing using API
Comment 10 Steffen Pingel CLA 2010-01-26 12:26:48 EST
Created attachment 157301 [details]
mylyn/context/zip
Comment 11 Steffen Pingel CLA 2010-01-26 12:27:25 EST
Committed fix to head.
Comment 12 Steffen Pingel CLA 2010-02-04 21:46:44 EST
*** Bug 301908 has been marked as a duplicate of this bug. ***
Comment 13 Darin Wright CLA 2010-02-19 14:58:07 EST
*** Bug 303362 has been marked as a duplicate of this bug. ***
Comment 14 Torsten Krah CLA 2010-07-02 11:11:04 EDT
Using Helios i get this again:


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:903)
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:901)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1041)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1031)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1275)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1273)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1245)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:731)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:710)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:826)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:824)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
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.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:616)
at org.eclipse.swt.widgets.Shell.gtk_delete_event(Shell.java:1164)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1735)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4794)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4372)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8163)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1239)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2224)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3169)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
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:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
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)
Comment 15 Steffen Pingel CLA 2010-07-02 11:59:24 EDT
Torsten, please update to the latest Mylyn release.
Comment 16 Steffen Pingel CLA 2010-07-02 14:31:10 EDT
*** Bug 318659 has been marked as a duplicate of this bug. ***
Comment 17 Loïc CLA 2010-09-08 04:20:39 EDT
Good morning Steffen,

Could you please give me the version number for mylyn, witch solve this problem.

Thank you
Comment 18 Steffen Pingel CLA 2010-09-08 04:42:12 EDT
You can generally refer to the target milestone field. It was fixed in Mylyn 3.3.2.
Comment 19 Steffen Pingel CLA 2011-04-05 16:57:39 EDT
*** Bug 332231 has been marked as a duplicate of this bug. ***