Program: 96720
Project: 96720
Buggy source:
private Collection<Change> getChanges(BranchId branch,boolean isHistorical,List<ChangeBuilder> changeBuilders) throws OseeCoreException {
  CompositeKeyHashMap<TransactionToken,Integer,Artifact> loadedMap=getBulkLoadedArtifacts(branch,isHistorical,changeBuilders);
  Collection<Change> changes=new ArrayList<>();
  for (  ChangeBuilder builder : changeBuilders) {
    Change toReturn=null;
    Artifact changeArtifact=loadedMap.get(builder.getTxDelta().getEndTx(),builder.getArtId());
    if (changeArtifact != null) {
      ArtifactDelta delta=new ArtifactDelta(builder.getTxDelta(),changeArtifact,null);
      if (builder instanceof ArtifactChangeBuilder) {
        toReturn=new ArtifactChange(branch,GammaId.valueOf(builder.getSourceGamma()),ArtifactId.valueOf(builder.getArtId()),builder.getTxDelta(),builder.getModType(),"String_Node_Str","String_Node_Str",isHistorical,changeArtifact,delta);
      }
 else       if (builder instanceof AttributeChangeBuilder) {
        AttributeChangeBuilder attrBuilder=(AttributeChangeBuilder)builder;
        toReturn=new AttributeChange(branch,GammaId.valueOf(attrBuilder.getSourceGamma()),ArtifactId.valueOf(attrBuilder.getArtId()),attrBuilder.getTxDelta(),attrBuilder.getModType(),attrBuilder.getIsValue(),attrBuilder.getWasValue(),AttributeId.valueOf(attrBuilder.getAttrId()),attrBuilder.getAttributeType(),attrBuilder.getArtModType(),isHistorical,changeArtifact,delta);
      }
 else       if (builder instanceof RelationChangeBuilder) {
        RelationChangeBuilder relBuilder=(RelationChangeBuilder)builder;
        Artifact bArtifact=loadedMap.get(builder.getTxDelta().getEndTx(),relBuilder.getbArtId());
        toReturn=new RelationChange(branch,GammaId.valueOf(builder.getSourceGamma()),ArtifactId.valueOf(builder.getArtId()),builder.getTxDelta(),builder.getModType(),ArtifactId.valueOf(relBuilder.getbArtId()),RelationId.valueOf(relBuilder.getRelLinkId()),relBuilder.getRationale(),"String_Node_Str",relBuilder.getRelationType(),isHistorical,changeArtifact,delta,bArtifact);
      }
    }
 else {
      toReturn=new ArtifactChange(branch,GammaId.valueOf(builder.getSourceGamma()),ArtifactId.valueOf(builder.getArtId()),builder.getTxDelta(),builder.getModType(),"String_Node_Str","String_Node_Str",isHistorical,null,null);
    }
    changes.add(toReturn);
  }
  return changes;
}

Fixed version (ground truth):
private Collection<Change> getChanges(BranchId branch,boolean isHistorical,List<ChangeBuilder> changeBuilders) throws OseeCoreException {
  CompositeKeyHashMap<TransactionToken,Integer,Artifact> loadedMap=getBulkLoadedArtifacts(branch,isHistorical,changeBuilders);
  Collection<Change> changes=new ArrayList<>();
  for (  ChangeBuilder builder : changeBuilders) {
    Change toReturn=null;
    Artifact changeArtifact=loadedMap.get(builder.getTxDelta().getEndTx(),builder.getArtId());
    if (changeArtifact != null) {
      ArtifactDelta delta=new ArtifactDelta(builder.getTxDelta(),changeArtifact,null);
      if (builder instanceof ArtifactChangeBuilder) {
        toReturn=new ArtifactChange(branch,GammaId.valueOf(builder.getSourceGamma()),ArtifactId.valueOf(builder.getArtId()),builder.getTxDelta(),builder.getModType(),"String_Node_Str","String_Node_Str",isHistorical,changeArtifact,delta);
      }
 else       if (builder instanceof AttributeChangeBuilder) {
        AttributeChangeBuilder attrBuilder=(AttributeChangeBuilder)builder;
        toReturn=new AttributeChange(branch,GammaId.valueOf(attrBuilder.getSourceGamma()),ArtifactId.valueOf(attrBuilder.getArtId()),attrBuilder.getTxDelta(),attrBuilder.getModType(),attrBuilder.getIsValue(),attrBuilder.getWasValue(),AttributeId.valueOf(attrBuilder.getAttrId()),attrBuilder.getAttributeType(),attrBuilder.getArtModType(),isHistorical,changeArtifact,delta);
      }
 else       if (builder instanceof RelationChangeBuilder) {
        RelationChangeBuilder relBuilder=(RelationChangeBuilder)builder;
        Artifact bArtifact=loadedMap.get(builder.getTxDelta().getEndTx(),relBuilder.getbArtId());
        toReturn=new RelationChange(branch,GammaId.valueOf(builder.getSourceGamma()),ArtifactId.valueOf(builder.getArtId()),builder.getTxDelta(),builder.getModType(),ArtifactId.valueOf(relBuilder.getbArtId()),RelationId.valueOf(Long.valueOf(relBuilder.getRelLinkId())),relBuilder.getRationale(),"String_Node_Str",relBuilder.getRelationType(),isHistorical,changeArtifact,delta,bArtifact);
      }
    }
 else {
      toReturn=new ArtifactChange(branch,GammaId.valueOf(builder.getSourceGamma()),ArtifactId.valueOf(builder.getArtId()),builder.getTxDelta(),builder.getModType(),"String_Node_Str","String_Node_Str",isHistorical,null,null);
    }
    changes.add(toReturn);
  }
  return changes;
}