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'

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.

  • {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)
    via by Andreas Lundström,
  • {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)
    via by 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' 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)
    No Bugmate found.