- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
Minor
 - 
    None
 
When I use jenkins python api to get the job build history, sometimes the request raise 500 status code, and the jenkins server log shows java.lang.IndexOutOfBoundsException: Index: 14939, Size: 14938
The api we invoke is : https://jenkins_url/job/<job_name>/api/python/?tree=allBuilds%5Bnumber%2Curl%5D