java.lang.IllegalArgumentException: constraintsMap's type (interface java.util.Map) is not supported
14:44:24.456 [DEBUG] [TestEventLogger] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
14:44:24.456 [DEBUG] [TestEventLogger] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
14:44:24.456 [DEBUG] [TestEventLogger] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
14:44:24.456 [DEBUG] [TestEventLogger] at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
14:44:24.456 [DEBUG] [TestEventLogger] at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
14:44:24.456 [DEBUG] [TestEventLogger] at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
14:44:24.457 [DEBUG] [TestEventLogger] at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
14:44:24.457 [DEBUG] [TestEventLogger] at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:247)
Groovy модульный тест
void testPromote_happyPath()
{
//setup
//add input params
controller.params['id'] = ["1", "2", "3"]
controller.params['sId'] = 37
controller.params['cId'] = 38
//invoke
controller.promote()
//verify
verifyPromoteSuccess()
}
Кто-нибудь видел эту ошибку раньше и знает, как ее исправить? Это произошло после обновления Grails до версии 3.1.11 с 2.4.4
Изменился ли тип constraintMap между этими версиями grails?