Project: Birt
Bug 243464 genReport.bat cannot handle multi-select parameters
Reported: 2008-08-07 12:56:05 | Status: resolved fixed

Build ID: 3.3 Steps To Reproduce: 1. Create a report using a multi-select listbox parameter 2. Invoke the report through genReport.bat 3. Observe the error list generated: SEVERE: The type of parameter "Contract_Type" is expected as "Object[]", not "Array". org.eclipse.birt.report.engine.api.impl.ParameterValidationException: The type of parameter "Contract_Type" is expected as "Object[]", not "Array". at org.eclipse.birt.report.engine.api.impl.EngineTask.validateScalarParameter(EngineTask.java:616) at org.eclipse.birt.report.engine.api.impl.EngineTask.access$0(EngineTask.java:563) at org.eclipse.birt.report.engine.api.impl.EngineTask$ParameterValidationVisitor.visitScalarParameter(EngineTask.java:507) at org.eclipse.birt.report.engine.api.impl.EngineTask$ParameterVisitor.visit(EngineTask.java:969) at org.eclipse.birt.report.engine.api.impl.EngineTask.doValidateParameters(EngineTask.java:490) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:79) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:68) at org.eclipse.birt.report.engine.api.ReportRunner.runAndRenderReport(ReportRunner.java:221) at org.eclipse.birt.report.engine.api.ReportRunner.execute(ReportRunner.java:161) at org.eclipse.birt.report.engine.api.ReportRunner.main(ReportRunner.java:117) More information:

Files changed in fix:
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/api/ReportRunner.java