Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-8574

Bamboo crashes if it failes to parse something in the p4 clients list.

    XMLWordPrintable

Details

    Description

      If for some reason the client list is malformed Bamboo will fail to do checking out, change detection etc.

      INFO   | jvm 1    | 2011/04/19 11:01:45 | java.util.NoSuchElementException
      INFO   | jvm 1    | 2011/04/19 11:01:45 | 	at java.util.StringTokenizer.nextToken(Unknown Source)
      INFO   | jvm 1    | 2011/04/19 11:01:45 | 	at com.tek42.perforce.parse.AbstractPerforceTemplate.parseList(AbstractPerforceTemplate.java:62)
      INFO   | jvm 1    | 2011/04/19 11:01:45 | 	at com.tek42.perforce.parse.Workspaces.getWorkspaceList(Workspaces.java:39)
      INFO   | jvm 1    | 2011/04/19 11:01:45 | 	at com.atlassian.bamboo.repository.perforce.PerforceManager.ensureClientIsValid(PerforceManager.java:232)
      INFO   | jvm 1    | 2011/04/19 11:01:45 | 	at com.atlassian.bamboo.repository.perforce.PerforceManager.getPerforceWorkspace(PerforceManager.java:212)
      

      We should make the parsing code more defensive so one malformed client doesn't interfere with the rest of the system.

      Attachments

        Activity

          People

            bmccoy bmccoy
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: