Project: Birt
Bug 142930 Preview web viewer error when insert data with own binding to list footer
Reported: 2006-05-22 02:58:05 | Status: closed fixed

Description: Preview web viewer error when insert data with own binding to list footer Steps to reproduce: 1. Insert a list, bind it to dataset 2. Insert a data item to list footer and bind it to dataset 3. Preview in web viewer/html/pdf Expected result: Preview is ok Actual result: In Web Viewer, I got below errors: Error0 : Error.ScriptEvaluationError ( 1 time(s) ) detail : org.eclipse.birt.report.engine.api.EngineException: There are errors evaluating script "row["OFFICECODE"]". at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:550) at org.eclipse.birt.report.engine.executor.ExecutionContext.evaluate(ExecutionContext.java:512) at org.eclipse.birt.report.engine.internal.document.v2.ReportContentLoaderV2.openQuery(ReportContentLoaderV2.java:701) at org.eclipse.birt.report.engine.internal.document.v2.ReportContentLoaderV2.startContent(ReportContentLoaderV2.java:772) at org.eclipse.birt.report.engine.internal.document.v2.ReportContentLoaderV2.outputPageRegion(ReportContentLoaderV2.java:378) at org.eclipse.birt.report.engine.internal.document.v2.ReportContentLoaderV2.excutePage(ReportContentLoaderV2.java:250) at org.eclipse.birt.report.engine.internal.document.v2.ReportContentLoaderV2.loadPage(ReportContentLoaderV2.java:151) at org.eclipse.birt.report.engine.internal.document.ReportContentLoader.loadPage(ReportContentLoader.java:50) at org.eclipse.birt.report.engine.api.impl.RenderTask.doRender(RenderTask.java:186) at org.eclipse.birt.report.engine.api.impl.RenderTask$PageRender.render(RenderTask.java:493) at org.eclipse.birt.report.engine.api.impl.RenderTask.render(RenderTask.java:428) at org.eclipse.birt.report.service.ReportEngineService.renderReport(Unknown Source) at org.eclipse.birt.report.service.ReportEngineService.renderReport(Unknown Source) at org.eclipse.birt.report.service.BirtViewerReportService.getPage(Unknown Source) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.doExecution(Unknown Source) at org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__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.handleGetPage(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:324) at org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(Unknown Source) at org.eclipse.birt.report.soapengine.endpoint.BirtSoapBindingImpl.getUpdatedObjects(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:324) at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397) at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186) at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:453) at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281) at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699) at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)

Files changed in fix:
UI/org.eclipse.birt.report.designer.core/src/org/eclipse/birt/report/designer/util/DEUtil.java UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/dialogs/ColumnBindingDialog.java