Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] RCP build with tycho crash when start it in macos

NoClassDefFoundErrors indicate that there is something wrong in the OSGi metadata of the involved plug-ins, e.g. some bundle could declares an optional runtime dependencies although the dependency is actually not optional. You should check how the non-loadable classes are supposed to be loaded, and if everything needed to load them is actually present.

Tycho respects the p2 metadata of the involved bundles, which in turn respects OSGi metadata of the involved bundles. Since the OSGi runtime does not report un-resolvable bundles, the p2 metadata seems to match the OSGi metadata correctly, but just the OSGi metadata seems to be buggy. If this is really the case, Tycho just discovers this problem; it doesn't cause it. And from my experience, this happens quite often...

Regards
Tobias


> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> bounces@xxxxxxxxxxx] On Behalf Of Cristiano Gavião
> Sent: Donnerstag, 15. Dezember 2011 16:19
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] RCP build with tycho crash when start it in
> macos
>
> Hi Tobias,
>
> After some more white hair in my head I could discover what is happen
> after have setup a Windows Vbox and tried to run there.
>
> The problem occurs on Windows XP too, but at least, window's execution
> shows me a popup message saying that a log file was created on workspace
> directory. In mac, I can also see this popup quickly, but it goes way
> before I can read the message.
>
> So, my problem is related with java.lang.NoClassDefFoundError exception
> (log below).
>
> This issue is driven me crazy. :(   because I can run the application
> using IDE (tested in XP, Ubuntu and MacOSX), calling it from the product
> editor. But when I try to build it using tycho, I can't run it.
>
> I have passed the last 4 days trying to figure out what is the
> difference between the IDE launch and the exported configuration
> generated by SimpleConfigurator bundle.... I couldn't find anything....
> I've changed the product's start level configuration adding the missing
> bundles to it with at a lower start level... I have tried to change some
> bundle and package imports.... and nothing changes...
>
> do you have any tip that could help me to discover the missing piece ?
>
> thanks for the time
>
> Cristiano
> > !SESSION 2011-12-15 12:48:40.744
> > -----------------------------------------------
> > eclipse.buildId=unknown
> > java.version=1.6.0_29
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=pt_BR
> > Command-line arguments:  -os win32 -ws win32 -arch x86 -consoleLog
> > -console
> >
> > !ENTRY org.eclipse.epf.rcp.ui 1 0 2011-12-15 12:48:53.803
> > !MESSAGE INFO: Application start directory =C:\TesteEPF\epf-composer
> >
> > !ENTRY org.eclipse.equinox.preferences 4 2 2011-12-15 12:48:55.125
> > !MESSAGE Problems occurred when invoking code from plug-in:
> > "org.eclipse.equinox.preferences".
> > !STACK 0
> > java.lang.NoClassDefFoundError:
> > org/eclipse/epf/uma/edit/domain/TraceableAdapterFactoryEditingDomain
> >     at
> >
> org.eclipse.epf.authoring.ui.preferences.LibraryPreferenceInitializer.init
> ializeDefaultPreferences(LibraryPreferenceInitializer.java:38)
> >     at
> >
> org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper$1.ru
> n(PreferenceServiceRegistryHelper.java:281)
> >     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> >     at
> >
> org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.runI
> nitializer(PreferenceServiceRegistryHelper.java:284)
> >     at
> >
> org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.appl
> yRuntimeDefaults(PreferenceServiceRegistryHelper.java:130)
> >     at
> >
> org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefau
> lts(PreferencesService.java:369)
> >     at
> >
> org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefau
> lts(DefaultPreferences.java:166)
> >     at
> >
> org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPrefe
> rences.java:237)
> >     at
> >
> org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePre
> ferences.java:307)
> >     at
> >
> org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(Ecli
> psePreferences.java:543)
> >     at
> >
> org.eclipse.core.internal.preferences.EclipsePreferences.node(EclipsePrefe
> rences.java:669)
> >     at
> >
> org.eclipse.core.internal.preferences.AbstractScope.getNode(AbstractScope.
> java:38)
> >     at
> >
> org.eclipse.core.runtime.preferences.DefaultScope.getNode(DefaultScope.jav
> a:67)
> >     at
> >
> org.eclipse.ui.preferences.ScopedPreferenceStore.getDefaultPreferences(Sco
> pedPreferenceStore.java:250)
> >     at
> >
> org.eclipse.ui.preferences.ScopedPreferenceStore.setDefault(ScopedPreferen
> ceStore.java:638)
> >     at
> >
> org.eclipse.epf.authoring.ui.preferences.LibraryViewPrefPage.initDefaults(
> LibraryViewPrefPage.java:63)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIPlugin.init(AuthoringUIPlugin.java
> :67)
> >     at
> > org.eclipse.epf.common.ui.AbstractPlugin.start(AbstractPlugin.java:100)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start(AuthoringUIPlugin.jav
> a:48)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleCon
> textImpl.java:783)
> >     at java.security.AccessController.doPrivileged(Native Method)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
> BundleContextImpl.java:774)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleCon
> textImpl.java:755)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost
> .java:370)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBund
> le.java:284)
> >     at
> >
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.
> java:265)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocal
> Class(EclipseLazyStarter.java:106)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:453)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourc
> ePackage.java:33)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:466)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainWorkbenchAdvisor.getInitialWindowPerspectiveId(
> MainWorkbenchAdvisor.java:125)
> >     at
> >
> org.eclipse.ui.internal.Workbench.getDefaultPerspectiveId(Workbench.java:3
> 100)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.verifyDefaultPerspect
> ive(PerspectiveRegistry.java:661)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegis
> try.java:417)
> >     at
> >
> org.eclipse.ui.internal.WorkbenchPlugin$2.runWithException(WorkbenchPlugin
> .java:592)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at
> >
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.j
> ava:803)
> >     at
> >
> org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
> >     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> >     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> >     at
> >
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33
> 2)
> >     at
> >
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664
> )
> >     at
> > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainApplication.createWorkbenchAdvisor(MainApplicat
> ion.java:116)
> >     at
> > org.eclipse.epf.rcp.ui.MainApplication.start(MainApplication.java:82)
> >     at
> >
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.jav
> a:196)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicatio
> n(EclipseAppLauncher.java:110)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclipse
> AppLauncher.java:79)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:36
> 9)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:17
> 9)
> >     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.equinox.launcher.Main.invokeFramework(Main.java:620)
> >     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> >     at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> > Caused by: java.lang.ClassNotFoundException:
> > org.eclipse.epf.uma.edit.domain.TraceableAdapterFactoryEditingDomain
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:506)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     ... 74 more
> >
> > !ENTRY org.eclipse.osgi 4 0 2011-12-15 12:48:56.267
> > !MESSAGE An error occurred while automatically activating bundle
> > org.eclipse.epf.authoring.ui (80).
> > !STACK 0
> > org.osgi.framework.BundleException: Exception in
> > org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start() of bundle
> > org.eclipse.epf.authoring.ui.
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
> BundleContextImpl.java:806)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleCon
> textImpl.java:755)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost
> .java:370)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBund
> le.java:284)
> >     at
> >
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.
> java:265)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocal
> Class(EclipseLazyStarter.java:106)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:453)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourc
> ePackage.java:33)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:466)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainWorkbenchAdvisor.getInitialWindowPerspectiveId(
> MainWorkbenchAdvisor.java:125)
> >     at
> >
> org.eclipse.ui.internal.Workbench.getDefaultPerspectiveId(Workbench.java:3
> 100)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.verifyDefaultPerspect
> ive(PerspectiveRegistry.java:661)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegis
> try.java:417)
> >     at
> >
> org.eclipse.ui.internal.WorkbenchPlugin$2.runWithException(WorkbenchPlugin
> .java:592)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at
> >
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.j
> ava:803)
> >     at
> >
> org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
> >     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> >     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> >     at
> >
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33
> 2)
> >     at
> >
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664
> )
> >     at
> > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainApplication.createWorkbenchAdvisor(MainApplicat
> ion.java:116)
> >     at
> > org.eclipse.epf.rcp.ui.MainApplication.start(MainApplication.java:82)
> >     at
> >
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.jav
> a:196)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicatio
> n(EclipseAppLauncher.java:110)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclipse
> AppLauncher.java:79)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:36
> 9)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:17
> 9)
> >     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.equinox.launcher.Main.invokeFramework(Main.java:620)
> >     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> >     at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> > Caused by: java.lang.NoClassDefFoundError:
> > org/eclipse/epf/uma/provider/UmaItemProviderAdapterFactory
> >     at java.lang.ClassLoader.defineClass1(Native Method)
> >     at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >     at java.lang.ClassLoader.defineClass(Unknown Source)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Defau
> ltClassLoader.java:188)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Classpath
> Manager.java:580)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpa
> thManager.java:550)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Cl
> asspathManager.java:481)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCl
> assLoader(ClasspathManager.java:469)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:449)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:469)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at java.lang.ClassLoader.defineClass1(Native Method)
> >     at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >     at java.lang.ClassLoader.defineClass(Unknown Source)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Defau
> ltClassLoader.java:188)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Classpath
> Manager.java:580)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpa
> thManager.java:550)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Cl
> asspathManager.java:481)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCl
> assLoader(ClasspathManager.java:469)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:449)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:469)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at
> >
> org.eclipse.epf.library.edit.internal.TngAdapterFactoryImpl.getWBS_Adapter
> Factories(TngAdapterFactoryImpl.java:182)
> >     at
> >
> org.eclipse.epf.library.edit.internal.TngAdapterFactoryImpl.getWBS_Compose
> dAdapterFactory(TngAdapterFactoryImpl.java:137)
> >     at
> >
> org.eclipse.epf.library.edit.TngAdapterFactory.<clinit>(TngAdapterFactory.
> java:28)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIService.start(AuthoringUIService.j
> ava:103)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start(AuthoringUIPlugin.jav
> a:51)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleCon
> textImpl.java:783)
> >     at java.security.AccessController.doPrivileged(Native Method)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
> BundleContextImpl.java:774)
> >     ... 52 more
> > Caused by: java.lang.ClassNotFoundException:
> > org.eclipse.epf.uma.provider.UmaItemProviderAdapterFactory
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:460)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     ... 92 more
> > Root exception:
> > java.lang.NoClassDefFoundError:
> > org/eclipse/epf/uma/provider/UmaItemProviderAdapterFactory
> >     at java.lang.ClassLoader.defineClass1(Native Method)
> >     at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >     at java.lang.ClassLoader.defineClass(Unknown Source)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Defau
> ltClassLoader.java:188)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Classpath
> Manager.java:580)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpa
> thManager.java:550)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Cl
> asspathManager.java:481)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCl
> assLoader(ClasspathManager.java:469)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:449)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:469)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at java.lang.ClassLoader.defineClass1(Native Method)
> >     at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >     at java.lang.ClassLoader.defineClass(Unknown Source)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Defau
> ltClassLoader.java:188)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Classpath
> Manager.java:580)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpa
> thManager.java:550)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Cl
> asspathManager.java:481)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCl
> assLoader(ClasspathManager.java:469)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:449)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:469)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at
> >
> org.eclipse.epf.library.edit.internal.TngAdapterFactoryImpl.getWBS_Adapter
> Factories(TngAdapterFactoryImpl.java:182)
> >     at
> >
> org.eclipse.epf.library.edit.internal.TngAdapterFactoryImpl.getWBS_Compose
> dAdapterFactory(TngAdapterFactoryImpl.java:137)
> >     at
> >
> org.eclipse.epf.library.edit.TngAdapterFactory.<clinit>(TngAdapterFactory.
> java:28)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIService.start(AuthoringUIService.j
> ava:103)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start(AuthoringUIPlugin.jav
> a:51)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleCon
> textImpl.java:783)
> >     at java.security.AccessController.doPrivileged(Native Method)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
> BundleContextImpl.java:774)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleCon
> textImpl.java:755)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost
> .java:370)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBund
> le.java:284)
> >     at
> >
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.
> java:265)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocal
> Class(EclipseLazyStarter.java:106)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:453)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourc
> ePackage.java:33)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:466)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainWorkbenchAdvisor.getInitialWindowPerspectiveId(
> MainWorkbenchAdvisor.java:125)
> >     at
> >
> org.eclipse.ui.internal.Workbench.getDefaultPerspectiveId(Workbench.java:3
> 100)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.verifyDefaultPerspect
> ive(PerspectiveRegistry.java:661)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegis
> try.java:417)
> >     at
> >
> org.eclipse.ui.internal.WorkbenchPlugin$2.runWithException(WorkbenchPlugin
> .java:592)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at
> >
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.j
> ava:803)
> >     at
> >
> org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
> >     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> >     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> >     at
> >
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33
> 2)
> >     at
> >
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664
> )
> >     at
> > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainApplication.createWorkbenchAdvisor(MainApplicat
> ion.java:116)
> >     at
> > org.eclipse.epf.rcp.ui.MainApplication.start(MainApplication.java:82)
> >     at
> >
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.jav
> a:196)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicatio
> n(EclipseAppLauncher.java:110)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclipse
> AppLauncher.java:79)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:36
> 9)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:17
> 9)
> >     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.equinox.launcher.Main.invokeFramework(Main.java:620)
> >     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> >     at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> > Caused by: java.lang.ClassNotFoundException:
> > org.eclipse.epf.uma.provider.UmaItemProviderAdapterFactory
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:460)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     ... 92 more
> >
> > !ENTRY org.eclipse.osgi 4 0 2011-12-15 12:48:56.357
> > !MESSAGE Application error
> > !STACK 1
> > java.lang.NoClassDefFoundError:
> > org/eclipse/epf/authoring/ui/AuthoringPerspective
> >     at
> >
> org.eclipse.epf.rcp.ui.MainWorkbenchAdvisor.getInitialWindowPerspectiveId(
> MainWorkbenchAdvisor.java:125)
> >     at
> >
> org.eclipse.ui.internal.Workbench.getDefaultPerspectiveId(Workbench.java:3
> 100)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.verifyDefaultPerspect
> ive(PerspectiveRegistry.java:661)
> >     at
> >
> org.eclipse.ui.internal.registry.PerspectiveRegistry.load(PerspectiveRegis
> try.java:417)
> >     at
> >
> org.eclipse.ui.internal.WorkbenchPlugin$2.runWithException(WorkbenchPlugin
> .java:592)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at
> >
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.j
> ava:803)
> >     at
> >
> org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
> >     at
> >
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThread
> ing.java:31)
> >     at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> >     at
> >
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:13
> 4)
> >     at
> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
> >     at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
> >     at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
> >     at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> >     at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> >     at
> >
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33
> 2)
> >     at
> >
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664
> )
> >     at
> > org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> >     at
> >
> org.eclipse.epf.rcp.ui.MainApplication.createWorkbenchAdvisor(MainApplicat
> ion.java:116)
> >     at
> > org.eclipse.epf.rcp.ui.MainApplication.start(MainApplication.java:82)
> >     at
> >
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.jav
> a:196)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicatio
> n(EclipseAppLauncher.java:110)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclipse
> AppLauncher.java:79)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:36
> 9)
> >     at
> >
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:17
> 9)
> >     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.equinox.launcher.Main.invokeFramework(Main.java:620)
> >     at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> >     at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
> > Caused by:
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingCl
> assNotFoundException:
> > An error occurred while automatically activating bundle
> > org.eclipse.epf.authoring.ui (80).
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocal
> Class(EclipseLazyStarter.java:121)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:453)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourc
> ePackage.java:33)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:466)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     ... 37 more
> > Caused by: org.osgi.framework.BundleException: Exception in
> > org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start() of bundle
> > org.eclipse.epf.authoring.ui.
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
> BundleContextImpl.java:806)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleCon
> textImpl.java:755)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost
> .java:370)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBund
> le.java:284)
> >     at
> >
> org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.
> java:265)
> >     at
> >
> org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocal
> Class(EclipseLazyStarter.java:106)
> >     ... 46 more
> > Caused by: java.lang.NoClassDefFoundError:
> > org/eclipse/epf/uma/provider/UmaItemProviderAdapterFactory
> >     at java.lang.ClassLoader.defineClass1(Native Method)
> >     at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >     at java.lang.ClassLoader.defineClass(Unknown Source)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Defau
> ltClassLoader.java:188)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Classpath
> Manager.java:580)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpa
> thManager.java:550)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Cl
> asspathManager.java:481)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCl
> assLoader(ClasspathManager.java:469)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:449)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:469)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at java.lang.ClassLoader.defineClass1(Native Method)
> >     at java.lang.ClassLoader.defineClassCond(Unknown Source)
> >     at java.lang.ClassLoader.defineClass(Unknown Source)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Defau
> ltClassLoader.java:188)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Classpath
> Manager.java:580)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Classpa
> thManager.java:550)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Cl
> asspathManager.java:481)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockCl
> assLoader(ClasspathManager.java:469)
> >     at
> >
> org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Classp
> athManager.java:449)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(De
> faultClassLoader.java:216)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.
> java:393)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:469)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     at
> >
> org.eclipse.epf.library.edit.internal.TngAdapterFactoryImpl.getWBS_Adapter
> Factories(TngAdapterFactoryImpl.java:182)
> >     at
> >
> org.eclipse.epf.library.edit.internal.TngAdapterFactoryImpl.getWBS_Compose
> dAdapterFactory(TngAdapterFactoryImpl.java:137)
> >     at
> >
> org.eclipse.epf.library.edit.TngAdapterFactory.<clinit>(TngAdapterFactory.
> java:28)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIService.start(AuthoringUIService.j
> ava:103)
> >     at
> >
> org.eclipse.epf.authoring.ui.AuthoringUIPlugin.start(AuthoringUIPlugin.jav
> a:51)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleCon
> textImpl.java:783)
> >     at java.security.AccessController.doPrivileged(Native Method)
> >     at
> >
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(
> BundleContextImpl.java:774)
> >     ... 52 more
> > Caused by: java.lang.ClassNotFoundException:
> > org.eclipse.epf.uma.provider.UmaItemProviderAdapterFactory
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoad
> er.java:460)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 422)
> >     at
> >
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:
> 410)
> >     at
> >
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Default
> ClassLoader.java:107)
> >     at java.lang.ClassLoader.loadClass(Unknown Source)
> >     ... 92 more
>
>
>
> On 14/12/11 07:17, Oberlies, Tobias wrote:
> > Tycho really does nothing special - so there is most likely some problem
> in your configuration. Still I am surprised that this leads to VM crashes.
> You should probably talk to the Eclipse Platform or SWT guys about this
> problem - they may be able to read anything from the dump files. I don't
> have any experience with these files.
> >
> > Regards
> > Tobias
> >
> >
> >> -----Original Message-----
> >> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-
> >> bounces@xxxxxxxxxxx] On Behalf Of Cristiano Gavião
> >> Sent: Samstag, 10. Dezember 2011 00:37
> >> To: tycho-user@xxxxxxxxxxx
> >> Subject: [tycho-user] RCP build with tycho crash when start it in macos
> >>
> >> Hi guys,
> >>
> >> I'm with a annoying problem here that I couldn't figure out and need a
> >> help.
> >>
> >> I have a product that is being built with tycho (0.14.0-SNAPSHOT) for
> >> macosx (native) with java version "1.6.0_29".
> >> The build seems to be ok and the zip file is created properly. The
> >> problem is when I try to run the application it crash on splash loading
> >> bundles phase. I could not see any eclipse log, but the system
> generates
> >> one that is attached.
> >>
> >> The most interesting thing is that when I start the application from
> IDE
> >> or export it from PDE,  it just run fine !! :(
> >>
> >> This is the pom:
> >>
> >>> <build>
> >>> <plugins>
> >>> <plugin>
> >>> <groupId>org.eclipse.tycho</groupId>
> >>> <artifactId>tycho-p2-director-plugin</artifactId>
> >>> <version>${tycho-version}</version>
> >>> <executions>
> >>> <execution>
> >>> <!-- install the product for all configured os/ws/arch environments
> >>>                              using p2 director -->
> >>> <id>materialize-products</id>
> >>> <goals>
> >>> <goal>materialize-products</goal>
> >>> </goals>
> >>> </execution>
> >>> <execution>
> >>> <!-- (optional) create product zips (one per os/ws/arch) -->
> >>> <id>archive-products</id>
> >>> <goals>
> >>> <goal>archive-products</goal>
> >>> </goals>
> >>> </execution>
> >>> </executions>
> >>> </plugin>
> >>
> >> I've setup configuration on product file using tycho demo 04 as
> template:
> >>
> >>> <configurations>
> >>> <plugin id="org.eclipse.core.runtime" autoStart="true" startLevel="4"
> />
> >>> <plugin id="org.eclipse.equinox.common" autoStart="true"
> startLevel="2"
> >> />
> >>> <plugin id="org.eclipse.equinox.ds" autoStart="true" startLevel="1" />
> >>> <plugin id="org.eclipse.equinox.p2.reconciler.dropins"
> >>> autoStart="true" startLevel="4" />
> >>> <plugin id="org.eclipse.equinox.simpleconfigurator" autoStart="true"
> >>> startLevel="1" />
> >>> <plugin id="org.eclipse.update.configurator" autoStart="true"
> >>> startLevel="4" />
> >>> </configurations>
> >> and this is the generated config.ini:
> >>
> >>> #This configuration file was written by:
> >>>
> >>
> org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFilePar
> >> ser
> >>> #Fri Dec 09 20:20:32 BRT 2011
> >>> org.eclipse.update.reconcile=false
> >>> eclipse.p2.profile=DefaultProfile
> >>> osgi.framework=file\:plugins/org.eclipse.osgi_3.6.2.R36x_v20110210.jar
> >>> equinox.use.ds=true
> >>>
> >>
> osgi.bundles=reference\:file\:org.eclipse.equinox.ds_1.2.1.R36x_v20100803.
> >>
> jar@1\:start,reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.2
> >> 00.v20100503.jar@1\:start
> >>
> org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox
> >> .simpleconfigurator/bundles.info
> >>> eclipse.product=org.eclipse.epf.rcp.ui.composer
> >>> osgi.splashPath=platform\:/base/plugins/org.eclipse.epf.rcp.ui
> >>> osgi.framework.extensions=
> >>> osgi.bundles.defaultStartLevel=4
> >>> eclipse.p2.data.area=@config.dir/../p2
> >>> eclipse.application=org.eclipse.epf.rcp.ui.MainApplication
> >>
> >> Could someone give any clue for investigate this?
> >>
> >> thanks
> >>
> >> Cristiano
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/tycho-user
>
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top