java.lang.NumberFormatException

tip

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.


rp
tip

This is a bug in Wise, updating to v4.10 seems to solve the problem.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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.
    via by Gianvittorio Mauri,
  • 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.
    via by Gianvittorio Mauri,
  • java : convert string value to int
    via Stack Overflow by lamisse
    ,
  • GWT call Axis2 on Tomcat doesn't work
    via Stack Overflow by nap.gab
    ,
  • Aptana 3 - wont load
    via Stack Overflow by Phil Jackson
    ,
  • Splash stuck at "Load Maps..."
    via freemind by tachyx
    ,
  • program does not run, simple java prgram
    via by Biran Quach,
  • Error while running mixed load
    via by Salil Wagh,
  • Factions not working
    via GitHub by GumballVN
    ,
    • 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)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    233 more bugmates