|
Re: Invoking the web viewer [message #368651 is a reply to message #368644] |
Wed, 17 June 2009 14:00 |
Eclipse User |
|
|
|
Originally posted by: jasonweathersby.windstream.net
Sushant,
When you run it is the viewer plugin in your target? You will need to
make sure you have several of the birt plugins in your target as well.
I just posted on another thread this link:
http://www.birt-exchange.org/devshare/deploying-birt-reports /792-eclipsecon-2009-integrating-birt/#description
It has several rcp examples. Each example has a target configuration
that shows which plugins are required.
Jason
Sushant Dusad wrote:
> Hi All,
> I want to invoke the BIRT Web Viewer from my Plugin which will be
> deployed in an BIRT RCP on a menu item click.
> I tried with
> WebViewer./display/(ReportHelper./getFileName/(), WebViewer./HTM/,
> WebViewer./VIEWER_PREVIEW/);
> but i am getting teh following stack trace.
> I have added the org.eclipse.birt.report.viewer plugin in my plugin
> dependencies.
>
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/birt/report/viewer/utilities/WebViewer
> at
> com.sample.birt.reporting.run.actions.RunReportActionDelegat e.run(RunReportActionDelegate.java:29)
> at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginActi on.java:251)
> at
> org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPl uginAction.java:229)
> at
> org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)
> at
> org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)
> at
> org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:411)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3823)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2382)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:21 98)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:488)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.birt.report.designer.ui.rcp.DesignerApplication. run(DesignerApplication.java:38)
> 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:585)
> at
> org.eclipse.equinox.internal.app.EclipseAppContainer.callMet hodWithException(EclipseAppContainer.java:574)
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:195)
> 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:386)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
> 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:585)
> 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)
>
> Any pointers on this would be helpful.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02928 seconds