• I think you need to filter the values you are passing to the subreport to make sure you are not passing any invalid values.