Home » Eclipse Projects » BIRT » ReportServiceException when trying to preview a report more than once
| ReportServiceException when trying to preview a report more than once [message #655503] |
Mon, 21 February 2011 08:32  |
RWIL Mising name Messages: 28 Registered: February 2011 |
Junior Member |
|
|
Hi,
I'm trying to create a sample report which uses a Java object as datasource.
When I click on the Preview tab to see how it looks, it works fine at the first Preview. But when I go back to source and click on Preview again, I've got an exception (see below).
Eclipse Birt Report designer seems to load the native library at the first preview and seems unable to reload it at the second preview.
I have to restart Eclipse at each preview, and it's not funny...
Does anyone have an idea on how to avoid that problem ?
org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.
at org.eclipse.birt.report.service.ReportEngineService.throwDum myException(ReportEngineService.java:1097)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(ReportEngineService.java:926)
at org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(BirtViewerReportService.java:973)
(...)
Caused by: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doR un(RunAndRenderTask.java:209)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:77)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(ReportEngineService.java:920)
... 49 more
Caused by: java.lang.UnsatisfiedLinkError: Cannot load native JNIWrapper library (jniwrap.dll). at com.jniwrapper.Library.loadNativeCode(SourceFile:78)
at com.jniwrapper.Library.loadNativeCode(SourceFile:103)
at com.jniwrapper.Library.ensureNativeCode(SourceFile:113)
at com.jniwrapper.PlatformContext.a(SourceFile:452)
[Updated on: Mon, 21 February 2011 08:33] Report message to a moderator
|
|
| | | | | | | |
| Re: ReportServiceException when trying to preview a report more than once [message #656799 is a reply to message #656015] |
Mon, 28 February 2011 11:27   |
RWIL Mising name Messages: 28 Registered: February 2011 |
Junior Member |
|
|
Hi Jason,
(sorry for the delay, I was off since thursday).
I'm not sure what you mean about "preview in the Viewer". If I access to the report in the Birt Viewer through Tomcat, it works fine and I can run this report as often as I need it without problem.
I have no idea how to "preview the dataset". It's a scripted dataset and I don't know where I can preview it.
About the special property "New event on each handler", it has the value "true" in the properties of the report, but it's still "false : Inherited" in the datasource's advanced properties and in the dataset's advanced properties.
I've no code used to load the library : I'm using a third-party (ComfyJ) jar file and it loads its library itself. This work fine on our web application, with the same classes.
Renaud
[Updated on: Mon, 28 February 2011 11:29] Report message to a moderator
|
|
|
| Re: ReportServiceException when trying to preview a report more than once [message #656838 is a reply to message #656799] |
Mon, 28 February 2011 13:22   |
Jason Weathersby Messages: 9167 Registered: July 2009 |
Senior Member |

|
|
Renaud,
In the designer you can select the preview tab to preview the report,
but you also can choose to preview it in the Web Viewer from an icon in
the toolbar. That is what I wanted you to test. To preview the
dataset, double click on the dataset and it will open the dataset editor
which has a preview tab to preview the dataset.
Jason
On 2/28/2011 11:27 AM, RWIL wrote:
> Hi Jason,
>
> (sorry for the delay, I was off since thursday).
>
> I'm not sure what you mean about "preview in the Viewer". If I access to
> the report in the Birt Viewer through Tomcat, it works fine and I can
> run this report as often as I need it without problem.
>
> I have no idea how to "preview the dataset". It's a scripted dataset and
> I don't know where I can preview it.
>
> About the special property "New event on each handler", it has the value
> "true" in the properties of the report, but it's still "false :
> Inherited" in the datasource's advanced properties and in the dataset's
> advanced properties.
>
> Renaud
>
>
>
Jason Weathersby
BIRT Exchange
|
|
| | |
| Re: ReportServiceException when trying to preview a report more than once [message #659483 is a reply to message #657097] |
Mon, 14 March 2011 05:08   |
RWIL Mising name Messages: 28 Registered: February 2011 |
Junior Member |
|
|
Hi Jason,
Sorry, but i can't. To be able to do that I will have to create a small sample and it will be hard to create : we use an external server through DCOM (c++), a thirt-party bridge between Java and COM to access to the local stubs, a lot of DLLs, ...
To be honest, I'm still unable to use the "preview" modes more than once, but as it works when I'm debugging the report, I'm always working in debug mode. And I works on the report directly in the main folder of the Birt Viewer, to be able to "preview" it when I want with just a refresh in my browser.
Thanks you for your help.
|
|
|
| Re: ReportServiceException when trying to preview a report more than once [message #659556 is a reply to message #659483] |
Mon, 14 March 2011 10:59  |
Jason Weathersby Messages: 9167 Registered: July 2009 |
Senior Member |

|
|
Can you open a bugzilla entry, maybe someone else on the dev team will
be able to shed some light on this.
Jason
On 3/14/2011 5:08 AM, RWIL wrote:
> Hi Jason,
>
> Sorry, but i can't. To be able to do that I will have to create a small
> sample and it will be hard to create : we use an external server through
> DCOM (c++), a thirt-party bridge between Java and COM to access to the
> local stubs, a lot of DLLs, ...
> To be honest, I'm still unable to use the "preview" modes more than
> once, but as it works when I'm debugging the report, I'm always working
> in debug mode. And I works on the report directly in the main folder of
> the Birt Viewer, to be able to "preview" it when I want with just a
> refresh in my browser.
>
> Thanks you for your help.
Jason Weathersby
BIRT Exchange
|
|
|
Goto Forum:
Current Time: Wed May 22 05:35:30 EDT 2013
Powered by FUDForum. Page generated in 0.03350 seconds
|