Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Upcoming Branch
-
None
Description
I get this error locally:
The Following Errors Occurred:
Service dispatcher threw an exception:Error running Groovy method [sendEmailDated] in Groovy file [component://party/groovyScripts/communication/CommunicationEventServices.groovy]: (Cannot cast object '[]' with class 'java.util.ArrayList' to class 'java.util.Map' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.util.Map())
When I replace
Map sendEmailDated() {
by
def sendEmailDated() {
The error disappears
I guess something better can be done, but I have not yet found what
Attachments
Issue Links
- is broken by
-
OFBIZ-11167 Use Codenarc to test Groovy code
- Closed