Program: 96520
Project: 96520
Buggy source:
public List<IReviewFile> getReviewFiles(NullProgressMonitor monitor) throws CoreException {
  for (  ScmConnector connector : ScmCore.getAllRegisteredConnectors()) {
    for (    ScmRepository repository : connector.getRepositories(new NullProgressMonitor())) {
      if (repositoryUrl.equals(repository.getUrl())) {
        ChangeSet changeset=connector.getChangeSet(repository,new IFileRevision(){
          public IStorage getStorage(          IProgressMonitor monitor) throws CoreException {
            return null;
          }
          public String getName(){
            return null;
          }
          public URI getURI(){
            return null;
          }
          public long getTimestamp(){
            return 0;
          }
          public boolean exists(){
            return false;
          }
          public String getContentIdentifier(){
            return revisionId;
          }
          public String getAuthor(){
            return null;
          }
          public String getComment(){
            return null;
          }
          public ITag[] getTags(){
            return null;
          }
          public boolean isPropertyMissing(){
            return false;
          }
          public IFileRevision withAllProperties(          IProgressMonitor monitor) throws CoreException {
            return null;
          }
        }
,monitor);
        List<IReviewFile> list=new ArrayList<IReviewFile>();
        for (        Change change : changeset.getChanges()) {
          list.add(new ChangeSetReviewFile(change));
        }
        return list;
      }
    }
  }
  return new ArrayList<IReviewFile>();
}

Fixed version (ground truth):
public List<IReviewFile> getReviewFiles(NullProgressMonitor monitor) throws CoreException {
  for (  ScmConnector connector : ScmCore.getAllRegisteredConnectors()) {
    for (    ScmRepository repository : connector.getRepositories(new NullProgressMonitor())) {
      if (repositoryUrl.equals(repository.getUrl())) {
        ChangeSet changeset=connector.getChangeSet(repository,new FileRevision(){
          public IStorage getStorage(          IProgressMonitor monitor) throws CoreException {
            return null;
          }
          public String getName(){
            return null;
          }
          public URI getURI(){
            return null;
          }
          public long getTimestamp(){
            return 0;
          }
          public boolean exists(){
            return false;
          }
          public String getContentIdentifier(){
            return revisionId;
          }
          public String getAuthor(){
            return null;
          }
          public String getComment(){
            return null;
          }
          public ITag[] getTags(){
            return null;
          }
          public boolean isPropertyMissing(){
            return false;
          }
          public IFileRevision withAllProperties(          IProgressMonitor monitor) throws CoreException {
            return null;
          }
        }
,monitor);
        List<IReviewFile> list=new ArrayList<IReviewFile>();
        for (        Change change : changeset.getChanges()) {
          list.add(new ChangeSetReviewFile(change));
        }
        return list;
      }
    }
  }
  return new ArrayList<IReviewFile>();
}