Hallo,<br />
<br />
I try to view a report in an eclipse 4 based Application (org.eclipse.e4.ui.workbench.swt.E4Application).<br />
<br />
When I start the application, the viewer loads but then shows an error:<br />
"org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.<br />
at org.eclipse.birt.report.service.ReportEngineService.throwDummyException(ReportEngineService.java:1107..."<br />
<br />
In the eclipse concole the following errors show up:<br />
<br />
"!MESSAGE An error occurred while automatically activating bundle org.eclipse.birt.report.designer.ui (131).<br />
!STACK 0<br />
org.osgi.framework.BundleException: Exception in org.eclipse.birt.report.designer.ui.ReportPlugin.start() of bundle org.eclipse.birt.report.designer.ui.<br />
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)<br />
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)<br />
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)<br />
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)..."<br />
<br />
and:<br />
<br />
"Caused by: java.lang.IllegalStateException: Workbench has not been created yet.<br />
at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:92)<br />
at org.eclipse.birt.report.designer.ui.ReportPlugin.start(ReportPlugin.java:304)<br />
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711..."<br />
<br />
I start the viewer by:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>Browser browser = new Browser(parent, SWT.None);
WebViewer.display(path, WebViewer.HTML, browser,"frameset");</pre>
<br />
Where path is pointing at a .rptdesign file which runs fine in the Birt designer preview (also in Eclipse 4).<br />
<br />
I'm really new to BIRT so please excuse if that is a trivial question.

<br />
<br />
Thanks for your Help!<br />
<br />
mystikall