Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.7
-
None
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.