groovy.lang.GroovyRuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I am trying to run tests with the grails plugin and it worked in version 2.2.5 but with version 2.3.7 it breaks with the following errors: [workspace] $ /opt/jenkins/data/tools/com.g2one.hudson.grails.GrailsInstallation/Grails_2.3.7/bin/grails -Dgrails.work.dir=/opt/jenkins/data/jobs/TAM/workspace//target -Dserver.port=9080 -Dgrails.env=remotetest test-app --non-interactive --plain-output --stacktrace --verbose --refresh-dependencies Base Directory: /opt/jenkins/data/jobs/TAM/workspace |Loading Grails 2.3.7 |Configuring classpath . |Environment set to remotetest .......Error | Error executing script TestApp: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1604) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1405) at groovy.lang.ExpandoMetaClass.invokeConstructor(ExpandoMetaClass.java:675) at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at _GrailsTest_groovy.run(_GrailsTest_groovy:65) at _GrailsTest_groovy$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at _GrailsProxy_groovy$run.call(Unknown Source) at org.codehaus.gant.IncludeTargets.leftShift(IncludeTargets.groovy:59) at org.codehaus.gant.IncludeTargets$leftShift.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at TestApp.run(TestApp.groovy:25) at TestApp$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at gant.Gant.prepareTargets(Gant.groovy:607) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:769) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:571) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:470) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:414) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:378) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(GrailsScriptRunner.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:235) at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:263) Error | Error executing script TestApp: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) Build step 'Build With Grails' marked build as failure Recording test results
    via by Scott Ryan,
  • I am trying to run tests with the grails plugin and it worked in version 2.2.5 but with version 2.3.7 it breaks with the following errors: [workspace] $ /opt/jenkins/data/tools/com.g2one.hudson.grails.GrailsInstallation/Grails_2.3.7/bin/grails -Dgrails.work.dir=/opt/jenkins/data/jobs/TAM/workspace//target -Dserver.port=9080 -Dgrails.env=remotetest test-app --non-interactive --plain-output --stacktrace --verbose --refresh-dependencies Base Directory: /opt/jenkins/data/jobs/TAM/workspace |Loading Grails 2.3.7 |Configuring classpath . |Environment set to remotetest .......Error | Error executing script TestApp: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1604) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1405) at groovy.lang.ExpandoMetaClass.invokeConstructor(ExpandoMetaClass.java:675) at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at _GrailsTest_groovy.run(_GrailsTest_groovy:65) at _GrailsTest_groovy$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at _GrailsProxy_groovy$run.call(Unknown Source) at org.codehaus.gant.IncludeTargets.leftShift(IncludeTargets.groovy:59) at org.codehaus.gant.IncludeTargets$leftShift.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at TestApp.run(TestApp.groovy:25) at TestApp$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at gant.Gant.prepareTargets(Gant.groovy:607) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:769) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:571) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:470) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:414) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:378) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(GrailsScriptRunner.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:235) at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:263) Error | Error executing script TestApp: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) Build step 'Build With Grails' marked build as failure Recording test results
    via by Scott Ryan,
  • hockeyapp-prepare task fails
    via GitHub by robertomg
    ,
    • groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.codehaus.groovy.grails.test.event.GrailsTestEventPublisher(_GrailsEvents_groovy$_run_closure5) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1604) at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1405) at groovy.lang.ExpandoMetaClass.invokeConstructor(ExpandoMetaClass.java:675) at org.codehaus.groovy.runtime.callsite.MetaClassConstructorSite.callConstructor(MetaClassConstructorSite.java:46) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:57) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:182) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190) at _GrailsTest_groovy.run(_GrailsTest_groovy:65) at _GrailsTest_groovy$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at _GrailsProxy_groovy$run.call(Unknown Source) at org.codehaus.gant.IncludeTargets.leftShift(IncludeTargets.groovy:59) at org.codehaus.gant.IncludeTargets$leftShift.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116) at TestApp.run(TestApp.groovy:25) at TestApp$run.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at gant.Gant.prepareTargets(Gant.groovy:607) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeWithGantInstance(GrailsScriptRunner.java:769) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptFile(GrailsScriptRunner.java:571) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeScriptWithCaching(GrailsScriptRunner.java:470) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.callPluginOrGrailsScript(GrailsScriptRunner.java:414) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.executeCommand(GrailsScriptRunner.java:378) at org.codehaus.groovy.grails.cli.GrailsScriptRunner.main(GrailsScriptRunner.java:226) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:235) at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:263)

    Users with the same issue

    zbalint
    1 times, last one,
    musketyr
    2 times, last one,
    johnxfly
    4 times, last one,
    Unknown visitor1 times, last one,
    Luka
    1 times, last one,
    11 more bugmates