org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue'

JIRA | Andreas Lundström | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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-873].{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}When trying to copy a project via built-in scripts we get the exception below: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue' at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16$_closure17.doCall(CopyProject.groovy:453) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16.doCall(CopyProject.groovy:452) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15.doCall(CopyProject.groovy:438) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7.doCall(CopyProject.groovy:434) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doCopyProject(CopyProject.groovy:433) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$doCopyProject$0.callCurrent(Unknown Source) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doScript(CopyProject.groovy:290)

    JIRA | 1 year ago | Andreas Lundström
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue'
  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-873].{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}When trying to copy a project via built-in scripts we get the exception below: org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue' at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16$_closure17.doCall(CopyProject.groovy:453) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16.doCall(CopyProject.groovy:452) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15.doCall(CopyProject.groovy:438) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7.doCall(CopyProject.groovy:434) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doCopyProject(CopyProject.groovy:433) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$doCopyProject$0.callCurrent(Unknown Source) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doScript(CopyProject.groovy:290)

    JIRA | 1 year ago | Andreas Lundström
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue'

    Root Cause Analysis

    1. org.codehaus.groovy.runtime.typehandling.GroovyCastException

      Cannot cast object 'com.atlassian.jira.issue.issuetype.IssueTypeImpl@fffffff8' with class 'com.atlassian.jira.issue.issuetype.IssueTypeImpl' to class 'org.ofbiz.core.entity.GenericValue'

      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16$_closure17.doCall()
    2. com.onresolve.scriptrunner
      CopyProject.doScript
      1. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16$_closure17.doCall(CopyProject.groovy:453)
      2. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15$_closure16.doCall(CopyProject.groovy:452)
      3. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7$_closure15.doCall(CopyProject.groovy:438)
      4. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_doCopyProject_closure7.doCall(CopyProject.groovy:434)
      5. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doCopyProject(CopyProject.groovy:433)
      6. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$doCopyProject$0.callCurrent(Unknown Source)
      7. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doScript(CopyProject.groovy:290)
      7 frames