facebook

Cannot set a breakpoint in Java Debug [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #205025 Reply

    After installing EnterpriseWorkbenchInstaller_030700.exe
    Eclipse 3.0M7 I cannot set a breakpoint in the Java Debug
    mode:java.lang.NoClassDefFoundError:
    org/eclipse/debug/core/model/IStepFilters
    java.lang.NoClassDefFoundError:
    org/eclipse/debug/core/model/IStepFilters;at
    java.lang.ClassLoader.defineClass0(Native Method) at
    java.lang.ClassLoader.defineClass(Unknown Source) at
    org.eclipse.osgi.framework.internal.defaultadaptor.DefaultClassLoader.define
    Class(DefaultClassLoader.java:298);at
    org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClass
    Loader.java:99)<BR> at
    org.eclipse.osgi.framework.internal.defaultadaptor.DefaultClassLoader.findCl
    assImpl(DefaultClassLoader.java:287)<BR> at
    org.eclipse.osgi.framework.internal.defaultadaptor.DefaultClassLoader.findCl
    ass(DefaultClassLoader.java:176)<BR> at
    org.eclipse.osgi.framework.adaptor.BundleClassLoader.findLocalClass(BundleCl
    assLoader.java:261)<BR> at
    org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseCl
    assLoader.java:73)<BR> at
    org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleL
    oader.java:326)<BR> at
    org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader
    .java:357)<BR> at
    org.eclipse.osgi.framework.adaptor.BundleClassLoader.loadClass(BundleClassLo
    ader.java:115)<BR> at java.lang.ClassLoader.loadClass(Unknown
    Source)<BR> at java.lang.ClassLoader.loadClassInternal(Unknown
    Source)<BR> at
    org.eclipse.jdt.internal.debug.core.JDIDebugPlugin.addHotCodeReplaceListener
    (JDIDebugPlugin.java:176)<BR> at
    org.eclipse.jdt.debug.core.JDIDebugModel.addHotCodeReplaceListener(JDIDebugM
    odel.java:175)<BR> at
    org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin.startup(JDIDebugUIPlugin.
    java:339)<BR> at
    org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivato
    r.java:49)<BR> at
    org.eclipse.osgi.framework.internal.core.BundleContext$1.run(BundleContext.j
    ava:1054)<BR> at java.security.AccessController.doPrivileged(Native
    Method)<BR> at
    org.eclipse.osgi.framework.internal.core.BundleContext.startActivator(Bundle
    Context.java:1050)<BR> at
    org.eclipse.osgi.framework.internal.core.BundleContext.start(BundleContext.j
    ava:991)<BR> at
    org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j
    ava:403)<BR> at
    org.eclipse.osgi.framework.internal.core.Bundle.start(Bundle.java:312)<BR>&n
    bsp;at
    org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExte
    nsion(ConfigurationElement.java:133)<BR> at
    org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExte
    nsion(ConfigurationElement.java:125)<BR> at
    org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExte
    nsion(ConfigurationElement.java:114)<BR> at
    org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java
    :164)<BR> at
    org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:110)<B
    R> at
    org.eclipse.ui.internal.WWinPluginAction.refreshActionList(WWinPluginAction.
    java:148)<BR> at
    org.eclipse.ui.plugin.AbstractUIPlugin$3.run(AbstractUIPlugin.java:778)<BR>&
    nbsp;at
    org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)<BR> at
    org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
    <BR> at
    org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2325)<BR>&nbsp
    ;at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2033)<BR> 
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:647)<BR> at
    org.eclipse.jface.window.Window.open(Window.java:627)<BR> at
    org.eclipse.jface.dialogs.MessageDialog.openInformation(MessageDialog.java:3
    03)<BR> at
    org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:246)<BR>
     at
    org.eclipse.ui.internal.PluginAction.run(PluginAction.java:235)<BR> at
    org.eclipse.ui.texteditor.AbstractTextEditor$10.triggerAction(AbstractTextEd
    itor.java:1792)<BR> at
    org.eclipse.ui.texteditor.AbstractTextEditor$10.mouseDoubleClick(AbstractTex
    tEditor.java:1806)<BR> at
    org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:140)<BR
    > at
    org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)<BR> at
    org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833)<BR> at
    org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2348)<BR>&nbs
    p;at
    org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2029)<BR> 
    at
    org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550)<BR>&nbsp
    ;at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526)<BR> at
    org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265)<
    BR> at
    org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)<BR>&nbs
    p;at
    org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47)<BR>&n
    bsp;at
    org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.
    java:257)<BR> at
    org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104)
    <BR> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)<BR> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
    Source)<BR> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
    Source)<BR> at java.lang.reflect.Method.invoke(Unknown
    Source)<BR> at
    org.eclipse.core.launcher.Main.basicRun(Main.java:279)<BR> at
    org.eclipse.core.launcher.Main.run(Main.java:742)<BR> at
    org.eclipse.core.launcher.Main.main(Main.java:581)<BR>

    #205041 Reply

    Riyad Kalla
    Member

    This definately sounds like an install problem, can you post the information we ask for in the posting guidelines? A quick way to do this is to click “post Reply” and then hit the Insert button and answer all the questions.

    #205046 Reply

    – System Setup ——————————-
    Operating System and version: Win2000
    Eclipse version: 3.0M7
    Eclipse build id: Eclipse Platform Version: 3.0.0 Build id: 200402122000
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins: none
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 8
    MyEclipse version: 3.7
    Eclipse JDK version: j2re1.4.2_03
    Application Server JDK version: j2re1.4.2_03
    Are there any exceptions in the Eclipse log file? see first posting

    – Message Body ——————————-
    Works fine after Uninstalling MyEclipse

    #205054 Reply

    Riyad Kalla
    Member

    Phil,
    I’m kind of stumped by this and have asked S/M to weigh in on it. I’ve personally not seen anyone ever report this, so I really think it might be some funky install issue on your site.

    If you have the time, would you mind redownloading the 3.0M7 Eclipse SDK, and 3.7 GA of MyEclipse (manual install) and installing them someplace completely isolated on your hard drive? I think that would clear up the issue for you if you are very systematic about doing a clean install.

    #205098 Reply

    Scott Anderson
    Participant

    Philip,

    I looked at the log file you sent and it definately looks like an installation issue since the class that can’t be found is obviously in the debug core jar file in M7. I’ll have to recommend exactly what Riyad suggested; a clean parallel installation of M7 and then MyEclipse 3.7 GA. Please be sure to start the new release of M7 after installation so Eclipse can finish its normal setup before the 3.7 GA installation.

    Another thing to try as a shortcut, if you like, is to delete the <workspace>/.config directory. This will reset Eclipse’s configuration state and will make it recompute its configuration. In the past we’ve seen issues with what Eclipse caches becoming out of date. However, if this doesn’t work the fresh installation is the best option.

    #205099 Reply

    Can set breakpoint after delete of .config directory and reinstall of MyEclipse. Thanks for the help.

    #205102 Reply

    Scott Anderson
    Participant

    Philip,

    And thank you for your patience. 🙂 The Eclipse “configuration caching” mechanism is still under active development by the Eclipse team so it’s been a bit problematic for the M6 and M7 builds. Hopefully it will all get sorted out soon.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Cannot set a breakpoint in Java Debug [Closed]

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