Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366448

Summary: AtsBranchManagerCore.getEarliestTransactionId() throwing exception
Product: [Technology] OSEE Reporter: S. Cook <shawn.f.cook>
Component: Action Tracking System (ATS)Assignee: S. Cook <shawn.f.cook>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ryan.d.brooks
Version: 0.9.9   
Target Milestone: 0.9.9   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
AtsBranchManagerCore.getEarliestTransactionId() throwing exception ryan.d.brooks: iplog+

Description S. Cook CLA 2011-12-12 14:13:11 EST
The method AtsBranchManagerCore.getEarliestTransactionId() is throwing a exception when the Collection of transactionIds is empty (see code). This is a normal occurence and the code is changed to return null if transactionIds is empty here.
Comment 1 S. Cook CLA 2011-12-12 14:15:18 EST
Created attachment 208278 [details]
AtsBranchManagerCore.getEarliestTransactionId() throwing exception
Comment 2 S. Cook CLA 2011-12-12 14:16:10 EST
Added code to the method:
      if (transactionIds.isEmpty()) {
         return null;
      }
Comment 3 S. Cook CLA 2012-01-25 13:56:30 EST
Pushed by: Roberto E. Escobar <roberto.e.escobar@boeing.com>  2011-12-12 14:50:54
Released: Tag: 0.9.9.v201112191206_SR4
Comment 4 S. Cook CLA 2012-01-25 13:57:06 EST
Released: Tag: 0.9.9.v201112191206_SR4