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 | 11 months 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-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 | 11 months 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 | 11 months 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'
  3. 0

    How to Resolve null method error in groovy and object casting

    Stack Overflow | 2 years ago | abi
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[]' with class 'geb.navigator.EmptyNavigator' to class 'org.openqa.selenium.WebElement'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting started app doesn't work for me with JSON

    Google Groups | 5 years ago | Brad Whitaker
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object 'works' with class 'java.lang.String' to class 'java.util.Map'
  6. 0

    Invalid Cast to BigDecimal

    GitHub | 2 years ago | polariss0i
    org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '30' with class 'java.lang.String' to class 'java.math.BigDecimal'

    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. 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