Skip to main content



      Home
Home » Archived » BIRT » Report is erroring out with an error in onFetch method.(Error while generating a report.)
Report is erroring out with an error in onFetch method. [message #899215] Tue, 31 July 2012 02:40 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:How to set text in master page header using data from report?
Next Topic:report date parameters string format
Goto Forum:
  


Current Time: Tue Apr 29 07:54:58 EDT 2025

Powered by FUDForum. Page generated in 0.03266 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top