Menu

#4 NoSuchMethodError wih eclipse 3.6

open
nobody
None
5
2013-07-21
2010-07-14
No

Hey Ilja

in current 3.6 eclipse the follling exeption is thron:

java.lang.NoSuchMethodError: org.eclipse.jdt.internal.junit.ui.JUnitPlugin.getModel()Lorg/eclipse/jdt/internal/junit/model/JUnitModel;
at net.sf.erat.popup.actions.RunAllTestsAction.clearHistory(RunAllTestsAction.java:62)
at net.sf.erat.popup.actions.RunAllTestsAction.run(RunAllTestsAction.java:42)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
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:3552)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3171)
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: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)

Discussion

  • Andreas Bartels

    Andreas Bartels - 2010-07-14

    Patch to fix e-rat for 3.6

     
  • Anonymous

    Anonymous - 2012-07-25

    +1

    I had this problem, your patch fixes it, thank you.

    This should be put into trunk and a new jar released (even if it means having a separate jar for 3.6 onwards).

     
  • Gernot Belger

    Gernot Belger - 2013-07-20

    Hi Ilya,

    The same problem still occurs with eclipse 3.8.2.

    Will there be a new release some day?

    Kind regards
    Gernot

     
  • Ilja Preuß

    Ilja Preuß - 2013-07-21

    Hi all,

    I'm not working on this plugin anymore. I would be happy to pass responsibility over to someone else.

     

Log in to post a comment.