Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-928

Release 2.1.15 exceptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Obsolete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      Jira 6.0.8

    • Critical Points:
      0

      Description

      After upgrading Script Runner from 2.1.12 to 2.1.15 I got exceptions on my service scripts.

      Here it goes:

      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
      

      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

        Attachments

          Activity

            People

            Assignee:
            jechlin Jamie Echlin
            Reporter:
            andreago Andreas Gounaris
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: