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

Clone Issue throws MissingMethodException because of classloader issues

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.4.11
    • Fix Version/s: 5.4.42
    • Component/s: Built-in Scripts
    • Labels:
      None
    • Sprint:
      Sprint 42, Sprint 43
    • Critical Points:
      5

      Description

      groovy.lang.MissingMethodException: No signature of method: static com.onresolve.scriptrunner.canned.jira.utils.ConditionUtils.processConditionAndContext() is applicable for argument types: (com.onresolve.scriptrunner.canned.jira.utils.
      CustomScript, com.atlassian.jira.issue.IssueImpl, java.lang.Boolean, java.util.LinkedHashMap) values: [com.onresolve.scriptrunner.canned.jira.utils.CustomScript@7b17893f, ...]
      Possible solutions: processConditionAndContext(com.onresolve.scriptrunner.canned.jira.utils.CustomScript, com.atlassian.jira.issue.Issue, boolean, java.util.Map)
      The following classes appear as argument class and as parameter class, but are defined by different class loader:
      com.onresolve.scriptrunner.canned.jira.utils.CustomScript (defined by 'groovy.lang.GroovyClassLoader$InnerLoader@797f2e4e' and 'com.onresolve.jira.groovy.groovyrunner [215]')
      If one of the method suggestions matches the method you wanted to call,
      then check your class loader setup.
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate.processCondition(ConditionCustomScriptDelegate.groovy:40)
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate$processCondition$2.callCurrent(Unknown Source)
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate.doScriptAndGetContext(ConditionCustomScriptDelegate.groovy:34)
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate.doScriptAndGetContext(ConditionCustomScriptDelegate.groovy)
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate$doScriptAndGetContext$0.callCurrent(Unknown Source)
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate.doScript(ConditionCustomScriptDelegate.groovy:21)
              at com.onresolve.scriptrunner.canned.jira.utils.ConditionCustomScriptDelegate$doScript.call(Unknown Source)
              at com.onresolve.scriptrunner.canned.jira.workflow.postfunctions.CloneIssue.doScript(CloneIssue.groovy:116)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ahasan Ashraful Hasan [X] (Inactive)
              Reporter:
              jchoules Joanna Choules
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: