Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Report generation failing at excel generation(Report generation failing at excel generation)
Report generation failing at excel generation [message #847895] Tue, 17 April 2012 15:07 Go to next message
anki an is currently offline anki an
Messages: 1
Registered: April 2012
Junior Member
hi,
We are using birt 3.7 with native excel emitter.
One particular report is failing when more than 16k records with the following error.
Did any one faced this kind of error?
If so how can I fix it?

2012-04-17 11:30:11,377, INFO [reporting.utility.ExcelDocumentsUtil.generateDocument] : Enter generate excel document
2012-04-17 11:31:01,657, SEVERE [org.eclipse.birt.report.engine.api.impl.RenderTask.render] : Error happened while running the report.java.lang.StackOverflowError
at org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:62)
at org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)


at org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
at org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
at org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
at org.eclipse.birt.report.engine.emitter.xls.layout.Page.calculateRowHeight(Page.java:936)
at org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.complete(ExcelLayoutEngine.java:1005)
at org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.outputCacheData(ExcelLayoutEngine.java:1023)
at org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.outputSheet(ExcelLayoutEngine.java:891)
at org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.endPage(ExcelLayoutEngine.java:187)
at org.eclipse.birt.report.engine.emitter.xls.ExcelEmitter.endPage(ExcelEmitter.java:86)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.endContent(ContentEmitterUtil.java:102)
at org.eclipse.birt.report.engine.layout.html.buffer.DummyPageBuffer.endContainer(DummyPageBuffer.java:60)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.end(HTMLPageLM.java:183)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:98)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:661)
at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:294)
at reporting.utility.ExcelDocumentsUtil.generateDocument(ExcelDocumentsUtil.java:48)
at reporting.manager.ReportGenerator.generateOuputDocuments(ReportGenerator.java:624)
at
reporting.manager.ReportGenerator.runReport(ReportGenerator.java:270)
at reporting.jms.ReportingMDP.onMessage(ReportingMDP.java:45)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543)
at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)
at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
... 4 more

[Updated on: Wed, 18 April 2012 11:28]

Report message to a moderator

Re: Report generation failing at excel generation [message #849109 is a reply to message #847895] Wed, 18 April 2012 18:22 Go to previous message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

I am not sure but this may be a poi issue
http://stackoverflow.com/questions/2159635/excel-poi-3-5-workbook-java-heap-space-exception

What are jvm parameters set to? Do you get the error using the Tribix
xls emitter.

Jason

On 4/17/2012 3:07 PM, anki an wrote:
> hi,
> We are using birt 3.7 with native excel emitter.
> One particular report is failing when more than 16k records with the
> following error.
> Did any one faced this kind of error?
> If so how can I fix it?
>
> 2012-04-17 11:30:11,377, INFO
> [com.wellsfargo.reporting.utility.ExcelDocumentsUtil.generateDocument] :
> Enter generate excel document
> 2012-04-17 11:31:01,657, SEVERE
> [org.eclipse.birt.report.engine.api.impl.RenderTask.render] : Error
> happened while running the report.java.lang.StackOverflowError
> at
> org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:62)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
>
>
>
> at
> org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.BlankData.setHeight(BlankData.java:61)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.layout.Page.calculateRowHeight(Page.java:936)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.complete(ExcelLayoutEngine.java:1005)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.outputCacheData(ExcelLayoutEngine.java:1023)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.outputSheet(ExcelLayoutEngine.java:891)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.layout.ExcelLayoutEngine.endPage(ExcelLayoutEngine.java:187)
>
> at
> org.eclipse.birt.report.engine.emitter.xls.ExcelEmitter.endPage(ExcelEmitter.java:86)
>
> at
> org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.endContent(ContentEmitterUtil.java:102)
>
> at
> org.eclipse.birt.report.engine.layout.html.buffer.DummyPageBuffer.endContainer(DummyPageBuffer.java:60)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.end(HTMLPageLM.java:183)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:98)
>
> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
>
> at
> org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:661)
>
> at
> org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:294)
>
> at
> com.wellsfargo.reporting.utility.ExcelDocumentsUtil.generateDocument(ExcelDocumentsUtil.java:48)
>
> at
> com.wellsfargo.reporting.manager.ReportGenerator.generateOuputDocuments(ReportGenerator.java:624)
>
> at
> com.wellsfargo.reporting.manager.ReportGenerator.runReport(ReportGenerator.java:270)
>
> at
> com.wellsfargo.reporting.jms.ReportingMDP.onMessage(ReportingMDP.java:45)
> at
> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543)
>
> at
> org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482)
>
> at
> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451)
>
> at
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323)
>
> at
> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261)
>
> ... 4 more
Previous Topic:[SOLVED] Probems getting started
Next Topic:One meter chart with multiple datasets
Goto Forum:
  


Current Time: Thu Jul 24 21:54:20 EDT 2014

Powered by FUDForum. Page generated in 0.01476 seconds