Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30382

TFS plug-in 4.0.0 NumberFormatExceptions

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: tfs-plugin
    • Labels:
      None
    • Environment:
      Windows 7 (32-bit)
      Jenkins 1.627
      JRE 1.7.0_67
      TFS Server: 12.0.31101.0
    • Similar Issues:

      Description

      Since installing the TFS plug-in 4.0.0 one of the slaves often fails with

      FATAL: java.lang.NumberFormatException: For input string: ".2001155E4.2001155E4"

      Started by upstream project "7.12/build work" build number 475
      originally caused by:
       Started by an SCM change
      [EnvInject] - Loading node environment variables.
      Building remotely on <machine> (oe11.4 oe10.2b) in workspace d:\jenkins\workspace\7.12\work\build_bl-11.4-oe
      FATAL: java.lang.NumberFormatException: For input string: ".2001155E4.2001155E4"
      java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ".2001155E4.2001155E4"
      	at hudson.plugins.tfs.model.Server.execute(Server.java:110)
      	at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:193)
      	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:189)
      	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:205)
      	at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:262)
      	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:211)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:408)
      Caused by: java.lang.NumberFormatException: For input string: ".2001155E4.2001155E4"
      	at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
      	at java.lang.Double.parseDouble(Unknown Source)
      	at java.text.DigitList.getDouble(Unknown Source)
      	at java.text.DecimalFormat.parse(Unknown Source)
      	at java.text.SimpleDateFormat.subParse(Unknown Source)
      	at java.text.SimpleDateFormat.parse(Unknown Source)
      	at java.text.DateFormat.parse(Unknown Source)
      	at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parseExtended(LenientDateTimeParser.java:295)
      	at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parse(LenientDateTimeParser.java:380)
      	at com.microsoft.tfs.core.clients.versioncontrol.specs.version.DateVersionSpec.<init>(DateVersionSpec.java:59)
      	at com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec.parseSingleVersionFromSpec(VersionSpec.java:230)
      	at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:59)
      	at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:33)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      	at hudson.remoting.Request$2.run(Request.java:324)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at hudson.remoting.Engine$1$1.run(Engine.java:63)
      	at java.lang.Thread.run(Unknown Source)
      	at ......remote call to <machine>-50(Native Method)
      	at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1413)
      	at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
      	at hudson.remoting.Channel.call(Channel.java:778)
      	at hudson.plugins.tfs.model.Server.execute(Server.java:106)
      	... 13 more
      

      A build around the same time on the same slave did not fail:

      Started by upstream project "7.12/build work" build number 475
      originally caused by:
       Started by an SCM change
      [EnvInject] - Loading node environment variables.
      Building remotely on <machine> (oe11.4 oe10.2b) in workspace d:\jenkins\workspace\7.12\work\build_ws-11.4
      Querying for remote changeset at '$/<product>/7.12/work' as of 'D2015-09-10T08:10:36Z'...
      Query result is: Changeset #208683 by '<domain>\<user>' on '2015-09-10T08:08:46Z'.
      

      Both these builds were started in parallel.

      It would seem that querying for remote changeset is sometimes failing to format the datetime correctly?

      Update. Just had one of a parallel pair complain - the invalid input string is identical to the previous fatal:

      Started by upstream project "7.12/build work" build number 483
      originally caused by:
       Started by user <user>
      [EnvInject] - Loading node environment variables.
      Building remotely on <machine> (oe11.4 windows oe10.2b) in workspace d:\jenkins\workspace\7.12\work\build_bl-11.4-oe
      FATAL: java.lang.NumberFormatException: For input string: ".2001155E4.2001155E4"
      java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ".2001155E4.2001155E4"
      	at hudson.plugins.tfs.model.Server.execute(Server.java:110)
      
      Started by upstream project "7.12/build work" build number 483
      originally caused by:
       Started by user <user>
      [EnvInject] - Loading node environment variables.
      Building remotely on <machine> (oe11.4 windows oe10.2b) in workspace d:\jenkins\workspace\7.12\work\build_ws-11.4
      Querying for remote changeset at '$/<product>/7.12/work' as of 'D2015-09-11T20:53:17Z'...
      Query result is: Changeset #208741 by '<domain>\<user>' on '2015-09-11T10:42:18Z'.
      

      Update 2015-09-13: and another one of a parallel pair complained - the difference with the previous results is that the input string is empty:

      Successful start:

      Started by upstream project "7.20/build work" build number 28
      originally caused by:
       Started by an SCM change
       Started by an SCM change
       Started by an SCM change
      [EnvInject] - Loading node environment variables.
      Building remotely on <machine-50> (oe11.4 windows oe10.2b) in workspace d:\jenkins\workspace\7.20\work\build_bp-11.4
      Querying for remote changeset at '$/<product>/7.20/work' as of 'D2015-09-13T20:02:26Z'...
      

      Failed start:

      Started by upstream project "7.20/build work" build number 28
      originally caused by:
       Started by an SCM change
       Started by an SCM change
       Started by an SCM change
      [EnvInject] - Loading node environment variables.
      Building remotely on <machine-50> (oe11.4 windows oe10.2b) in workspace d:\jenkins\workspace\7.20\work\build_bl-11.4-oracle
      FATAL: java.lang.NumberFormatException: For input string: ""
      java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
      	at hudson.plugins.tfs.model.Server.execute(Server.java:110)
      

      Update 2015-09-14: something else came in throwing the datetime handler in a new way:

      Building remotely on <machine>-50 (oe11.4 windows oe10.2b) in workspace d:\jenkins\workspace\7.20\work\build_ws-11.4
      FATAL: java.lang.ArrayIndexOutOfBoundsException: -1
      java.lang.RuntimeException: java.lang.ArrayIndexOutOfBoundsException: -1
      	at hudson.plugins.tfs.model.Server.execute(Server.java:110)
      	at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:193)
      	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:189)
      	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:205)
      	at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:262)
      	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:211)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      	at hudson.model.Run.execute(Run.java:1741)
      	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:408)
      Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
      	at java.text.DigitList.fitsIntoLong(Unknown Source)
      	at java.text.DecimalFormat.parse(Unknown Source)
      	at java.text.SimpleDateFormat.subParse(Unknown Source)
      	at java.text.SimpleDateFormat.parse(Unknown Source)
      	at java.text.DateFormat.parse(Unknown Source)
      	at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parseExtended(LenientDateTimeParser.java:295)
              at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parse(LenientDateTimeParser.java:380)
      	at com.microsoft.tfs.core.clients.versioncontrol.specs.version.DateVersionSpec.<init>(DateVersionSpec.java:59)
      	at com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec.parseSingleVersionFromSpec(VersionSpec.java:230)
      	at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:59)
      	at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:33)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:121)
      	at hudson.remoting.UserRequest.perform(UserRequest.java:49)
      	at hudson.remoting.Request$2.run(Request.java:326)
      	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
      	at java.util.concurrent.FutureTask.run(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at hudson.remoting.Engine$1$1.run(Engine.java:69)
      	at java.lang.Thread.run(Unknown Source)
      	at ......remote call to <machine>-50(Native Method)
      

      Update 2015-09-16 - now a build being performed on the master (with a slave orchestrating the multijob build) is failing:

      Started by upstream project "7.20/build work" build number 52
      originally caused by:
       Started by user <user>
      [EnvInject] - Loading node environment variables.
      Building on master in workspace C:\Program Files (x86)\Jenkins\jobs\7.20\jobs\work\jobs\build_ws-11.4\workspace
      FATAL: java.lang.NumberFormatException: For input string: "E.420155"
      java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "E.420155"
      

        Attachments

          Issue Links

            Activity

            Hide
            jpricketmsft Jason Prickett added a comment -

            Stefan Drissen, Thanks for the updated callstack! Do you have a consistent repro? If you are willing to test a private fix, email me at jpricket<at>microsoft.com and I will get you a private fix. Of course, that only helps if you have a consistent repro.

            Thanks, Jason

            Show
            jpricketmsft Jason Prickett added a comment - Stefan Drissen , Thanks for the updated callstack! Do you have a consistent repro? If you are willing to test a private fix, email me at jpricket<at>microsoft.com and I will get you a private fix. Of course, that only helps if you have a consistent repro. Thanks, Jason
            Hide
            smd Stefan Drissen added a comment - - edited

            On Jenkins 2.104 / Team Foundation Server Plug-in 5.126.0 - this is rearing it's ugly head again:

            Started by upstream project "<version>/build work" build number 271
            originally caused by:
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            Started by an SCM change
            [EnvInject] - Loading node environment variables.
            Building remotely on <slave> (oe11.5.1.036 odbc-sql2014 oe11.6.3.005 odbc-sql2012) in workspace d:\jenkins\workspace\<version>\work\build_bp-11.6
            FATAL: java.lang.NumberFormatException: For input string: ".20182018E4.20182018E4"
            Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.2.33.103/10.2.33.103:54670
            at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1696)
            at hudson.remoting.UserResponse.retrieve(UserRequest.java:313)
            at hudson.remoting.Channel.call(Channel.java:909)
            at hudson.plugins.tfs.model.Server.execute(Server.java:233)
            at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:280)
            at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:276)
            at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:292)
            at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:394)
            at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:343)
            at hudson.scm.SCM.checkout(SCM.java:504)
            at hudson.model.AbstractProject.checkout(AbstractProject.java:1203)
            at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
            at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
            at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
            at hudson.model.Run.execute(Run.java:1727)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:97)
            at hudson.model.Executor.run(Executor.java:429)
            java.lang.NumberFormatException: For input string: ".20182018E4.20182018E4"
            at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
            at sun.misc.FloatingDecimal.parseDouble(Unknown Source)
            at java.lang.Double.parseDouble(Unknown Source)
            at java.text.DigitList.getDouble(Unknown Source)
            at java.text.DecimalFormat.parse(Unknown Source)
            at java.text.SimpleDateFormat.subParse(Unknown Source)
            at java.text.SimpleDateFormat.parse(Unknown Source)
            at java.text.DateFormat.parse(Unknown Source)
            at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parseExtended(LenientDateTimeParser.java:285)
            at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parse(LenientDateTimeParser.java:365)
            at com.microsoft.tfs.core.clients.versioncontrol.specs.version.DateVersionSpec.<init>(DateVersionSpec.java:51)
            at com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec.parseSingleVersionFromSpec(VersionSpec.java:197)
            at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:60)
            at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:34)
            at hudson.remoting.UserRequest.perform(UserRequest.java:210)
            at hudson.remoting.UserRequest.perform(UserRequest.java:53)
            at hudson.remoting.Request$2.run(Request.java:358)
            at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
            at java.util.concurrent.FutureTask.run(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
            at hudson.remoting.Engine$1$1.run(Engine.java:94)
            at java.lang.Thread.run(Unknown Source)
            Caused: java.lang.RuntimeException
            at hudson.plugins.tfs.model.Server.execute(Server.java:237)
            at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:280)
            at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:276)
            at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:292)
            at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:394)
            at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:343)
            at hudson.scm.SCM.checkout(SCM.java:504)
            at hudson.model.AbstractProject.checkout(AbstractProject.java:1203)
            at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
            at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
            at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
            at hudson.model.Run.execute(Run.java:1727)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:97)
            at hudson.model.Executor.run(Executor.java:429)
            
            Show
            smd Stefan Drissen added a comment - - edited On Jenkins 2.104 / Team Foundation Server Plug-in 5.126.0 - this is rearing it's ugly head again: Started by upstream project "<version>/build work" build number 271 originally caused by: Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change Started by an SCM change [EnvInject] - Loading node environment variables. Building remotely on <slave> (oe11.5.1.036 odbc-sql2014 oe11.6.3.005 odbc-sql2012) in workspace d:\jenkins\workspace\<version>\work\build_bp-11.6 FATAL: java.lang.NumberFormatException: For input string: ".20182018E4.20182018E4" Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 10.2.33.103/10.2.33.103:54670 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1696) at hudson.remoting.UserResponse.retrieve(UserRequest.java:313) at hudson.remoting.Channel.call(Channel.java:909) at hudson.plugins.tfs.model.Server.execute(Server.java:233) at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:280) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:276) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:292) at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:394) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:343) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1203) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1727) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) java.lang.NumberFormatException: For input string: ".20182018E4.20182018E4" at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source) at sun.misc.FloatingDecimal.parseDouble(Unknown Source) at java.lang. Double .parseDouble(Unknown Source) at java.text.DigitList.getDouble(Unknown Source) at java.text.DecimalFormat.parse(Unknown Source) at java.text.SimpleDateFormat.subParse(Unknown Source) at java.text.SimpleDateFormat.parse(Unknown Source) at java.text.DateFormat.parse(Unknown Source) at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parseExtended(LenientDateTimeParser.java:285) at com.microsoft.tfs.util.datetime.LenientDateTimeParser.parse(LenientDateTimeParser.java:365) at com.microsoft.tfs.core.clients.versioncontrol.specs.version.DateVersionSpec.<init>(DateVersionSpec.java:51) at com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec.parseSingleVersionFromSpec(VersionSpec.java:197) at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:60) at hudson.plugins.tfs.commands.RemoteChangesetVersionCommand.call(RemoteChangesetVersionCommand.java:34) at hudson.remoting.UserRequest.perform(UserRequest.java:210) at hudson.remoting.UserRequest.perform(UserRequest.java:53) at hudson.remoting.Request$2.run(Request.java:358) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:94) at java.lang. Thread .run(Unknown Source) Caused: java.lang.RuntimeException at hudson.plugins.tfs.model.Server.execute(Server.java:237) at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:280) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:276) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:292) at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:394) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:343) at hudson.scm.SCM.checkout(SCM.java:504) at hudson.model.AbstractProject.checkout(AbstractProject.java:1203) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499) at hudson.model.Run.execute(Run.java:1727) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429)
            Hide
            kelliejos Kellie Jos added a comment -

            Thank you for using the tfs-plugin. It appears that your issue was found in an older version of the plugin. There have been a number of improvements made in the recent releases that may have resolved your issue. Please update to the most recent 5.126.0 release. If your issue persists, please open a new ticket and we will investigate.

            Show
            kelliejos Kellie Jos added a comment - Thank you for using the tfs-plugin. It appears that your issue was found in an older version of the plugin. There have been a number of improvements made in the recent releases that may have resolved your issue. Please update to the most recent 5.126.0 release. If your issue persists, please open a new ticket and we will investigate.
            Hide
            zalimgandhera ahmed daniel added a comment -

            I think I have seen this same issue on tfs-plugin 4.0 and upgrading it to newer version changes the issue to something like below.
            The slave machine is windows 7 64 bit and tfs plugin version 5.3.1.
            Both issues occurr randomly for me.
            Building remotely on BuildMachine (VisualStudio) in workspace c:\Jenkins\InteractiveLibraries
            FATAL: java.lang.NumberFormatException: For input string: ""
            java.lang.RuntimeException: java.lang.NumberFormatException: For input string: ""
            at hudson.plugins.tfs.model.Server.execute(Server.java:226)
            at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:275)
            at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:271)
            at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:287)
            at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:359)
            at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:308)
            at hudson.model.AbstractProject.checkout(AbstractProject.java:1269)
            at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604)
            at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
            at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
            at hudson.model.Run.execute(Run.java:1741)
            at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
            at hudson.model.ResourceController.execute(ResourceController.java:98)
            at hudson.model.Executor.run(Executor.java:410)
            Caused by: java.lang.NumberFormatException: For input string: ""

            Show
            zalimgandhera ahmed daniel added a comment - I think I have seen this same issue on tfs-plugin 4.0 and upgrading it to newer version changes the issue to something like below. The slave machine is windows 7 64 bit and tfs plugin version 5.3.1. Both issues occurr randomly for me. Building remotely on BuildMachine (VisualStudio) in workspace c:\Jenkins\InteractiveLibraries FATAL: java.lang.NumberFormatException: For input string: "" java.lang.RuntimeException: java.lang.NumberFormatException: For input string: "" at hudson.plugins.tfs.model.Server.execute(Server.java:226) at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:275) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:271) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:287) at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:359) at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:308) at hudson.model.AbstractProject.checkout(AbstractProject.java:1269) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:604) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410) Caused by: java.lang.NumberFormatException: For input string: ""

              People

              • Assignee:
                dastahel David Staheli
                Reporter:
                smd Stefan Drissen
              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: