facebook

Unable to debug after installing 4.0 GA[closed]

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

    jrhaddad
    Member

    Hi,

    I am using Eclipse 3.1. After installing MyEclipse 4.0 GA, I am unable to do application debugging in Eclipse.

    When I try to add a breakpoint in a Java file (not web app), I get message: “The chosen operation is not currently available”.

    When I try to access the debug configuration page in Windows-preferences, I get message:

    “Unable to created selected preference page.
    Reason:
    Plug-in org.eclipse.jdt.debug.ui was unable to load class
    org.eclipse.jdt.internal.debug.ui.JavaDebugPreferencePage”

    I get about the same messgae when I try to open the Instaleed JREs section.

    With a fresh Eclipse install, it all works fine. The problems start as soon as I install MyEclipse.

    Any idea?

    Thanks,

    Jean-Robert[/img]

    #236281 Reply

    Scott Anderson
    Participant

    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. Thanks.

    #236301 Reply

    jrhaddad
    Member

    – What operating system and version are you running?
    Win XP SP2

    – What Eclipse version and build id are you using? (Help > About Eclipse Platform)
    Version: 3.1.0
    Build id: I20050627-1435

    – 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.*
    4
    org.eclipse.pde.core_3.1.0.jar
    org.eclipse.pde.runtime_3.1.0.jar
    org.eclipse.pde.ui_3.1.0.jar
    org.eclipse.pde_3.1.0.jar

    – What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    4.0.0 except for MyEclipse Enterprise Workbench (3.8.3)

    – What JDK version are you using to run Eclipse? (java -version)
    1.5.0_04

    -What JDK version are you using to launch your application server?
    N/A

    – What steps did you take that resulted in the issue?
    Simply tried to add a breakpoint in java code. Tried with many projects. Works ok when MyEclipse not installed.

    – What application server are you using?
    None for now

    -Are there any exceptions in the Eclipse log file? (<workspace>/.metadata/.log)
    Yes
    !ENTRY org.eclipse.osgi 2005-08-31 21:24:40.58
    !MESSAGE An error occurred while automatically activating bundle org.eclipse.jdt.debug.ui (514).
    !STACK 0
    org.osgi.framework.BundleException: Exception in org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin.start() of bundle org.eclipse.jdt.debug.ui.
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
    at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:321)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:266)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:116)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1259)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
    at org.eclipse.core.internal.runtime.AdapterFactoryProxy.loadFactory(AdapterFactoryProxy.java:104)
    at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:272)
    at org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterManager.java:292)
    at org.eclipse.debug.internal.ui.actions.RetargetAction.getAdapter(RetargetAction.java:144)
    at org.eclipse.debug.internal.ui.actions.RetargetAction.partActivated(RetargetAction.java:135)
    at org.eclipse.debug.internal.ui.actions.RetargetAction.init(RetargetAction.java:87)
    at org.eclipse.ui.internal.WWinPluginAction.initDelegate(WWinPluginAction.java:183)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:121)
    at org.eclipse.ui.internal.WWinPluginAction.refreshActionList(WWinPluginAction.java:160)
    at org.eclipse.ui.plugin.AbstractUIPlugin$1.run(AbstractUIPlugin.java:480)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)
    Caused by: java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/debug/core/logicalstructures/IJavaStructuresListener
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.defineClass(DefaultClassLoader.java:370)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineClass(EclipseClassLoader.java:227)
    at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClassImpl(DefaultClassLoader.java:343)
    at org.eclipse.osgi.framework.adaptor.core.DefaultClassLoader.findClass(DefaultClassLoader.java:235)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.findLocalClass(AbstractClassLoader.java:183)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFindLocalClass(EclipseClassLoader.java:141)
    at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLocalClass(EclipseClassLoader.java:82)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:337)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:389)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at org.eclipse.jdt.internal.debug.ui.JDIDebugUIPlugin.start(JDIDebugUIPlugin.java:272)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
    … 46 more

    AND

    !ENTRY org.eclipse.core.runtime 4 1 2005-08-31 21:24:40.78
    !MESSAGE Plug-in org.eclipse.jdt.debug.ui was unable to load class org.eclipse.jdt.internal.debug.ui.actions.RetargettableActionAdapterFactory.
    !STACK 0
    java.lang.ClassNotFoundException: org.eclipse.jdt.internal.debug.ui.actions.RetargettableActionAdapterFactory
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:403)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:350)
    at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(AbstractClassLoader.java:78)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:275)
    at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
    at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1259)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:152)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:142)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:129)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:48)
    at org.eclipse.core.internal.runtime.AdapterFactoryProxy.loadFactory(AdapterFactoryProxy.java:104)
    at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:272)
    at org.eclipse.core.internal.runtime.AdapterManager.loadAdapter(AdapterManager.java:292)
    at org.eclipse.debug.internal.ui.actions.RetargetAction.getAdapter(RetargetAction.java:144)
    at org.eclipse.debug.internal.ui.actions.RetargetAction.partActivated(RetargetAction.java:135)
    at org.eclipse.debug.internal.ui.actions.RetargetAction.init(RetargetAction.java:87)
    at org.eclipse.ui.internal.WWinPluginAction.initDelegate(WWinPluginAction.java:183)
    at org.eclipse.ui.internal.PluginAction.createDelegate(PluginAction.java:121)
    at org.eclipse.ui.internal.WWinPluginAction.refreshActionList(WWinPluginAction.java:160)
    at org.eclipse.ui.plugin.AbstractUIPlugin$1.run(AbstractUIPlugin.java:480)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
    at org.eclipse.core.launcher.Main.run(Main.java:973)
    at org.eclipse.core.launcher.Main.main(Main.java:948)

    Thank you.

    Jean-Robert

    #236304 Reply

    Scott Anderson
    Participant

    Jean-Robert,

    From the following:

    – What MyEclipse version are you using? (Help > About Eclipse Platform > Features)
    4.0.0 except for MyEclipse Enterprise Workbench (3.8.3)

    and the error messages, you’ve got a corrupted installation, likely caused by upgrading an Eclipse 3.0 installation. The easiest way to get a working configuration is to install a fresh version of Eclipse 3.1 final in another location and then install MyEclipse 4.0GA so that it points to that new installation. Once that’s done, simply open your existing workspace and proper functionality should be restored. There are problems with upgrading the 4.0GA build, as detailed in the announcement post here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-8782.html

    A full, clean installation will resolve the problems.

    #236311 Reply

    jrhaddad
    Member

    I finally got it to work.

    The problem was not due to upgrading Eclipse 3.0 but rather due to upgrading MyEclipse. I was reinstalling MyEclipse updates over older versions. I had the same problem with a fresh Eclipse 3.1 setup. But when I removed all versions of MyEclipse and reinstalled only version 4.0 GA, it started working.

    Many thanks for your support.

    Jean-Robert

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Unable to debug after installing 4.0 GA[closed]

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