Bug 202582 "exceed the file length" occurs when preview the attache rptdocument[0900]
Description: "exceed the file length" occurs when preview the attache rptdocument[0900] Build number: 2.2.1.v20070907-0630 and runtime build in v20070907 Steps to reproduce: 1, Download the attached rptdocument 2, Preview Expected result: The preview should be ok Actual result: "exceed the file length" occurs when preview the attache rptdocument. Error log: exceed the file length ( 1 time(s) ) detail : org.eclipse.birt.report.engine.api.EngineException: exceed the file length at org.eclipse.birt.report.engine.internal.document.v4.ReportItemExecutor.execute(ReportItemExecutor.java:293) at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.prepareChildExecutor(ContainerExecutor.java:223) at org.eclipse.birt.report.engine.internal.document.v4.ContainerExecutor.hasNextChild(ContainerExecutor.java:107) at org.eclipse.birt.report.engine.internal.document.v4.ReportPageExecutorV4.hasNextChild(ReportPageExecutorV4.java:92) at org.eclipse.birt.report.engine.internal.document.ReportExecutorWrapper.hasNextChild(ReportExecutorWrapper.java:108) at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.hasNextChild(WrappedReportExecutor.java:74) at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.hasNextChild(WrappedReportExecutor.java:74) at org.eclipse.birt.report.engine.layout.html.HTMLPageLM$1.hasNextChild(HTMLPageLM.java:63) at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:60) at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:85) at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:106) at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRangeRender.render(RenderTask.java:583) at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:267) at org.eclipse.birt.report.service.ReportEngineService.renderReport(Unknown Source) at org.eclipse.birt.report.service.BirtViewerReportService.renderReport(Unknown Source) at org.eclipse.birt.report.service.actionhandler.BirtGetPageAllActionHandler.__execute(Unknown Source) at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(Unknown Source) at org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(Unknown Source) at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(Unknown Source) at org.eclipse.birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPageAll(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(Unknown Source) at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(Unknown Source)
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/internal/document/v4/ReportBodyExecutor.java
package org.eclipse.birt.report.engine.internal.document.v4;
import org.eclipse.birt.report.engine.api.InstanceID;
import org.eclipse.birt.report.engine.content.IContent;
import org.eclipse.birt.report.engine.internal.executor.doc.Fragment;
import org.eclipse.birt.report.engine.internal.executor.doc.Segment;
import org.eclipse.birt.report.engine.ir.Report;
import org.eclipse.birt.report.engine.ir.ReportItemDesign;
import org.eclipse.birt.report.engine.presentation.InstanceIndex;
public class ReportBodyExecutor extends ContainerExecutor
{
	private Report reportDesign;