Imported UML plugins implications to a runtime-workbench [message #477307] |
Thu, 01 May 2008 06:23  |
Eclipse User |
|
|
|
Hi, I got some strange behavior here, that probably is explainable, I don't have
the background though.
I imported the org.eclipse.uml plugins into my workspace to sneak at how you do
things. At some time, I accidentally cleaned the whole workspace, so everything
was rebuilt, including the imported plugins. Since I'd really not want this to
happen again, I "closed" the uml plugin projects.
Just now I started a runtime workbench to test my own plugin, which hooks into
the UML Model editor, so I tried to open my test models in the runtime
workbench, getting the exception below.
I tried opening the uml plugin projects again, same exception.
After deleting the imported plugins in my workspace, the editor opens fine again.
My explanation is, that when starting the runtime workbench, the uml plugins in
my workspace somehow overrode the original plugins, but I am reaally unsure,
and'd be happy if someone could infer what happened.
Thanks,
Felix
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
An error occurred while automatically activating bundle
org.eclipse.uml2.uml.editor (137).
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:419)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:193)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:368)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:444)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:397)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:385)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:87)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:313)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBundle.java:1273)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:160)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:863)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugi n.java:243)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(Work benchPlugin.java:239)
at
org.eclipse.ui.internal.registry.EditorDescriptor.createEdit or(EditorDescriptor.java:233)
at org.eclipse.ui.internal.EditorManager.createPart(EditorManag er.java:846)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:606)
at org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:428)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:594)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:266)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2723)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2635)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2627)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2579)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2574)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2558)
at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu. java:336)
at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.ja va:324)
at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMe nu.java:186)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :83)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1145)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3346)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2982)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2375)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2339)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 05)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:478)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:473)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:362)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:175)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: org.osgi.framework.BundleException: The activator
org.eclipse.uml2.uml.editor.UMLEditorPlugin$Implementation for bundle
org.eclipse.uml2.uml.editor is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:146)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:980)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:346)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:265)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
.... 59 more
Caused by: java.lang.NoClassDefFoundError: org/eclipse/uml2/uml/UMLPlugin
at org.eclipse.uml2.uml.editor.UMLEditorPlugin.<init>(UMLEditorPlugin.java:53)
at org.eclipse.uml2.uml.editor.UMLEditorPlugin.<clinit>(UMLEditorPlugin.java:36)
at
org.eclipse.uml2.uml.editor.UMLEditorPlugin$Implementation.<init >(UMLEditorPlugin.java:100)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:5 13)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:141)
.... 64 more
|
|
|
Re: Imported UML plugins implications to a runtime-workbench [message #477313 is a reply to message #477307] |
Thu, 01 May 2008 10:47  |
Eclipse User |
|
|
|
Felix,
Try looking at your runtime debug configuration (Run > Run
Configurations...) on the "Plug-ins" tab. It may be that you changed the
default behavior to use all workspace plugins, and instead specifically
chose to use the org.eclipse.uml2.uml plugin and *not* use the deployed
plugin. Try clicking "Restore Defaults" in this tab.
Dave
>
> After deleting the imported plugins in my workspace, the editor opens fine
> again.
>
> My explanation is, that when starting the runtime workbench, the uml
> plugins in my workspace somehow overrode the original plugins, but I am
> reaally unsure, and'd be happy if someone could infer what happened.
|
|
|
Re: Imported UML plugins implications to a runtime-workbench [message #626474 is a reply to message #477307] |
Thu, 01 May 2008 10:47  |
Eclipse User |
|
|
|
Felix,
Try looking at your runtime debug configuration (Run > Run
Configurations...) on the "Plug-ins" tab. It may be that you changed the
default behavior to use all workspace plugins, and instead specifically
chose to use the org.eclipse.uml2.uml plugin and *not* use the deployed
plugin. Try clicking "Restore Defaults" in this tab.
Dave
>
> After deleting the imported plugins in my workspace, the editor opens fine
> again.
>
> My explanation is, that when starting the runtime workbench, the uml
> plugins in my workspace somehow overrode the original plugins, but I am
> reaally unsure, and'd be happy if someone could infer what happened.
|
|
|
Powered by
FUDForum. Page generated in 0.04920 seconds