facebook

JSP debug gets NoSuchMethodError-JDIStackFrame.getLocation()

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #204542 Reply

    doogee
    Member

    Configuration:
    – WinXP Pro
    – Eclipse 2.1.2
    – JDK 1.4.2_03
    – Tomcat 5.0.18
    – MyEclipse 2.7 GA

    I’ve been unsuccessful in debugging JSPs with above configuration, although I was able to get it working on my Fedora box, with same versions of Eclipse, MyEclipse, JDK, etc. Specifically, I can set a breakpoint in the JSP, go to the browser and hit it, see Eclipse switch to Debug Perspective, but I get the following stacktrace in the Eclipse error log:

    java.lang.NoSuchMethodError: org.eclipse.jdt.internal.debug.core.model.JDIStackFrame.getLocation()Lcom/sun/jdi/Location;
    at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourceElements(Unknown Source)
    at com.genuitec.eclipse.wdt.jsp.debug.JSPSourceLocator.getSourceElement(Unknown Source)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.lookupEditorInput(LaunchView.java:591)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.openEditorForStackFrame(LaunchView.java:642)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.showEditorForCurrentSelection(LaunchView.java:570)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.perspectiveActivated(LaunchView.java:473)
    at org.eclipse.ui.internal.PerspectiveListenerListOld$1.run(PerspectiveListenerListOld.java:44)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.ui.internal.PerspectiveListenerListOld.firePerspectiveActivated(PerspectiveListenerListOld.java:42)
    at org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveActivated(WorkbenchWindow.java:865)
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2582)
    at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:624)
    at org.eclipse.ui.internal.WorkbenchPage.access$8(WorkbenchPage.java:609)
    at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.java:2705)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:2703)
    at org.eclipse.ui.internal.Workbench.showPerspective(Workbench.java:1536)
    at org.eclipse.debug.internal.ui.launchConfigurations.PerspectiveManager$1.run(PerspectiveManager.java:117)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
    <remainder_clipped>

    Any ideas anyone?

    #204550

    Scott Anderson
    Participant

    This is an installation problem, probably caused by updating Eclipse (not MyEclipse) through
    the install/update perspective. I’d suggest that you uninstall and reinstall MyEclipse
    to resolve the issue.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP debug gets NoSuchMethodError-JDIStackFrame.getLocation()

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