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

JIRA | Paula Manildi | 2 years 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-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"
  2. 0

    i imported the terrier project with netbeans, i build the project , i indexed a collection but when i execute the project with the argument "-r" i have this exeption ------------------------------------------------------------------------ Building Terrier Information Retrieval Platform 4.1 ------------------------------------------------------------------------ --- exec-maven-plugin:1.2.1:exec (default-cli) @ terrier-core --- A problem occurred: java.lang.NumberFormatException: For input string: "${project" java.lang.NumberFormatException: For input string: "${project" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:569) at java.lang.Integer.parseInt(Integer.java:615) at org.terrier.structures.IndexOnDisk.loadProperties(IndexOnDisk.java:438) at org.terrier.structures.IndexOnDisk.<init>(IndexOnDisk.java:100) at org.terrier.structures.Index.createIndex(Index.java:154) at org.terrier.structures.Index.createIndex(Index.java:140) at org.terrier.applications.batchquerying.TRECQuerying.loadIndex(TRECQuerying.java:357) at org.terrier.applications.batchquerying.TRECQuerying.<init>(TRECQuerying.java:271) at org.terrier.applications.TrecTerrier.run(TrecTerrier.java:415) at org.terrier.applications.TrecTerrier.applyOptions(TrecTerrier.java:599) at org.terrier.applications.TrecTerrier.main(TrecTerrier.java:246) at TrecTerrier.main(TrecTerrier.java:36) ------------------------------------------------------------------------ BUILD SUCCESS ------------------------------------------------------------------------

    JIRA | 7 months ago | chedi bechikh
    java.lang.NumberFormatException: For input string: "${project"
  3. 0

    NumberFormatException while multiplying

    Stack Overflow | 10 months ago | Kleeo
    java.lang.NumberFormatException: For input string: ".project"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Number format exception debugging ant build

    Eclipse Bugzilla | 1 decade ago | darin.eclipse
    java.lang.NumberFormatException: For input string: "Project\build.xml"
  6. 0

    Trying to convert String to Integer

    Stack Overflow | 3 years ago | Shantanu
    java.lang.NumberFormatException: For input string: "string"

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