| 
| OSGI error or something like it [message #120676] | Tue, 31 January 2006 03:19  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: jan.tanis.coas.com 
 Hi all,
 
 Due to my experience with the XML ODA UI I tried to go from scratch.
 However, when I deploy my dummy I get the following stacktrace in my log
 file:
 
 !SESSION 2006-01-31 09:14:03.240
 -----------------------------------------------
 eclipse.buildId=unknown
 java.version=1.5.0_01
 java.vendor=Sun Microsystems Inc.
 BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
 Command-line arguments:  -os win32 -ws win32 -arch x86
 
 !ENTRY org.eclipse.osgi 2 1 2006-01-31 09:14:04.992
 !MESSAGE NLS missing message: ReportSettingPageDesc in:
 org.eclipse.birt.report.designer.ui.rcp.nls.messages
 
 !ENTRY org.eclipse.osgi 2006-01-31 09:14:30.990
 !MESSAGE An error occurred while automatically activating bundle
 org.eclipse.birt.report.data.oda.soap.ui (82).
 !STACK 0
 org.osgi.framework.BundleException: The activator
 org.eclipse.birt.report.data.oda.soap.ui.UiPlugin for bundle
 org.eclipse.birt.report.data.oda.soap.ui is invalid
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:151)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:965)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:266)
 at
 org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:116)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(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.loadCl ass(BundleLoader.java:275)
 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:1259)
 at
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
 at
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
 at
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
 at
 org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
 at
 org.eclipse.birt.report.designer.ui.odadatasource.wizards.Da taSourceSelectionPage.getNextPage(DataSourceSelectionPage.ja va:269)
 at  org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:747)
 at
 org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
 at  org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
 at  org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
 at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
 at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 at  org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
 at org.eclipse.jface.window.Window.open(Window.java:787)
 at
 org.eclipse.birt.report.designer.ui.actions.NewDataSourceAct ion.run(NewDataSourceAction.java:83)
 at  org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
 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:843)
 at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 at  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
 at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
 at
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
 at  org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
 at
 org.eclipse.birt.report.designer.ui.rcp.DesignerApplication. run(DesignerApplication.java:36)
 at
 org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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.ClassNotFoundException:
 org.eclipse.birt.report.data.oda.soap.ui.UiPlugin
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(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.loadCl ass(BundleLoader.java:275)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:144)
 ... 52 more
 Root exception:
 java.lang.ClassNotFoundException:
 org.eclipse.birt.report.data.oda.soap.ui.UiPlugin
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:403)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(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.loadCl ass(BundleLoader.java:275)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:144)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:965)
 at
 org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:321)
 at
 org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:266)
 at
 org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:116)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:337)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:389)
 at
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(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.loadCl ass(BundleLoader.java:275)
 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:1259)
 at
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:152)
 at
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:142)
 at
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:129)
 at
 org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 48)
 at
 org.eclipse.birt.report.designer.ui.odadatasource.wizards.Da taSourceSelectionPage.getNextPage(DataSourceSelectionPage.ja va:269)
 at  org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:747)
 at
 org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
 at  org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
 at  org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
 at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
 at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 at  org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
 at org.eclipse.jface.window.Window.open(Window.java:787)
 at
 org.eclipse.birt.report.designer.ui.actions.NewDataSourceAct ion.run(NewDataSourceAction.java:83)
 at  org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
 at
 org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:538)
 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:843)
 at  org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 at  org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 at  org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
 at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
 at
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
 at  org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
 at
 org.eclipse.birt.report.designer.ui.rcp.DesignerApplication. run(DesignerApplication.java:36)
 at
 org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
 at
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
 
 Does anyone know what is wrong with it? I remember that Jason said
 something about OSGI and plug-ins. But I can't remember what it was.
 
 Best regards, and thanks in advance. Jan.
 |  |  |  | 
|  | 
| 
| Re: OSGI error or something like it [message #122245 is a reply to message #120698] | Tue, 31 January 2006 19:23   |  | 
| Eclipse User  |  |  |  |  | Jan, Did you use "Eclipse -clean" to re-start Eclipse after you deploy/update
 your plugin?
 
 --
 Gary Xue
 Actuate Corporation - Product Development
 BIRT Committer
 "Jan Tanis" <jan.tanis@coas.com> wrote in message
 news:drn7hp$afv$1@utils.eclipse.org...
 > It seems that BIRT is just ignoring what I define in my plugin.xml. I've
 > added a new implementation of DefaultExtendedDataSourceWizard and refer
 > to it from my plugin.xml. However, BIRT still calls my old
 > implementation. This is just freaking me out. Does somebody know WHY
 > BIRT is doing this?
 >
 > Thanks, Jan.
 >
 > Jan Tanis wrote:
 > > Hi all,
 > >
 > > Due to my experience with the XML ODA UI I tried to go from scratch.
 > > However, when I deploy my dummy I get the following stacktrace in my log
 > > file:
 > >
 > > !SESSION 2006-01-31 09:14:03.240
 > > -----------------------------------------------
 > > eclipse.buildId=unknown
 > > java.version=1.5.0_01
 > > java.vendor=Sun Microsystems Inc.
 > > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=nl_NL
 > > Command-line arguments:  -os win32 -ws win32 -arch x86
 > >
 > > !ENTRY org.eclipse.osgi 2 1 2006-01-31 09:14:04.992
 > > !MESSAGE NLS missing message: ReportSettingPageDesc in:
 > > org.eclipse.birt.report.designer.ui.rcp.nls.messages
 > >
 > > !ENTRY org.eclipse.osgi 2006-01-31 09:14:30.990
 > > !MESSAGE An error occurred while automatically activating bundle
 > > org.eclipse.birt.report.data.oda.soap.ui (82).
 > > !STACK 0
 > > org.osgi.framework.BundleException: The activator
 > > org.eclipse.birt.report.data.oda.soap.ui.UiPlugin for bundle
 > > org.eclipse.birt.report.data.oda.soap.ui is invalid
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(
 AbstractBundle.java:151)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleConte
 xtImpl.java:965)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.j
 ava:321)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle
 ..java:266)
 > >
 > >     at
 > >
 org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseCl
 assLoader.java:116)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleL
 oader.java:337)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:389)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:350)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(Abstra
 ctClassLoader.java:78)
 > >
 > >     at java.lang.ClassLoader.loadClass(Unknown Source)
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader
 ..java:275)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.jav
 a:227)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBu
 ndle.java:1259)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExte
 nsion(ConfigurationElement.java:152)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExte
 nsion(ConfigurationElement.java:142)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExte
 nsion(ConfigurationElement.java:129)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutab
 leExtension(ConfigurationElementHandle.java:48)
 > >
 > >     at
 > >
 org.eclipse.birt.report.designer.ui.odadatasource.wizards.Da taSourceSelectio
 nPage.getNextPage(DataSourceSelectionPage.java:269)
 > >
 > >     at
 > >  org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:747)
 > >     at
 > >
 org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
 > >     at
 org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
 > >     at
 > >  org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
 > >     at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
 > >     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
 > >     at
 org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 > >     at
 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 > >     at  org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
 > >     at org.eclipse.jface.window.Window.open(Window.java:787)
 > >     at
 > >
 org.eclipse.birt.report.designer.ui.actions.NewDataSourceAct ion.run(NewDataS
 ourceAction.java:83)
 > >
 > >     at  org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
 > >     at
 > >
 org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
 ContributionItem.java:538)
 > >
 > >     at
 > >
 org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
 tem.java:488)
 > >
 > >     at
 > >
 org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
 tionItem.java:400)
 > >
 > >     at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
 > >     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
 > >     at
 org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 > >     at
 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 > >     at
 org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
 > >     at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
 > >     at
 > >
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
 > >     at
 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
 > >     at
 > >
 org.eclipse.birt.report.designer.ui.rcp.DesignerApplication. run(DesignerAppl
 ication.java:36)
 > >
 > >     at
 > >
 org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
 java:226)
 > >
 > >     at
 > >
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
 > >
 > >     at
 > >
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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.ClassNotFoundException:
 > > org.eclipse.birt.report.data.oda.soap.ui.UiPlugin
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:403)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:350)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(Abstra
 ctClassLoader.java:78)
 > >
 > >     at java.lang.ClassLoader.loadClass(Unknown Source)
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader
 ..java:275)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.jav
 a:227)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(
 AbstractBundle.java:144)
 > >
 > >     ... 52 more
 > > Root exception:
 > > java.lang.ClassNotFoundException:
 > > org.eclipse.birt.report.data.oda.soap.ui.UiPlugin
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:403)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:350)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(Abstra
 ctClassLoader.java:78)
 > >
 > >     at java.lang.ClassLoader.loadClass(Unknown Source)
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader
 ..java:275)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.jav
 a:227)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(
 AbstractBundle.java:144)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleConte
 xtImpl.java:965)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.j
 ava:321)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle
 ..java:266)
 > >
 > >     at
 > >
 org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseCl
 assLoader.java:116)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleL
 oader.java:337)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:389)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
 ..java:350)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(Abstra
 ctClassLoader.java:78)
 > >
 > >     at java.lang.ClassLoader.loadClass(Unknown Source)
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader
 ..java:275)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.jav
 a:227)
 > >
 > >     at
 > >
 org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(AbstractBu
 ndle.java:1259)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExte
 nsion(ConfigurationElement.java:152)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExte
 nsion(ConfigurationElement.java:142)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExte
 nsion(ConfigurationElement.java:129)
 > >
 > >     at
 > >
 org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutab
 leExtension(ConfigurationElementHandle.java:48)
 > >
 > >     at
 > >
 org.eclipse.birt.report.designer.ui.odadatasource.wizards.Da taSourceSelectio
 nPage.getNextPage(DataSourceSelectionPage.java:269)
 > >
 > >     at
 > >  org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDial og.java:747)
 > >     at
 > >
 org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:345)
 > >     at
 org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:556)
 > >     at
 > >  org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:90)
 > >     at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
 > >     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
 > >     at
 org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 > >     at
 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 > >     at  org.eclipse.jface.window.Window.runEventLoop(Window.java:809 )
 > >     at org.eclipse.jface.window.Window.open(Window.java:787)
 > >     at
 > >
 org.eclipse.birt.report.designer.ui.actions.NewDataSourceAct ion.run(NewDataS
 ourceAction.java:83)
 > >
 > >     at  org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
 > >     at
 > >
 org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(Action
 ContributionItem.java:538)
 > >
 > >     at
 > >
 org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionI
 tem.java:488)
 > >
 > >     at
 > >
 org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContribu
 tionItem.java:400)
 > >
 > >     at  org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
 > >     at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
 > >     at
 org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3080)
 > >     at
 org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2713)
 > >     at
 org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
 > >     at  org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
 > >     at
 > >
 org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
 > >     at
 org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
 > >     at
 > >
 org.eclipse.birt.report.designer.ui.rcp.DesignerApplication. run(DesignerAppl
 ication.java:36)
 > >
 > >     at
 > >
 org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
 java:226)
 > >
 > >     at
 > >
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
 > >
 > >     at
 > >
 org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.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)
 > >
 > > Does anyone know what is wrong with it? I remember that Jason said
 > > something about OSGI and plug-ins. But I can't remember what it was.
 > >
 > > Best regards, and thanks in advance. Jan.
 |  |  |  | 
| 
| Re: OSGI error or something like it [message #122442 is a reply to message #122245] | Wed, 01 February 2006 01:34  |  | 
| Eclipse User  |  |  |  |  | Originally posted by: jan.tanis.coas.com 
 I'm so stupid! No, I didn't. So now it works. Thanks Gary!
 
 Best regards, Jan.
 
 Gary Xue wrote:
 > Jan,
 > Did you use "Eclipse -clean" to re-start Eclipse after you deploy/update
 > your plugin?
 >
 |  |  |  | 
Powered by 
FUDForum. Page generated in 0.05075 seconds