java.lang.NumberFormatException: For input string: "3 locked by: mauri;"

Jenkins JIRA | Gianvittorio Mauri | 5 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

    While calling "cvs rlog", if some of the changed files are locked, the following error occurs : ....... cvs rlog -S -d03 Jul 2012 10:50:26 +0200<03 Jul 2012 10:58:16 +0200 MI ....... cvs rlog: Logging MI/MI/librtpr/rtbiglib cvs rlog: Logging MI/MI/librtpr/src cvs rlog: Logging MI/MI/librtpr/test cvs rlog: Logging MI/MI/librtpr/test/include cvs rlog: Logging MI/MI/old_libeqpr cvs rlog: Logging MI/MI/old_libeqpr/src FATAL: For input string: "3 locked by: mauri;" java.lang.NumberFormatException: For input string: "3 locked by: mauri;" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at hudson.scm.CvsChangeLogHelper.isChangeValidForFileVersion(CvsChangeLogHelper.java:260) at hudson.scm.CvsChangeLogHelper.mapCvsLog(CvsChangeLogHelper.java:200) at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:419) at hudson.scm.CVSSCM.checkout(CVSSCM.java:831) at hudson.model.AbstractProject.checkout(AbstractProject.java:1248) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1484) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236 Following is the "cvs rlog" command line output: cvs -Q rlog -S -d"03 Jul 2012 10:50:26 +0200<03 Jul 2012 10:58:16 +0200" MI RCS file: /home_new/mauri/jenkins/testrepo/MI/MI/librtpr/Makefile,v head: 1.3 branch: locks: strict mauri: 1.3 access list: symbolic names: ACME: 1.1.1.1 first-import: 1.1.1 keyword substitution: kv total revisions: 4; selected revisions: 1 description: ---------------------------- revision 1.3 locked by: mauri; date: 2012-07-03 10:54:50 +0200; author: mauri; state: Exp; lines: +0 -1; commitid: YV4vP97yquVGX5bw; bbb ============================================================================= It seems the plugin was not able to parse away the substring "locked by: mauri" from the revision line.

    Jenkins JIRA | 5 years ago | Gianvittorio Mauri
    java.lang.NumberFormatException: For input string: "3 locked by: mauri;"
  2. 0

    While calling "cvs rlog", if some of the changed files are locked, the following error occurs : ....... cvs rlog -S -d03 Jul 2012 10:50:26 +0200<03 Jul 2012 10:58:16 +0200 MI ....... cvs rlog: Logging MI/MI/librtpr/rtbiglib cvs rlog: Logging MI/MI/librtpr/src cvs rlog: Logging MI/MI/librtpr/test cvs rlog: Logging MI/MI/librtpr/test/include cvs rlog: Logging MI/MI/old_libeqpr cvs rlog: Logging MI/MI/old_libeqpr/src FATAL: For input string: "3 locked by: mauri;" java.lang.NumberFormatException: For input string: "3 locked by: mauri;" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at hudson.scm.CvsChangeLogHelper.isChangeValidForFileVersion(CvsChangeLogHelper.java:260) at hudson.scm.CvsChangeLogHelper.mapCvsLog(CvsChangeLogHelper.java:200) at hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:419) at hudson.scm.CVSSCM.checkout(CVSSCM.java:831) at hudson.model.AbstractProject.checkout(AbstractProject.java:1248) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494) at hudson.model.Run.execute(Run.java:1484) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236 Following is the "cvs rlog" command line output: cvs -Q rlog -S -d"03 Jul 2012 10:50:26 +0200<03 Jul 2012 10:58:16 +0200" MI RCS file: /home_new/mauri/jenkins/testrepo/MI/MI/librtpr/Makefile,v head: 1.3 branch: locks: strict mauri: 1.3 access list: symbolic names: ACME: 1.1.1.1 first-import: 1.1.1 keyword substitution: kv total revisions: 4; selected revisions: 1 description: ---------------------------- revision 1.3 locked by: mauri; date: 2012-07-03 10:54:50 +0200; author: mauri; state: Exp; lines: +0 -1; commitid: YV4vP97yquVGX5bw; bbb ============================================================================= It seems the plugin was not able to parse away the substring "locked by: mauri" from the revision line.

    Jenkins JIRA | 5 years ago | Gianvittorio Mauri
    java.lang.NumberFormatException: For input string: "3 locked by: mauri;"
  3. 0

    There have a BUG with forestry.Bottler in Server!

    GitHub | 2 years ago | Antecer
    java.lang.NumberFormatException: For input string: "0.0"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java : convert string value to int

    Stack Overflow | 6 years ago | lamisse
    java.lang.NumberFormatException: For input string: ""
  6. 0

    GWT call Axis2 on Tomcat doesn't work

    Stack Overflow | 4 years ago | nap.gab
    java.lang.NumberFormatException: For input string: ""

  1. Andreas Häber 10 times, last 3 weeks ago
  2. Indri Yunita 3 times, last 4 weeks ago
  3. Eric 2 times, last 1 month ago
  4. tomthomas 4 times, last 1 month ago
  5. justCodeit 2 times, last 2 months ago
40 more registered users
55 unregistered visitors
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: "3 locked by: mauri;"

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Integer.parseInt
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Integer.parseInt(Unknown Source)
    3. java.lang.Integer.parseInt(Unknown Source)
    3 frames
  3. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.scm.CvsChangeLogHelper.isChangeValidForFileVersion(CvsChangeLogHelper.java:260)
    2. hudson.scm.CvsChangeLogHelper.mapCvsLog(CvsChangeLogHelper.java:200)
    3. hudson.scm.CVSSCM.calculateChangeLog(CVSSCM.java:419)
    4. hudson.scm.CVSSCM.checkout(CVSSCM.java:831)
    5. hudson.model.AbstractProject.checkout(AbstractProject.java:1248)
    6. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:589)
    6 frames
  4. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
    1 frame
  5. Hudson
    ResourceController.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
    2. hudson.model.Run.execute(Run.java:1484)
    3. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    4. hudson.model.ResourceController.execute(ResourceController.java:88)
    4 frames