Community
Participate
Working Groups
Build Identifier: 20100917-0705 When attempting to debug a report with a datetime paramater it seems that an exception is thrown every time. This makes the debugging function of BIRT practially unusable for any report with required datetime parameters. Exception: 2010-nov-22 15:22:24 org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer start INFO: [Server] client accepted 2010-nov-22 15:22:24 org.eclipse.birt.report.debug.internal.core.vm.ReportVMServer$1 run INFO: [Server] enter request dispatching 2010-nov-22 15:22:24 org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher configEngine INFO: User class path received: 2010-nov-22 15:22:27 org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher renderReport ALLVARLIG: Engine exception org.eclipse.birt.report.engine.api.impl.ParameterValidationException: The type of parameter "NewParameter" is expected as "dateTime", not "java.lang.String". at org.eclipse.birt.report.engine.api.impl.EngineTask.validateParameterValueType(EngineTask.java:865) at org.eclipse.birt.report.engine.api.impl.EngineTask.validateAbstractScalarParameter(EngineTask.java:829) at org.eclipse.birt.report.engine.api.impl.EngineTask.access$0(EngineTask.java:756) at org.eclipse.birt.report.engine.api.impl.EngineTask$ParameterValidationVisitor.visitScalarParameter(EngineTask.java:686) at org.eclipse.birt.report.engine.api.impl.EngineTask$ParameterVisitor.visit(EngineTask.java:1400) at org.eclipse.birt.report.engine.api.impl.EngineTask.doValidateParameters(EngineTask.java:670) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:94) at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.createReport(ReportLauncher.java:594) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.renderReport(ReportLauncher.java:541) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.run(ReportLauncher.java:455) at org.eclipse.birt.report.debug.internal.core.launcher.ReportLauncher.main(ReportLauncher.java:104) at org.eclipse.birt.report.debug.internal.core.ReportDebugger.start(ReportDebugger.java:39) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) at org.eclipse.equinox.launcher.Main.main(Main.java:1383) Reproducible: Always Steps to Reproduce: 1. Create a new report. 2. Add a datetime parameter to the report. 3. Debug the report and the ParameterValidationException is thrown every time. It does not seem to matter what kind of date format is provided to the debuging dialog. The error is thrown every time.
Fixed.
Verified in daily build 2.6.2.v20101130-0630. Set as verified.