When you receive this error, check how the language property of your report is. If you're like Groovy, change to Java that will resolve the error.
Att.