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

IndexOutOfBoundsException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • tfs-plugin
    • None
    • Platform: PC, OS: Windows XP

      Hi,

      When i'm building a free style job which is connecting to a TFS, i've got this
      error.

      If i build this job when there is not any workspace configured on Hudson machine
      in TFS, it works well, however, the second time an error would be got.

      I'm wondering if it's the '-' problem.

      Would you please help me to check this? I've modified some machine name to
      ignore some company information. Please check the error log as below.

      Thank you very much in advance.

      ===========================================

      Started by user anonymous

      [workspace] $ "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\TF.exe"
      workspaces -format:brief -server:xxxx-xxxx-010

      Server: xxxx-xxxx-010

      Workspace Owner Computer Comment
      ------------------------ ------------ ------------- ---------------------------
      Hudson.JOBXXXXXXXXXXXXXX First.LastXX XXXX-XXXX-007

      FATAL: Index: 2, Size: 2

      java.lang.IndexOutOfBoundsException: Index: 2, Size: 2
      at java.util.ArrayList.RangeCheck(Unknown Source)
      at java.util.ArrayList.get(Unknown Source)
      at
      hudson.plugins.tfs.util.TextTableParser.getColumn(TextTableParser.java:99)
      at
      hudson.plugins.tfs.commands.ListWorkspacesCommand.parse(ListWorkspacesCommand.ja
      va:48)
      at
      hudson.plugins.tfs.model.Workspaces.getListFromServer(Workspaces.java:39)
      at
      hudson.plugins.tfs.model.Workspaces.populateMapFromServer(Workspaces.java:50)
      at hudson.plugins.tfs.model.Workspaces.exists(Workspaces.java:76)
      at
      hudson.plugins.tfs.actions.CheckoutAction.checkout(CheckoutAction.java:35)
      at
      hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java
      :169)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:1001)
      at
      hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:428)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:376)
      at hudson.model.Run.run(Run.java:1174)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:123)

            redsolo redsolo
            babaru babaru
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: