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

TFS plugin throws NumberFormatException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • tfs-plugin
    • None
    • Ubuntu 12.10 (BitNami Jenkins 1.547-0), TEE-CLC 11

      When I do a poll from Visual Studio Online I get the following Exception:

      No history entries were found for the item and version combination specified.
      FATAL: For input string: ""
      java.lang.NumberFormatException: For input string: ""
      at java.lang.NumberFormatException.forInputString(Unknown Source)
      at java.lang.Integer.parseInt(Unknown Source)
      at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:200)
      at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:214)
      at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:189)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1415)
      at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
      at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561)
      at hudson.model.Run.execute(Run.java:1678)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:231)

            dastahel David Staheli
            gustavgahm Gustav Gahm
            Votes:
            6 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: