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

Changelist parser com.tek42.perforce.parse.ChangelistBuilder is intolerant to deviations in the changelist text file format

    XMLWordPrintable

Details

    Description

      In case the format of the "Job Line:" section is different an exception is thrown.

      INFO   | jvm 1    | 2008/09/28 22:28:11 | 2008-09-28 22:28:11,354 DEBUG [btpool0-4] [ChangelistBuilder] Job Line: VCL-2 on 2008/09/25
      INFO   | jvm 1    | 2008/09/28 22:28:11 | 2008-09-28 22:28:11,354 ERROR [btpool0-4] [ChangelistBuilder] Exception: null
      INFO   | jvm 1    | 2008/09/28 22:28:11 | 2008-09-28 22:28:11,354 ERROR [btpool0-4] [PerforceManager] Could retrieve change lists from perforce
      INFO   | jvm 1    | 2008/09/28 22:28:11 | com.tek42.perforce.PerforceException: Failed to retrieve changelist.
      INFO   | jvm 1    | 2008/09/28 22:28:11 | 	at com.tek42.perforce.parse.ChangelistBuilder.build(ChangelistBuilder.java:171)
      
      desired format VCL-2 on 2008/09/25 by bob closed
      deviation VCL-2 on 2008/09/25

      In the deviation the last 3 tokens are missing.

      We should be more tolerant towards missing tokens.

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            ukuhnhardt Ulrich Kuhnhardt [Atlassian]
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: