Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » NoClassDefFoundError in standalone RCP
NoClassDefFoundError in standalone RCP [message #459522] Mon, 04 December 2006 10:20 Go to next message
Eclipse UserFriend
Hi everybody,

I have an RCP application with several plugins. If I start the application
standalone I get the following errors.
If I define this application as a target platform in my eclipse workbench,
and start it via a start-configuration everything
works fine.

Has anyone an idea what goes wrong here?

Thanks!!!

Carsten



!ENTRY org.eclipse.ui.workbench 4 2 2006-12-04 15:38:23.665
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError:
com/dvelop/modulelibrary/exceptions/DVModuleLibraryConnectio nFailedException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:157)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
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.views.properties.tabbed.view.TabbedP ropertyRegistry. <init>(TabbedPropertyRegistry.java:110)
at
org.eclipse.ui.internal.views.properties.tabbed.view.TabbedP ropertyRegistryFactory.createRegistry(TabbedPropertyRegistry Factory.java:69)
at
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPa ge.initContributor(TabbedPropertySheetPage.java:390)
at
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPa ge. <init>(TabbedPropertySheetPage.java:279)
at
com.dvelop.ecm.processeditor.designer.ui.FlowEditor.getAdapt er(FlowEditor.java:508)
at
org.eclipse.ui.views.properties.PropertySheet.doCreatePage(P ropertySheet.java:119)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.jav a:399)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:743)
at
org.eclipse.ui.views.properties.PropertySheet.partActivated( PropertySheet.java:192)
at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerL ist.java:72)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at
org.eclipse.ui.internal.PartListenerList.fireEvent(PartListe nerList.java:57)
at
org.eclipse.ui.internal.PartListenerList.firePartActivated(P artListenerList.java:70)
at
org.eclipse.ui.internal.PartService.firePartActivated(PartSe rvice.java:73)
at org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:171)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java :126)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3207)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage .java:588)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2604)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
at
com.dvelop.plugins.workflowperspective.actions.NewWFLAction. execute(NewWFLAction.java:99)
at
com.dvelop.ecm.runtime.commands.ECMCommandCaller.setAndExecu teCommand(ECMCommandCaller.java:42)
at
com.dvelop.plugins.workflowperspective.actions.NewWFLAction. run(NewWFLAction.java:52)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at com.dvelop.ecm.basic.Application.run(Application.java:27)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui.workbench 4 2 2006-12-04 15:38:27.710
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NoClassDefFoundError:
com/dvelop/modulelibrary/exceptions/DVModuleLibraryConnectio nFailedException
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:157)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:759)
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.views.properties.tabbed.view.TabbedP ropertyRegistry. <init>(TabbedPropertyRegistry.java:110)
at
org.eclipse.ui.internal.views.properties.tabbed.view.TabbedP ropertyRegistryFactory.createRegistry(TabbedPropertyRegistry Factory.java:69)
at
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPa ge.initContributor(TabbedPropertySheetPage.java:390)
at
org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPa ge. <init>(TabbedPropertySheetPage.java:279)
at
com.dvelop.ecm.processeditor.designer.ui.FlowEditor.getAdapt er(FlowEditor.java:508)
at
org.eclipse.ui.views.properties.PropertySheet.doCreatePage(P ropertySheet.java:119)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.jav a:399)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView. java:743)
at
org.eclipse.ui.views.properties.PropertySheet.partActivated( PropertySheet.java:192)
at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerL ist.java:72)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at
org.eclipse.ui.internal.PartListenerList.fireEvent(PartListe nerList.java:57)
at
org.eclipse.ui.internal.PartListenerList.firePartActivated(P artListenerList.java:70)
at
org.eclipse.ui.internal.PartService.firePartActivated(PartSe rvice.java:73)
at org.eclipse.ui.internal.PartService.setActivePart(PartServic e.java:171)
at
org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePart Changed(WorkbenchPagePartList.java:56)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java :126)
at
org.eclipse.ui.internal.WorkbenchPage.setActivePart(Workbenc hPage.java:3207)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage .java:588)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2604)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPag e.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2477)
at
com.dvelop.plugins.workflowperspective.actions.NewWFLAction. execute(NewWFLAction.java:99)
at
com.dvelop.ecm.runtime.commands.ECMCommandCaller.setAndExecu teCommand(ECMCommandCaller.java:42)
at
com.dvelop.plugins.workflowperspective.actions.NewWFLAction. run(NewWFLAction.java:52)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:254)
at
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:539)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:488)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at com.dvelop.ecm.basic.Application.run(Application.java:27)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:177)
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:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Re: NoClassDefFoundError in standalone RCP [message #459523 is a reply to message #459522] Mon, 04 December 2006 10:40 Go to previous messageGo to next message
Eclipse UserFriend
Hi again,

here a small addition to my situation.

I added a Perspective-Change Listener to the workbench window. In this
Listener a view is opened. After opening the view I try
to cast the viewPart to ResourceNavigator which is the view part class I
created (don
Re: NoClassDefFoundError in standalone RCP [message #459530 is a reply to message #459523] Mon, 04 December 2006 15:32 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Are you sure you specified the needed plugins for your application?

Hannes
Re: NoClassDefFoundError in standalone RCP [message #459625 is a reply to message #459530] Tue, 05 December 2006 02:21 Go to previous message
Eclipse UserFriend
Hi,

yes I
Previous Topic:BIRT Help - xml file as data source
Next Topic:Making -showlocation option default
Goto Forum:
  


Current Time: Tue Mar 25 02:33:53 EDT 2025

Powered by FUDForum. Page generated in 0.03268 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top