Program: 101785
Project: 101785
Buggy source:
@Override public void invoke(final MavenProject mavenProject,final Map<String,Object> models,final ResultCollector resultCollector){
  final Model originalModel=mavenProject.getOriginalModel();
  final Collection<Dependency> dependencies=expressionEvaluator.getPath(originalModel,"String_Node_Str");
  final Collection<Dependency> managedDependencies=expressionEvaluator.getPath(originalModel,"String_Node_Str");
  final Map<String,Dependency> managedDependenciesByManagementKey=modelUtil.mapByManagementKey(managedDependencies);
  for (  final Dependency dependency : dependencies) {
    final Dependency managedDependency=managedDependenciesByManagementKey.get(dependency.getManagementKey());
    if (managedDependency != null) {
      checkForRedundantVersions(mavenProject,resultCollector,new ObjectWithPath<Object>(dependency,mavenProject,"String_Node_Str"),new ObjectWithPath<Object>(managedDependency,mavenProject,"String_Node_Str"),"String_Node_Str","String_Node_Str");
    }
    final ExtDependency inheritedDependency=modelUtil.findInheritedDependency(mavenProject,dependency);
    if (inheritedDependency != null) {
      checkForRedundantVersions(mavenProject,resultCollector,new ObjectWithPath<Object>(dependency,mavenProject,"String_Node_Str"),new ObjectWithPath<Object>(inheritedDependency,inheritedDependency.getMavenProject(),null),"String_Node_Str","String_Node_Str" + inheritedDependency.getMavenProject().getId());
    }
  }
  for (  final Dependency managedDependency : managedDependencies) {
    final ExtDependency inheritedDependency=modelUtil.findInheritedDependency(mavenProject,managedDependency);
    if (inheritedDependency != null) {
      checkForRedundantVersions(mavenProject,resultCollector,new ObjectWithPath<Object>(managedDependency,mavenProject,"String_Node_Str"),new ObjectWithPath<Object>(inheritedDependency,inheritedDependency.getMavenProject(),null),"String_Node_Str","String_Node_Str" + inheritedDependency.getMavenProject().getId());
    }
  }
}

Fixed version (ground truth):
@Override public void invoke(final MavenProject mavenProject,final Map<String,Object> models,final ResultCollector resultCollector){
  final Model originalModel=mavenProject.getOriginalModel();
  final Collection<Dependency> dependencies=expressionEvaluator.getPath(originalModel,"String_Node_Str");
  final Collection<Dependency> managedDependencies=expressionEvaluator.getPath(originalModel,"String_Node_Str");
  final Map<String,Dependency> managedDependenciesByManagementKey=modelUtil.mapByManagementKey(managedDependencies);
  for (  final Dependency dependency : dependencies) {
    final Dependency managedDependency=managedDependenciesByManagementKey.get(dependency.getManagementKey());
    if (managedDependency != null) {
      checkForRedundantVersions(mavenProject,resultCollector,new ObjectWithPath<Object>(dependency,mavenProject,"String_Node_Str"),new ObjectWithPath<Object>(managedDependency,mavenProject,"String_Node_Str"),"String_Node_Str","String_Node_Str");
    }
    final ObjectWithPath<ExtDependency> inheritedDependency=modelUtil.findInheritedDependency(mavenProject,dependency);
    if (inheritedDependency != null) {
      checkForRedundantVersions(mavenProject,resultCollector,new ObjectWithPath<Object>(dependency,mavenProject,"String_Node_Str"),inheritedDependency,"String_Node_Str","String_Node_Str" + inheritedDependency.getProject().getId());
    }
  }
  for (  final Dependency managedDependency : managedDependencies) {
    final ObjectWithPath<ExtDependency> inheritedDependency=modelUtil.findInheritedDependency(mavenProject,managedDependency);
    if (inheritedDependency != null) {
      checkForRedundantVersions(mavenProject,resultCollector,new ObjectWithPath<Object>(managedDependency,mavenProject,"String_Node_Str"),inheritedDependency,"String_Node_Str","String_Node_Str" + inheritedDependency.getProject().getId());
    }
  }
}