I want a report parameter to get its value from a script (script parameter). For that reason I have created a script that simply returns a value.
The returned value is displayed in the parameter tab but I get the following default error in the preview tab:
“Error: An error occurred during report execution.
The report could not be executed: net.datenwerke.rs.core.service.reportmanager.exceptions.ReportExecutorRuntimeException”
I think the report is executed without first waiting to get the value from the script.
If I set a default value for the script parameter, then everything works normally.
What am I doing wrong?
Edit:In the report error I saw the following
“org.eclipse.birt.report.engine.api.impl.ParameterValidationException: Required parameter custID is blank.”
custID is the script parameter