Report Document Error [message #364816] |
Mon, 25 August 2008 04:08  |
Eclipse User |
|
|
|
Hi,
i came accross a strange problem using BIRT 2.3.0.
I use the all-in-one.
For a specific report (whith a chart and a crosstab) i get an exception
from time to time (not reproducable, at least not for me).
The exception comes up if i use the report Viewer in a tomcat 5.5.25
Version.
Here's the exception:
org.eclipse.birt.data.engine.core.DataException: A report document error
occurred when getting the save stream.
Can not get entry named /DataEngine/NamingRelation because the archive
file has been closed. System ID: null
at
org.eclipse.birt.data.engine.api.DataEngineContext.getOutput Stream(DataEngineContext.java:292)
at
org.eclipse.birt.data.engine.impl.document.BaseSave.saveNami ngRelation(BaseSave.java:53)
at
org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelpe r.saveNamingRelation(ResultIterator.java:1115)
at
org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelpe r.access$2(ResultIterator.java:1112)
at
org.eclipse.birt.data.engine.impl.ResultIterator.saveNamingR elation(ResultIterator.java:892)
at
org.eclipse.birt.data.engine.impl.ResultIterator.close(Resul tIterator.java:846)
at
org.eclipse.birt.data.engine.impl.ResultIterator.finalize(Re sultIterator.java:874)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:1 60)
Caused by: java.io.IOException: Can not get entry named
/DataEngine/NamingRelation because the archive file has been closed.
System ID: null
at
org.eclipse.birt.core.archive.compound.ArchiveFile.getEntry( ArchiveFile.java:294)
at
org.eclipse.birt.core.archive.compound.ArchiveWriter.openRan domAccessStream(ArchiveWriter.java:63)
at
org.eclipse.birt.data.engine.api.DataEngineContext.getOutput Stream(DataEngineContext.java:283)
... 10 more
I already googled for the description but only found one post in this
newslist which dealt with the configuration of timezones.
I have two date-fields as report-parameters linked with
dataset-parameters, but nothing in relation to a timezone.
I already logged the viewer with the log level parameter 'ALL' but there
was no entry in the log-file giving me a hint.
Has anybody an idea where to look depending on the exception?
By the way, i rebuildt the report from scratch two times, but i couldn't
find the reason for the problem.
Appreciate any hint,
Andreas
|
|
|
|
|
Re: Report Document Error [message #364859 is a reply to message #364845] |
Tue, 26 August 2008 04:15  |
Eclipse User |
|
|
|
Logged a bug under
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245218
Andreas
Jason Weathersby wrote:
> Andreas,
> Can you log a bug for this?
> Jason
> Andreas wrote:
>> Andreas wrote:
>>
>>> Hi,
>>> i came accross a strange problem using BIRT 2.3.0.
>>> I use the all-in-one.
>>> For a specific report (whith a chart and a crosstab) i get an
>>> exception from time to time (not reproducable, at least not for me).
>>> The exception comes up if i use the report Viewer in a tomcat 5.5.25
>>> Version.
>>> Here's the exception:
>>
>>> org.eclipse.birt.data.engine.core.DataException: A report document
>>> error occurred when getting the save stream.
>>> Can not get entry named /DataEngine/NamingRelation because the archive
>>> file has been closed. System ID: null
>>> at
>>
org.eclipse.birt.data.engine.api.DataEngineContext.getOutput Stream(DataEngineContext.java:292)
>>
>>> at
>>
org.eclipse.birt.data.engine.impl.document.BaseSave.saveNami ngRelation(BaseSave.java:53)
>>
>>> at
>>
org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelpe r.saveNamingRelation(ResultIterator.java:1115)
>>
>>> at
>>
org.eclipse.birt.data.engine.impl.ResultIterator$RDSaveHelpe r.access$2(ResultIterator.java:1112)
>>
>>> at
>>
org.eclipse.birt.data.engine.impl.ResultIterator.saveNamingR elation(ResultIterator.java:892)
>>
>>> at
>>
org.eclipse.birt.data.engine.impl.ResultIterator.close(Resul tIterator.java:846)
>>
>>> at
>>
org.eclipse.birt.data.engine.impl.ResultIterator.finalize(Re sultIterator.java:874)
>>
>>> at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
>>> at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
>>> at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
>>> at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:1 60)
>>> Caused by: java.io.IOException: Can not get entry named
>>> /DataEngine/NamingRelation because the archive file has been closed.
>>> System ID: null
>>> at
>>
org.eclipse.birt.core.archive.compound.ArchiveFile.getEntry( ArchiveFile.java:294)
>>
>>> at
>>
org.eclipse.birt.core.archive.compound.ArchiveWriter.openRan domAccessStream(ArchiveWriter.java:63)
>>
>>> at
>>
org.eclipse.birt.data.engine.api.DataEngineContext.getOutput Stream(DataEngineContext.java:283)
>>
>>> ... 10 more
>>
>>
>>> I already googled for the description but only found one post in this
>>> newslist which dealt with the configuration of timezones.
>>> I have two date-fields as report-parameters linked with
>>> dataset-parameters, but nothing in relation to a timezone.
>>
>>> I already logged the viewer with the log level parameter 'ALL' but
>>> there was no entry in the log-file giving me a hint.
>>
>>> Has anybody an idea where to look depending on the exception?
>>
>>> By the way, i rebuildt the report from scratch two times, but i
>>> couldn't find the reason for the problem.
>>
>>> Appreciate any hint,
>>> Andreas
>>
>>
>> What i forgot to mention is, that the report runs correctly with correct
>> results .
>>
>> Andreas
>>
|
|
|
Powered by
FUDForum. Page generated in 0.79517 seconds