Hi, <br />
<br />
i am trying to integrate the WebViewer into a RCP client. I have followed this <a class='bbc_url' href='
http://wiki.eclipse.org/RCP_Example_(BIRT)_2.1'>RCP Example (BIRT) 2.1 - Eclipsepedia</a> example and did the two needed steps:<br />
<br />
1. Added the Required Plug-In Dependencies.<br />
and<br />
2. Added this line: WebViewer.display(reportName, WebViewer.HTML, true);<br />
<br />
The problem is - nothing is displayed. <br />
Instead it throws an exception, it looks like the WebViewer cant find some port or just can't start. I searched for something on this but found nothing, any suggestions/ideas please? <br />
<br />
Here is the exception:<br />
<br />
java.lang.NullPointerException<br />
at org.eclipse.birt.report.viewer.utilities.AppServerWrapper.getPort(AppServerWrapper.java:207)<br />
at org.eclipse.birt.report.viewer.utilities.WebappAccessor.getPort(WebappAccessor.java:162)<br />
at org.eclipse.birt.report.viewer.utilities.WebViewer.getBaseURL(WebViewer.java:296)<br />
at org.eclipse.birt.report.viewer.utilities.WebViewer.createURL(WebViewer.java:489)<br />
at org.eclipse.birt.report.viewer.utilities.WebViewer.createURL(WebViewer.java:457)<br />
at org.eclipse.birt.report.viewer.utilities.WebViewer.display(WebViewer.java:856)<br />
at org.eclipse.birt.report.viewer.utilities.WebViewer.display(WebViewer.java:830)<br />
at info.novatec.incharge.rcp.editor.reporting.dialog.ReportStartDialog.run(ReportStartDialog.java:234)<br />
at info.novatec.incharge.rcp.editor.reporting.dialog.ReportStartDialog.buttonPressed(ReportStartDialog.java:472)<br />
<br />
I have run successfully the example projects from the link above, so its probably not an issue of the environment. I use Eclipse Ganymede and BIRT 2.3.<br />
<br />
Tanks in advance.