javax.script.ScriptException: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779

JIRA | Andreas Gounaris | 3 years ago
  1. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-339].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}After upgrading Script Runner from 2.1.12 to 2.1.15 I got exceptions on my service scripts. Here it goes: {code} 2013-09-26 09:48:41,741 QuartzScheduler_Worker-3 ERROR sysjira Groovy - Resolved to Pending Closure [onresolve.jira.groovy.GroovyService] javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 javax.script.ScriptException: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103) at javax.script.AbstractScriptEngine.eval(Unknown Source) at com.onresolve.jira.groovy.GroovyRunner.runFile(GroovyRunner.java:102) at com.onresolve.jira.groovy.GroovyRunner.run(GroovyRunner.java:62) at com.onresolve.jira.groovy.GroovyService.run(GroovyService.java:53) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:318) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:111) ... 9 more Caused by: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.createProxy(GeneratedMetaMethod.java:91) at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.isValidMethod(GeneratedMetaMethod.java:65) at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:2788) at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:2780) at groovy.lang.MetaClassImpl.getMethodWithCachingInternal(MetaClassImpl.java:1172) at groovy.lang.MetaClassImpl.createPojoCallSite(MetaClassImpl.java:2981) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteArray.java:116) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:150) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at Script4.run(Script4.groovy:88) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:315) ... 10 more Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at com.onresolve.jira.groovy.canned.util.JoinClassLoader.findClass(JoinClassLoader.java:34) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.createProxy(GeneratedMetaMethod.java:86) ... 23 more {code} I had to rollback to version 2.1.12 from my local git. Everything was ok then. I don't think this has something to do with my code, as no evidence of that exist in the stack trace. But if you want, I can send it over. NOTE: _Version 2.1.15 doesn't exists in the affects version drop-down_ Thanks

    JIRA | 3 years ago | Andreas Gounaris
    javax.script.ScriptException: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779
  2. 0

    {panel:title=*This issue has moved*} {color:red}This issue has been moved permanently to [Adaptavist's Product Support JIRA instance|https://productsupport.adaptavist.com/browse/GRV-339].{color} All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the [Can't access your account|https://productsupport.adaptavist.com/secure/ForgotLoginDetails.jspa] link in order to reset to a new password. {panel}After upgrading Script Runner from 2.1.12 to 2.1.15 I got exceptions on my service scripts. Here it goes: {code} 2013-09-26 09:48:41,741 QuartzScheduler_Worker-3 ERROR sysjira Groovy - Resolved to Pending Closure [onresolve.jira.groovy.GroovyService] javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 javax.script.ScriptException: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:117) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103) at javax.script.AbstractScriptEngine.eval(Unknown Source) at com.onresolve.jira.groovy.GroovyRunner.runFile(GroovyRunner.java:102) at com.onresolve.jira.groovy.GroovyRunner.run(GroovyRunner.java:62) at com.onresolve.jira.groovy.GroovyService.run(GroovyService.java:53) at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48) at org.quartz.core.JobRunShell.run(JobRunShell.java:195) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:318) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:111) ... 9 more Caused by: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.createProxy(GeneratedMetaMethod.java:91) at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.isValidMethod(GeneratedMetaMethod.java:65) at groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:2788) at groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:2780) at groovy.lang.MetaClassImpl.getMethodWithCachingInternal(MetaClassImpl.java:1172) at groovy.lang.MetaClassImpl.createPojoCallSite(MetaClassImpl.java:2981) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteArray.java:116) at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:150) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at Script4.run(Script4.groovy:88) at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:315) ... 10 more Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779 at com.onresolve.jira.groovy.canned.util.JoinClassLoader.findClass(JoinClassLoader.java:34) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.createProxy(GeneratedMetaMethod.java:86) ... 23 more {code} I had to rollback to version 2.1.12 from my local git. Everything was ok then. I don't think this has something to do with my code, as no evidence of that exist in the stack trace. But if you want, I can send it over. NOTE: _Version 2.1.15 doesn't exists in the affects version drop-down_ Thanks

    JIRA | 3 years ago | Andreas Gounaris
    javax.script.ScriptException: javax.script.ScriptException: groovy.lang.GroovyRuntimeException: Failed to create DGM method proxy : java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$779
  3. 0

    Maven+Selenium+Jetty - ClassNotFoundException when Jetty is Shutting Down

    Stack Overflow | 3 years ago | Joe Almore
    org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$371
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Maven+Selenium+Jetty - ClassNotFoundException when Jetty is Shutting Down

    Stack Overflow | 3 years ago | Joe Almore
    java.lang.ClassNotFoundException: org.codehaus.groovy.runtime.dgm$371
  6. 0

    Gwt 2.8-rc1 super dev mode is not working on IntelliJ IDEA 2016.2.5

    Stack Overflow | 2 months ago | mrh
    java.lang.NoClassDefFoundError: cern/colt/map/OpenIntObjectHashMap

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      org.codehaus.groovy.runtime.dgm$779

      at com.onresolve.jira.groovy.canned.util.JoinClassLoader.findClass()
    2. com.onresolve.jira
      JoinClassLoader.findClass
      1. com.onresolve.jira.groovy.canned.util.JoinClassLoader.findClass(JoinClassLoader.java:34)
      1 frame
    3. Java RT
      ClassLoader.loadClass
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. java.lang.ClassLoader.loadClass(Unknown Source)
      2 frames
    4. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.createProxy(GeneratedMetaMethod.java:86)
      2. org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.createProxy(GeneratedMetaMethod.java:91)
      3. org.codehaus.groovy.reflection.GeneratedMetaMethod$Proxy.isValidMethod(GeneratedMetaMethod.java:65)
      4. groovy.lang.MetaClassImpl.chooseMethodInternal(MetaClassImpl.java:2788)
      5. groovy.lang.MetaClassImpl.chooseMethod(MetaClassImpl.java:2780)
      6. groovy.lang.MetaClassImpl.getMethodWithCachingInternal(MetaClassImpl.java:1172)
      7. groovy.lang.MetaClassImpl.createPojoCallSite(MetaClassImpl.java:2981)
      8. org.codehaus.groovy.runtime.callsite.CallSiteArray.createPojoSite(CallSiteArray.java:116)
      9. org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:150)
      10. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
      11. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
      12. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
      12 frames
    5. Unknown
      Script4.run
      1. Script4.run(Script4.groovy:88)
      1 frame
    6. Groovy
      GroovyScriptEngineImpl.eval
      1. org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:315)
      2. org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:111)
      3. org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:103)
      3 frames
    7. Java RT
      AbstractScriptEngine.eval
      1. javax.script.AbstractScriptEngine.eval(Unknown Source)
      1 frame
    8. com.onresolve.jira
      GroovyService.run
      1. com.onresolve.jira.groovy.GroovyRunner.runFile(GroovyRunner.java:102)
      2. com.onresolve.jira.groovy.GroovyRunner.run(GroovyRunner.java:62)
      3. com.onresolve.jira.groovy.GroovyService.run(GroovyService.java:53)
      3 frames
    9. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
      2. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
      2 frames
    10. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:195)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
      2 frames