Report is erroring out with an error in onFetch method. [message #899215] |
Tue, 31 July 2012 02:40  |
Eclipse User |
|
|
|
Hi,
We are getting below error while generating a report:
A BIRT exception occurred. See next exception for more information.
Error evaluating Javascript expression. Script engine error: org.eclipse.birt.report.engine.api.EngineException: WF_RS_DATA_OVERFLOW (ccer/resources/javascript/Exception.js#8)
Script source: /report/data-sets/oda-data-set[@id="1202"]/method[@name="onFetch"], line: 0, text:
__bm_onFetch()
The error message above says error at Line 0. The row numbers start from 1, but the erros shown is at Line 0. Any thoughts on what could be the reason.
Below is the code we have in onFetch():
//varCurrentRowNum = varCurrentRowNum + 1;
//if (varCurrentRowNum > varRowLimit)
// throwSevereException("WF_RS_DATA_OVERFLOW");
totalRowCount = totalRowCount + 1;
if (reportRowLimit > 0 && totalRowCount > reportRowLimit)
throwSevereException("WF_RS_DATA_OVERFLOW");
Birt Version used:3.7
Deployed in Weblogic app server 10.0.2
Any help regarding this would be appreciated.
Thanks,
Hari Priya
|
|
|
Re: Report is erroring out with an error in onFetch method. [message #899372 is a reply to message #899215] |
Tue, 31 July 2012 11:15  |
Eclipse User |
|
|
|
It looks like your code is throwing the exception. Can you post the
entire report?
Jason
On 7/31/2012 2:40 AM, harip kaligo wrote:
> Hi,
>
> We are getting below error while generating a report:
>
> A BIRT exception occurred. See next exception for more information.
> Error evaluating Javascript expression. Script engine error:
> org.eclipse.birt.report.engine.api.EngineException: WF_RS_DATA_OVERFLOW
> (ccer/resources/javascript/Exception.js#8)
> Script source:
> /report/data-sets/oda-data-set[@id="1202"]/method[@name="onFetch"],
> line: 0, text:
> __bm_onFetch()
>
>
> The error message above says error at Line 0. The row numbers start from
> 1, but the erros shown is at Line 0. Any thoughts on what could be the
> reason.
>
> Below is the code we have in onFetch():
>
> //varCurrentRowNum = varCurrentRowNum + 1;
>
> //if (varCurrentRowNum > varRowLimit)
> // throwSevereException("WF_RS_DATA_OVERFLOW");
>
> totalRowCount = totalRowCount + 1;
>
> if (reportRowLimit > 0 && totalRowCount > reportRowLimit)
> throwSevereException("WF_RS_DATA_OVERFLOW");
>
> Birt Version used:3.7
> Deployed in Weblogic app server 10.0.2
>
> Any help regarding this would be appreciated.
> Thanks,
> Hari Priya
>
|
|
|
Powered by
FUDForum. Page generated in 0.03266 seconds