facebook

can not debug in EJBs

💡
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 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #211645 Reply

    david_2004
    Member

    I can set a breakpoint in the generated Java source file, and the debugger will stop at that point. In java files cursor moces when I step through the code and I can do watch on variables.
    I can set breakpoint in EJBs and I can see breakpoint as dot withhandle that means that it is valid breakpoint. But as sooon I hit any breakpoint in EJB the error dialog comes up and cursor does not move through code any more. In the debugger window I can see that it progresses when I step through the code but cursor does not move through the code and I can not watch variables.
    Here is the stack trace with the error that appears as sonn I step in EJB.

    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:646)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.showEditorForCurrentSelection(LaunchView.java:570)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.selectionChanged(LaunchView.java:446)
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1290)
    at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1020)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.autoExpand(LaunchView.java:973)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleSuspendThreadEvent(LaunchViewEventHandler.java:231)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleSuspendEvent(LaunchViewEventHandler.java:181)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleDebugEvents(LaunchViewEventHandler.java:102)
    at org.eclipse.debug.internal.ui.views.AbstractDebugEventHandler$1.run(AbstractDebugEventHandler.java:70)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
    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 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:324)
    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)

    – System Setup ——————————-
    Operating System and version: Windows XP x86 5.1
    Eclipse version: 2.1.3
    Eclipse build id: 200403101828
    Fresh Eclipse install (y/n): n
    If not, was it upgraded to its current version using the update manager? y
    Other installed external plugins:
    *** Plug-in Registry:
    com.digev.eclipse.tools.zipbuilder (1.0.0) “Zip Builder Plugin”
    com.genuitec.eclipse.ast.deploy.core (2.7.1) “Deployment Core Plug-in”
    com.genuitec.eclipse.core (2.7.1) “Genuitec Core”
    com.genuitec.eclipse.cross.easystruts.eclipse (2.7.1) “Struts Support”
    com.genuitec.eclipse.easie.bejy (2.7.1) “Genuitec EASIE Bejy Tiger”
    com.genuitec.eclipse.easie.core (2.7.1) “Genuitec EASIE Core”
    com.genuitec.eclipse.easie.jboss (2.7.1) “Genuitec EASIE JBoss”
    com.genuitec.eclipse.easie.jboss2 (2.7.1) “Genuitec EASIE JBoss 2”
    com.genuitec.eclipse.easie.jboss3 (2.7.1) “Genuitec EASIE JBoss 3”
    com.genuitec.eclipse.easie.jboss4 (2.7.1) “Genuitec EASIE JBoss 4”
    com.genuitec.eclipse.easie.jetty (2.7.1) “Genuitec EASIE Jetty”
    com.genuitec.eclipse.easie.jetty4 (2.7.1) “Genuitec EASIE Jetty 4”
    com.genuitec.eclipse.easie.jetty5 (2.7.1) “Genuitec EASIE Jetty 5”
    com.genuitec.eclipse.easie.jonas (2.7.1) “Genuitec EASIE Jonas”
    com.genuitec.eclipse.easie.jonas3 (2.7.1) “Genuitec EASIE Jonas 3”
    com.genuitec.eclipse.easie.jrun (2.7.1) “Genuitec EASIE JRun”
    com.genuitec.eclipse.easie.jrun4 (2.7.1) “Genuitec EASIE JRun 4”
    com.genuitec.eclipse.easie.oracle (2.7.1) “Genuitec EASIE Oracle AS”
    com.genuitec.eclipse.easie.oracle9 (2.7.1) “Genuitec EASIE Oracle 9i/AS”
    com.genuitec.eclipse.easie.orion1 (2.7.1) “Genuitec EASIE Orion 1”
    com.genuitec.eclipse.easie.orion2 (2.7.1) “Genuitec EASIE Orion 2”
    com.genuitec.eclipse.easie.resin (2.7.1) “Genuitec EASIE Resin”
    com.genuitec.eclipse.easie.resin2 (2.7.1) “Genuitec EASIE Resin 2”
    com.genuitec.eclipse.easie.resin3 (2.7.1) “Genuitec EASIE Resin 3”
    com.genuitec.eclipse.easie.tomcat (2.7.1) “Genuitec EASIE Tomcat”
    com.genuitec.eclipse.easie.tomcat4 (2.7.1) “Genuitec EASIE Tomcat 4”
    com.genuitec.eclipse.easie.tomcat5 (2.7.1) “Genuitec EASIE Tomcat 5”
    com.genuitec.eclipse.easie.weblogic (2.7.1) “Genuitec EASIE WebLogic”
    com.genuitec.eclipse.easie.weblogic6 (2.7.1) “Genuitec EASIE WebLogic 6”
    com.genuitec.eclipse.easie.weblogic7 (2.7.1) “Genuitec EASIE WebLogic 7”
    com.genuitec.eclipse.easie.weblogic8 (2.7.1) “Genuitec EASIE WebLogic 8”
    com.genuitec.eclipse.easie.websphere (2.7.1) “Genuitec EASIE WebSphere 4”
    com.genuitec.eclipse.easie.websphere5 (2.7.1) “Genuitec EASIE WebSphere 5”
    com.genuitec.eclipse.j2eedt.core (2.7.1) “Genuitec J2EE Development Tooling”
    com.genuitec.eclipse.struts (2.7.1) “com.genuitec.eclipse.struts”
    com.genuitec.eclipse.struts.visualeditor (2.7.1) “com.genuitec.eclipse.struts.visualeditor”
    com.genuitec.eclipse.wdt.jsp.debug (2.7.1) “MyEclipse JSP Debug Tooling”
    com.genuitec.eclipse.wizards (2.7.1) “Aston Wizards for MyEclipse”
    com.genuitec.eclipse.xmen (2.7.1) “MyEclipse XML Editor”
    com.genuitec.jboss.ide.eclipse.apache.xalan (2.7.1) “Genuitec XDoclet Apache Xalan Plug-in”
    com.genuitec.jboss.ide.eclipse.core (2.7.1) “Genuitec XDoclet Support Core Plug-in”
    com.genuitec.jboss.ide.eclipse.xdoclet.assist (2.7.1) “Genuitec XDoclet Assist Plug-in”
    com.genuitec.jboss.ide.eclipse.xdoclet.core (2.7.1) “Genuitec XDoclet Core Plug-in”
    com.genuitec.jboss.ide.eclipse.xdoclet.run (2.7.1) “Genuitec XDoclet Runner Plug-in”
    com.genuitec.jboss.ide.eclipse.xdoclet.ui (2.7.1) “Genuitec XDoclet UI Plug-in”
    com.genuitec.myeclipse.ast (2.7.1) “MyEclipse Application Server Tooling”
    com.genuitec.myeclipse.core (2.7.1) “MyEclipse Core Tooling”
    com.genuitec.myeclipse.doc (2.7.1) “MyEclipse Documentation Plug-in”
    com.genuitec.myeclipse.enterprise (2.7.1) “MyEclipse Enterprise Workbench”
    com.genuitec.myeclipse.help (2.7.1) “MyEclipse Help Documentation”
    com.genuitec.myeclipse.perspective (2.7.1) “MyEclipse Perspective Plug-in”
    com.genuitec.myeclipse.wdt (2.7.1) “MyEclipse Web Development Tooling”
    de.bb.bje.eclipse (2.7.1) “BJE Plug-in”
    ilog.rules.studio.branding (1.0.0) “Business Rule Studio”
    ilog.rules.studio.brm (1.0.0) “Business Rule Studio BRM”
    ilog.rules.studio.brm.explorer (1.0.0) “Business Rule Studio BRM Explorer”
    ilog.rules.studio.brm.ui (1.0.0) “Business Rule Studio BRM UI”
    ilog.rules.studio.brm.ui.opensource (1.0.0) “Business Rule Studio BRM UI Open Source”
    ilog.rules.studio.core (1.0.0) “Business Rule Studio Core”
    ilog.rules.studio.core.explorer (1.0.0) “Business Rule Studio Explorer”
    ilog.rules.studio.core.ui (1.0.0) “Business Rule Studio Core UI”
    ilog.rules.studio.core.ui.opensource (1.0.0) “Business Rule Studio Core UI Open Source”
    ilog.rules.studio.debug (1.0.0) “Business Rule Studio Debug Model”
    ilog.rules.studio.debug.opensource (1.0.0) “Business Rule Studio Debug Model Open Source”
    ilog.rules.studio.debug.ui (1.0.0) “Business Rule Studio Debug UI”
    ilog.rules.studio.debug.ui.opensource (1.0.0) “Business Rule Studio Debug UI Open Source”
    ilog.rules.studio.doc (1.0.0) “Business Rule Studio Developer Guide”
    ilog.rules.studio.irl (1.0.0) “Business Rule Studio IRL”
    ilog.rules.studio.irl.ui (1.0.0) “Business Rule Studio IRL UI”
    ilog.rules.studio.irleditor (1.0.0) “Business Rule Studio IRL Editor”
    ilog.rules.studio.irleditor.opensource (1.0.0) “Business Rule Studio IRL Editor Open Source”
    ilog.rules.studio.launching (1.0.0) “Business Rule Studio Launching Support”
    ilog.rules.studio.ruleflow (1.0.0) “Business Rule Studio Ruleflow”
    ilog.rules.studio.shared (1.0.0) “Business Rule Studio Shared”
    net.sf.solareclipse.ui (2.5.1) “SolarEclipse UI”
    net.sf.solareclipse.xml.core (2.5.1) “XML Core Plug-in”
    net.sf.solareclipse.xml.ui (2.7.1) “XML Development Tools UI”
    org.apache.ant (1.5.3) “Apache Ant”
    org.apache.lucene (1.2.1) “Apache Lucene”
    org.apache.xerces (4.0.13) “Xerces Based XML Parser”
    org.eclipse.ant.core (2.1.3) “Ant Build Tool Core”
    org.eclipse.compare (2.1.0) “Compare Support”
    org.eclipse.core.boot (2.1.3) “Core Boot”
    org.eclipse.core.resources (2.1.1) “Core Resource Management”
    org.eclipse.core.resources.win32 (2.1.0) “%win32FragmentName”
    org.eclipse.core.runtime (2.1.1) “Core Runtime”
    org.eclipse.debug.core (2.1.2) “Debug Core”
    org.eclipse.debug.ui (2.1.3) “Debug UI”
    org.eclipse.draw2d (2.1.2) “Draw2d”
    org.eclipse.emf (1.1.1) “Eclipse Modeling Framework (EMF)”
    org.eclipse.emf.codegen (1.1.1) “EMF Template Code Generator”
    org.eclipse.emf.codegen.ecore (1.1.1) “EMF Ecore Code Generation”
    org.eclipse.emf.codegen.ecore.ui (1.1.1) “EMF Ecore Code Generation UI”
    org.eclipse.emf.codegen.ui (1.1.1) “EMF Template Code Generator UI”
    org.eclipse.emf.common (1.1.1) “EMF Common”
    org.eclipse.emf.common.ui (1.1.1) “EMF Common UI”
    org.eclipse.emf.ecore (1.1.1) “EMF Ecore”
    org.eclipse.emf.ecore.edit (1.1.1) “Ecore Edit Support”
    org.eclipse.emf.ecore.editor (1.1.1) “Sample Ecore Editor”
    org.eclipse.emf.ecore.xmi (1.1.1) “EMF XMI”
    org.eclipse.emf.edit (1.1.1) “EMF Edit”
    org.eclipse.emf.edit.ui (1.1.1) “EMF Edit UI”
    org.eclipse.emf.mapping (1.1.1) “EMF Mapping”
    org.eclipse.emf.mapping.ui (1.1.1) “EMF Mapping UI”
    org.eclipse.gef (2.1.2) “Graphical Editing Framework”
    org.eclipse.help (2.1.2) “Help System Core”
    org.eclipse.help.appserver (2.1.0) “Help Application Server”
    org.eclipse.help.ui (2.1.1) “Help System UI”
    org.eclipse.help.ui.win32 (2.1.0) “%help_system_plugin_name_win32”
    org.eclipse.help.webapp (2.1.3) “Help System Webapp”
    org.eclipse.jdt (2.1.3) “Eclipse Java Development Tools”
    org.eclipse.jdt.core (2.1.3) “Java Development Tools Core”
    org.eclipse.jdt.debug (2.1.2) “JDI Debug Model”
    org.eclipse.jdt.debug.ui (2.1.1) “JDI Debug UI”
    org.eclipse.jdt.doc.isv (2.1.0) “Eclipse JDT Plug-in Developer Guide”
    org.eclipse.jdt.doc.user (2.1.0) “Eclipse Java Development User Guide”
    org.eclipse.jdt.junit (2.1.1) “Java Development Tools JUnit support”
    org.eclipse.jdt.launching (2.1.1) “Java Development Tools Launching Support”
    org.eclipse.jdt.source (2.1.3) “Eclipse Java Development Tools SDK”
    org.eclipse.jdt.ui (2.1.3) “Java Development Tools UI”
    org.eclipse.jface (2.1.3) “JFace”
    org.eclipse.jface.text (2.1.0) “JFace Text”
    org.eclipse.pde (2.1.0) “Eclipse Plug-in Development Environment”
    org.eclipse.pde.build (2.1.3) “Plug-in Development Environment Build Support”
    org.eclipse.pde.core (2.1.2) “Plug-in Development Core”
    org.eclipse.pde.doc.user (2.1.0) “Eclipse Plug-in Development User Guide”
    org.eclipse.pde.runtime (2.1.0) “Plug-in Development Environment Runtime”
    org.eclipse.pde.source (2.1.3) “Eclipse Plug-in Development Environment Source Code”
    org.eclipse.pde.ui (2.1.2) “Plug-in Development UI”
    org.eclipse.platform (2.1.3) “Eclipse Platform”
    org.eclipse.platform.doc.isv (2.1.3) “Eclipse Platform Plug-in Developer Guide”
    org.eclipse.platform.doc.user (2.1.1) “Eclipse Workbench User Guide”
    org.eclipse.platform.source (2.1.3) “Eclipse Platform Plug-in Developer Resources”
    org.eclipse.platform.win32 (2.1.3) “Eclipse Platform (Windows)”
    org.eclipse.platform.win32.source (2.1.3) “Eclipse Platform Plug-in Developer Resources (Windows)”
    org.eclipse.sdk.win32 (2.1.3) “Eclipse Project SDK (Windows)”
    org.eclipse.search (2.1.1) “Search Support”
    org.eclipse.swt (2.1.3) “Standard Widget Toolkit”
    org.eclipse.swt.win32 (2.1.3) “%fragmentName”
    org.eclipse.team.core (2.1.3) “Team Support Core”
    org.eclipse.team.cvs.core (2.1.3) “CVS Team Provider Core”
    org.eclipse.team.cvs.ssh (2.1.1) “CVS SSH Core”
    org.eclipse.team.cvs.ui (2.1.1) “CVS Team Provider UI”
    org.eclipse.team.ui (2.1.0) “Team Support UI”
    org.eclipse.text (2.1.0) “Text”
    org.eclipse.tomcat (4.0.6.2) “Tomcat Wrapper”
    org.eclipse.ui (2.1.1) “Eclipse UI”
    org.eclipse.ui.editors (2.1.0) “Default Text Editor”
    org.eclipse.ui.externaltools (2.1.1) “External Tools”
    org.eclipse.ui.versioncheck (2.1.1) “Eclipse Version Check”
    org.eclipse.ui.views (2.1.3) “Views”
    org.eclipse.ui.workbench (2.1.3) “Workbench”
    org.eclipse.ui.win32 (2.1.0) “%Win32Fragment.fragmentName”
    org.eclipse.ui.workbench.texteditor (2.1.3) “Text Editor Framework”
    org.eclipse.update.core (2.1.0) “Install/Update Core”
    org.eclipse.update.core.win32 (2.1.0) “%fragmentNameWin”
    org.eclipse.update.ui (2.1.2) “Install/Update UI”
    org.eclipse.update.ui.win32 (2.1.0) “%fragmentNameWin”
    org.eclipse.update.ui.forms (2.1.0) “Install/Update Forms”
    org.junit (3.8.1) “JUnit Testing Framework”
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 12
    MyEclipse version: 2.7.1
    build Id: 200403241200-2.7.1-GA
    Eclipse JDK version: 1.4.2_05
    Application Server JDK version: 1.4.2_05 WebLogic Server 7.0 SP2
    Are there any exceptions in the Eclipse log file?
    !ENTRY org.eclipse.jface 4 2 Aug 06, 2004 12:13:49.667
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
    !STACK 0
    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:646)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.showEditorForCurrentSelection(LaunchView.java:570)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.selectionChanged(LaunchView.java:446)
    at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:159)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1290)
    at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1020)
    at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:362)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.updateRunningThread(LaunchViewEventHandler.java:160)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler$2.run(LaunchViewEventHandler.java:431)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at org.eclipse.jface.dialogs.MessageDialog.openError(MessageDialog.java:286)
    at org.eclipse.jface.util.SafeRunnable.handleException(SafeRunnable.java:50)
    at org.eclipse.jface.viewers.Viewer$2.handleException(Viewer.java:162)
    at org.eclipse.core.internal.runtime.InternalPlatform.handleException(InternalPlatform.java:461)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1010)
    at org.eclipse.core.runtime.Platform.run(Platform.java:413)
    at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:157)
    at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:1290)
    at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1020)
    at org.eclipse.debug.internal.ui.views.launch.LaunchView.autoExpand(LaunchView.java:973)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleSuspendThreadEvent(LaunchViewEventHandler.java:231)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleSuspendEvent(LaunchViewEventHandler.java:181)
    at org.eclipse.debug.internal.ui.views.launch.LaunchViewEventHandler.doHandleDebugEvents(LaunchViewEventHandler.java:102)
    at org.eclipse.debug.internal.ui.views.AbstractDebugEventHandler$1.run(AbstractDebugEventHandler.java:70)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:98)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1999)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1733)
    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 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:324)
    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)
    !ENTRY org.eclipse.ui.workbench 4 2 Aug 06, 2004 13:32:13.771
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.ui.workbench”.
    !STACK 0
    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.SetPagePerspectiveAction.run(SetPagePerspectiveAction.java:72)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    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.sendEvent(Widget.java:840)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
    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 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:324)
    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)

    #211649

    Riyad Kalla
    Member

    Can you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. There is some information that you left out (JDK for example) that might help explain whats going on.

    #211894

    david_2004
    Member

    Operating System and version: Windows XP x86 5.1
    Eclipse version: 2.1.3
    Eclipse build id: 200403101828
    Fresh Eclipse install (y/n): n
    If not, was it upgraded to its current version using the update manager? y
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 12
    MyEclipse version: 2.7.1
    build Id: 200403241200-2.7.1-GA
    Eclipse JDK version: 1.4.2_05
    Application Server JDK version: 1.4.2_05 WebLogic Server 7.0 SP2

    All this info and also plugin list and errors from the log are also at the end of my orig message

    Thanks,
    David

    #211899

    Scott Anderson
    Participant

    David,

    You’re getting this problem because you’ve overwritten the modified version of the Eclipe de bug plugins that we ship with MyEclipse. This most likely happened when you updated to Eclipse 2.1.3. For JSP debugging to work properly, you’ll need to use our versions of those plugins for this version. The easiest way to get the configuration resored is tot close all perspectives, exit Eclipse, uninstall then reinstall MyEclipse. Sorry for the inconvenience. With version 3.8 GA of MyEclipse, the debug plugin modificaiton is no longer necessary due to changes in the platform.

    #212140

    david_2004
    Member

    Riyad,
    I did as you suggested closed all perspectives, exit Eclipse, uninstall then reinstall MyEclipse with EnterpriseWorkbenchInstaller_020701.exe. Still the same problem. If I start Weblogic7 from command prompt and debug in remote debugging mode everything works fine. So it is definitely a problem with debugging plugins. Can you suggest something else to solve the problem? It is much more convenient to debug when Weblogic is running inside eclipse.

    David

    #212143

    Scott Anderson
    Participant

    David,

    It’s most likely a cached configuration problem. I believe in Eclipse 2.x there is a directory called <workspace-dir>/.config. Try shutting down Eclipse, deleting that config dir and then restarting.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: can not debug in EJBs

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