Regex Test Failed

I have a Jasper Report with 3 parameters. 1 is text and 2 are dates. When I click “Suggest parameter” it finds the correct parameters. When I try to run the report it asks me to set the parameters but then we I go to preview the report it just says “Regex test failed”. Seems to be the date parameters it doesn’t like. When I hardcode the dates into my query and just use the text parameter it works fine.

I’ve tried using both java.util.date and java.SQL.date with the same results.

Hi continu8,

can you please post a minimal reproducible jasper report that demonstrates this behavior ?

Regards,
Eduardo

I figured it out. Apparently ReportServer doesn’t like it when there is a space in the JasperReports parameter name.

Thanks