java.lang.NumberFormatException: For input string: "project-10951"

JIRA | Paula Manildi | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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-594].{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}Error during copy project, Included versions, components, filters, dashboards. All were copied including the 20 filters, as was one dashboard but not the second dashboard. java.lang.NumberFormatException: For input string: "project-10951" at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_convertProjectFilterStrings_closure11.doCall(CopyProject.groovy:677) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.convertProjectFilterStrings(CopyProject.groovy:661) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.this$dist$invoke$1(CopyProject.groovy) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.methodMissing(CopyProject.groovy) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.invokeMethod(CopyProject.groovy) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_2_consume_closure1_closure2.doCall(CopyProject.groovy:647) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_2_consume_closure1.doCall(CopyProject.groovy:645) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.consume(CopyProject.groovy:644) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.consume(CopyProject.groovy) at com.atlassian.jira.util.collect.TransformingEnclosedIterable$1.consume(TransformingEnclosedIterable.java:33) at com.atlassian.jira.util.collect.CollectionUtil.foreach(CollectionUtil.java:44) at com.atlassian.jira.util.collect.CloseableIterator$Functions.foreach(CloseableIterator.java:58) at com.atlassian.jira.ofbiz.DatabaseIterable.foreach(DatabaseIterable.java:44) at com.atlassian.jira.util.collect.TransformingEnclosedIterable.foreach(TransformingEnclosedIterable.java:29) at com.atlassian.jira.util.collect.EnclosedIterable$foreach.call(Unknown Source) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.copyDashAndFilters(CopyProject.groovy:624) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$copyDashAndFilters$1.callCurrent(Unknown Source) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doCopyProject(CopyProject.groovy:562) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$doCopyProject$0.callCurrent(Unknown Source) at com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doScript(CopyProject.groovy:278)

    JIRA | 2 years ago | Paula Manildi
    java.lang.NumberFormatException: For input string: "project-10951"

    Root Cause Analysis

    1. java.lang.NumberFormatException

      For input string: "project-10951"

      at com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_convertProjectFilterStrings_closure11.doCall()
    2. com.onresolve.scriptrunner
      CopyProject$2.consume
      1. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_convertProjectFilterStrings_closure11.doCall(CopyProject.groovy:677)
      2. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.convertProjectFilterStrings(CopyProject.groovy:661)
      3. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.this$dist$invoke$1(CopyProject.groovy)
      4. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.methodMissing(CopyProject.groovy)
      5. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.invokeMethod(CopyProject.groovy)
      6. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_2_consume_closure1_closure2.doCall(CopyProject.groovy:647)
      7. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$_2_consume_closure1.doCall(CopyProject.groovy:645)
      8. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.consume(CopyProject.groovy:644)
      9. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$2.consume(CopyProject.groovy)
      9 frames
    3. com.atlassian.jira
      EnclosedIterable$foreach.call
      1. com.atlassian.jira.util.collect.TransformingEnclosedIterable$1.consume(TransformingEnclosedIterable.java:33)
      2. com.atlassian.jira.util.collect.CollectionUtil.foreach(CollectionUtil.java:44)
      3. com.atlassian.jira.util.collect.CloseableIterator$Functions.foreach(CloseableIterator.java:58)
      4. com.atlassian.jira.ofbiz.DatabaseIterable.foreach(DatabaseIterable.java:44)
      5. com.atlassian.jira.util.collect.TransformingEnclosedIterable.foreach(TransformingEnclosedIterable.java:29)
      6. com.atlassian.jira.util.collect.EnclosedIterable$foreach.call(Unknown Source)
      6 frames
    4. com.onresolve.scriptrunner
      CopyProject.doScript
      1. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.copyDashAndFilters(CopyProject.groovy:624)
      2. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$copyDashAndFilters$1.callCurrent(Unknown Source)
      3. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doCopyProject(CopyProject.groovy:562)
      4. com.onresolve.scriptrunner.canned.jira.admin.CopyProject$doCopyProject$0.callCurrent(Unknown Source)
      5. com.onresolve.scriptrunner.canned.jira.admin.CopyProject.doScript(CopyProject.groovy:278)
      5 frames