facebook

NoSuchMethodError in debuggr UI after MyEclipse2.6.1 install

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #198368 Reply

    halverg
    Member

    operating system and version:
    –Mac OS X 10.2.6
    Eclipse version and build id:
    –Eclipse 2.1.0
    –Build id: 200306271545
    Was Eclipse freshly installed for MyEclipse?
    –no
    If not, was it upgraded to its current version using the update manager?
    –no
    Are any other external plugins installed?
    –no
    How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
    –7
    What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    –2.6.1
    What JDK version are you using to run Eclipse? (java -version)
    –java version “1.4.1_01”
    –Java(TM) 2 Runtime Environment, Standard Edition
    –(build 1.4.1_01-69.1)
    –Java HotSpot(TM) Client VM (build 1.4.1_01-24, mixed mode)

    What JDK version are you using to launch your application server?
    –same
    What steps did you take that resulted in the issue?
    –see below
    What application server are you using?
    –Tomcat 5.0.9 (not in use when the problem occurs)

    The problem:
    After installing MyEclipse 2.6.1, I have the following problem while debugging a stand-alone Java application.
    When paused in the debugger, I right-click a field and choose “inspect”. The “inspect” window does not open. The following stack trace is written to the log. This also occurs if I choose “watch” from the same contecxtual menu.

    If I uninstall MyEclipse, the problem disappears and the “inspect” command works.
    (By the way, I’m very impressed with MyEclipse so far.)

    !ENTRY org.eclipse.ui 4 4 Sep 08, 2003 21:20:15.71
    !MESSAGE Unhandled exception caught in event loop.
    Unhandled exception caught in event loop.
    Reason:
    !ENTRY org.eclipse.ui 4 0 Sep 08, 2003 21:20:15.77
    !MESSAGE java.lang.NoSuchMethodError
    !STACK 0
    java.lang.NoSuchMethodError
    at org.eclipse.jdt.internal.debug.eval.ast.engine.SourceBasedSourceGenerator.buildTypeBody(SourceBasedSourceGenerator.java:260)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.SourceBasedSourceGenerator.buildTypeDeclaration(SourceBasedSourceGenerator.java:401)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.SourceBasedSourceGenerator.endVisit(SourceBasedSourceGenerator.java:693)
    at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:163)
    at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:1353)
    at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:1423)
    at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:159)
    at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:1353)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.EvaluationSourceGenerator.createEvaluationSourceFromSource(EvaluationSourceGenerator.java:148)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.EvaluationSourceGenerator.getSource(EvaluationSourceGenerator.java:192)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledExpression(ASTEvaluationEngine.java:148)
    at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.evaluate(ASTEvaluationEngine.java:72)
    at org.eclipse.jdt.internal.debug.ui.actions.EvaluateAction.run(EvaluateAction.java:246)
    at org.eclipse.jdt.internal.debug.ui.actions.InspectAction.run(InspectAction.java:88)
    at org.eclipse.jdt.internal.debug.ui.actions.EvaluateAction.run(EvaluateAction.java:548)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
    at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
    at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1012)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2079)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1795)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    at java.lang.reflect.Method.invoke(Native Method)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
    at org.eclipse.core.launcher.Main.run(Main.java:747)
    at org.eclipse.core.launcher.Main.main(Main.java:583)
    at java.lang.reflect.Method.invoke(Native Method)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    java.lang.NoSuchMethodError[b][/b]

    #198380 Reply

    Scott Anderson
    Participant

    Halverg,

    First, thank you for posting all the information we requested in our guidelines. I believe your problem is caused by using JDK 1.4.1 to launch Eclipse. Neither Eclipse nor MyEclipse is tested on JDK 1.4.1 on the Mac and there are known issues with Eclipse in this configuration. To correct the issue, please use JDK 1.3.1 to launch Eclipse. You may use JDK 1.4.1 to launch your servers without a problem, just not Eclipse itself.

    –Scott
    MyEclipse Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NoSuchMethodError in debuggr UI after MyEclipse2.6.1 install

You must be logged in to post in the forum log in