[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylar-dev] Problems doing development after CVS update to HEAD (1.0.1)
|
Mik,
I did not get it resolved at all. I reverted back to 3.3M3 and finished the development and exported both core and ui package into .jar files (on 3.3M3).
But now I have similar problem when I try to deploy the connector to
3.3M4. It complains about:
org.eclipse.core.runtime.CoreException[1]: java.lang.NoClassDefFoundError: org/eclipse/mylar/internal/codebeamer/core/CodeBeamerRepositoryQuery
org.eclipse.core.runtime.CoreException[1]:
java.lang.ClassNotFoundException: org.eclipse.mylar.internal.codebeamer.core.CodeBeamerRepositoryConnector
org.eclipse.core.runtime.CoreException[1]: java.lang.NoClassDefFoundError: org/eclipse/mylar/internal/codebeamer/core/CodeBeamerException
It looks like ...core connector is not getting loaded even if the jar is there (I had similar problem when I tried to debug connector in 3.3M4)
I am not sure what else should I do/look at to resolve it. Right now I can run/debug the connector in
3.3M3, but cannot run, debug or deploy it in 3.3M4.
I also have a question about deploying the connector to 3.2.1. Do I have to build the connector in Eclipse 3.2.1 with Mylar 1.0.1 code for 3.2, or could I
use the same connector I build in
3.3M3?
I kind of hoped that deployment will be easy, but so far I am stuck, so I cannot even distribute the connector for external testing to other people (frustrating 8-(.
Thanks for any help, Lubos
On 1/11/07, Mik Kersten <beatmik@xxxxxxx> wrote:
Lubos: I assume that you got this resolved. PackageFragmentRootContainer
is an Eclipse 3.3M4 only class, so if you were building against 3.3M4 correctly
you should not have had the compiler error. I put some notes on what HEAD and
related branches support here:
http://wiki.eclipse.org/index.php/Mylar_Contributor_Reference#Branches
Mik
Few days ago I have updated all
Mylar projects in my development area to HEAD (1.0.1).
I am running on Eclipse 3.3M3 and Java JDK1.5_09.
I got compile errors in org.eclipse.mylar.internal.java.JavaStructureBridge
related to package:
import org.eclipse.jdt.internal.ui.packageview.PackageFragmentRootContainer;
If I ignore the errors or edit the file to remove references to
PackageFragmentRootContainer, everything works fine.
I figured out, that it is time to upgrade to Eclipse 3.3M4, but when I do that
and start debugging the CodeBeamer connector
I am developing (almost there, just need some more testing), I get a lot of
errors in the debugged application, and my connector
does not appear in the Task Repositories dialog any more.
I switched back to 3.3M3 and edited JavaStructureBridge so I do not get errors
any more. So for now I can develop with Eclipse 3.3M3.
But ultimately I would like to switch to Eclipse 3.3M4.
Anybody has a suggestion how to fix the problems, so I can continue developing
with Eclipse 3.3M4?
Here are the errors from the application (Codebeamer Connector UI) debugged in
Eclipse 3.3M4:
(looks like the core of the problem is: java.lang.NoClassDefFoundError:
org/eclipse/mylar/internal/codebeamer/core/CodeBeamerCorePlugin).
There are a few other problems after that all related to this first one.
Exception in org.eclipse.mylar.codebeamer.ui.CodeBeamerUiPlugin.start() of
bundle org.eclipse.mylar.codebeamer.ui:
org.osgi.framework.BundleException: Exception in
org.eclipse.mylar.codebeamer.ui.CodeBeamerUiPlugin.start () of bundle
org.eclipse.mylar.codebeamer.ui.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1018)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start
(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start (SecureAction.java:400)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:234)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension
(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:787)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension
(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at
org.eclipse.mylar.internal.tasks.ui.util.TasksUiExtensionReader.readRepositoryConnectorCore
(TasksUiExtensionReader.java:210)
at org.eclipse.mylar.internal.tasks.ui.util.TasksUiExtensionReader.initStartupExtensions(TasksUiExtensionReader.java:118)
at org.eclipse.mylar.tasks.ui.TasksUiPlugin.start(TasksUiPlugin.java :390)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator
(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass
(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:415)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java
:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:418)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:379)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:367)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java
:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java
:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:787)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java
:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:234)
at
org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:69)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart (ViewReference.java:210)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:3881)
at org.eclipse.ui.internal.WorkbenchPage.restoreState (WorkbenchPage.java:2905)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1948)
at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2888)
at org.eclipse.ui.internal.Workbench.access$13 (Workbench.java:2836)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1712)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1452)
at org.eclipse.ui.internal.Workbench.restoreState (Workbench.java:1710)
at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1681)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1560)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java :37)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1504)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:751)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1109)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:425)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
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:585)
at
org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:522)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:147)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:104)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:170)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:339)
at org.eclipse.core.launcher.Main.basicRun(Main.java:283)
at org.eclipse.core.launcher.Main.run(Main.java:984)
at org.eclipse.core.launcher.Main.main(Main.java:959)
Caused by: java.lang.NoClassDefFoundError:
org/eclipse/mylar/internal/codebeamer/core/CodeBeamerCorePlugin
at
org.eclipse.mylar.codebeamer.ui.CodeBeamerUiPlugin.start(CodeBeamerUiPlugin.java:39)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged (Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
... 78 more
Root exception:
java.lang.NoClassDefFoundError:
org/eclipse/mylar/internal/codebeamer/core/CodeBeamerCorePlugin
at org.eclipse.mylar.codebeamer.ui.CodeBeamerUiPlugin.start(CodeBeamerUiPlugin.java:39)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged (Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start (SecureAction.java:400)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:234)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension
(RegistryStrategyOSGI.java:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:787)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension
(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at
org.eclipse.mylar.internal.tasks.ui.util.TasksUiExtensionReader.readRepositoryConnectorCore
(TasksUiExtensionReader.java:210)
at org.eclipse.mylar.internal.tasks.ui.util.TasksUiExtensionReader.initStartupExtensions(TasksUiExtensionReader.java:118)
at org.eclipse.mylar.tasks.ui.TasksUiPlugin.start(TasksUiPlugin.java :390)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator
(BundleContextImpl.java:993)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass
(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:415)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java
:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:418)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass
(BundleLoader.java:379)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:367)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java
:227)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java
:160)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:787)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java
:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:234)
at
org.eclipse.ui.internal.registry.ViewDescriptor.createView(ViewDescriptor.java:69)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:305)
at org.eclipse.ui.internal.ViewReference.createPart (ViewReference.java:210)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:3881)
at org.eclipse.ui.internal.WorkbenchPage.restoreState (WorkbenchPage.java:2905)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1948)
at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2888)
at org.eclipse.ui.internal.Workbench.access$13 (Workbench.java:2836)
at org.eclipse.ui.internal.Workbench$20.run(Workbench.java:1712)
at
org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1452)
at org.eclipse.ui.internal.Workbench.restoreState (Workbench.java:1710)
at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1681)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1560)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java :37)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1504)
at
org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows
(WorkbenchAdvisor.java:751)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1109)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:425)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
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:585)
at
org.eclipse.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:522)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:147)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:104)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:170)
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:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:339)
at org.eclipse.core.launcher.Main.basicRun(Main.java:283)
at org.eclipse.core.launcher.Main.run(Main.java:984)
at org.eclipse.core.launcher.Main.main(Main.java:959)
_______________________________________________
mylar-dev mailing list
mylar-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/mylar-dev