Program: 11401
Project: 11401
Buggy source:
public static void getBaselines(final Product[] sourceProduct,final Product targetProduct){
  try {
    final MetadataElement abstractedMetadata=AbstractMetadata.getAbstractedMetadata(targetProduct);
    final MetadataElement baselinesElem=getBaselinesElem(abstractedMetadata);
    final InSARStackOverview.IfgStack[] stackOverview=InSARStackOverview.calculateInSAROverview(sourceProduct);
    for (    InSARStackOverview.IfgStack stack : stackOverview) {
      final InSARStackOverview.IfgPair[] slaves=stack.getMasterSlave();
      System.out.println("String_Node_Str");
      System.out.println("String_Node_Str" + StackUtils.createBandTimeStamp(slaves[0].getMasterMetadata().getAbstractedMetadata().getProduct()).substring(1));
      final MetadataElement masterElem=new MetadataElement("String_Node_Str" + StackUtils.createBandTimeStamp(slaves[0].getMasterMetadata().getAbstractedMetadata().getProduct()).substring(1));
      baselinesElem.addElement(masterElem);
      for (      InSARStackOverview.IfgPair slave : slaves) {
        System.out.println("String_Node_Str" + StackUtils.createBandTimeStamp(slave.getSlaveMetadata().getAbstractedMetadata().getProduct()).substring(1) + "String_Node_Str"+ slave.getPerpendicularBaseline()+ "String_Node_Str"+ slave.getTemporalBaseline());
        final MetadataElement slaveElem=new MetadataElement("String_Node_Str" + StackUtils.createBandTimeStamp(slave.getMasterMetadata().getAbstractedMetadata().getProduct()).substring(1));
        masterElem.addElement(slaveElem);
        addAttrib(slaveElem,"String_Node_Str",slave.getPerpendicularBaseline());
        addAttrib(slaveElem,"String_Node_Str",slave.getTemporalBaseline());
        addAttrib(slaveElem,"String_Node_Str",slave.getCoherence());
        addAttrib(slaveElem,"String_Node_Str",slave.getHeightAmb());
        addAttrib(slaveElem,"String_Node_Str",slave.getDopplerDifference());
      }
      System.out.println();
    }
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public static void getBaselines(final Product[] sourceProduct,final Product targetProduct){
  try {
    final MetadataElement abstractedMetadata=AbstractMetadata.getAbstractedMetadata(targetProduct);
    final MetadataElement baselinesElem=getBaselinesElem(abstractedMetadata);
    final InSARStackOverview.IfgStack[] stackOverview=InSARStackOverview.calculateInSAROverview(sourceProduct);
    for (    InSARStackOverview.IfgStack stack : stackOverview) {
      final InSARStackOverview.IfgPair[] slaves=stack.getMasterSlave();
      System.out.println("String_Node_Str");
      System.out.println("String_Node_Str" + StackUtils.createBandTimeStamp(slaves[0].getMasterMetadata().getAbstractedMetadata().getProduct()).substring(1));
      final MetadataElement masterElem=new MetadataElement("String_Node_Str" + StackUtils.createBandTimeStamp(slaves[0].getMasterMetadata().getAbstractedMetadata().getProduct()).substring(1));
      baselinesElem.addElement(masterElem);
      for (      InSARStackOverview.IfgPair slave : slaves) {
        System.out.println("String_Node_Str" + StackUtils.createBandTimeStamp(slave.getSlaveMetadata().getAbstractedMetadata().getProduct()).substring(1) + "String_Node_Str"+ slave.getPerpendicularBaseline()+ "String_Node_Str"+ slave.getTemporalBaseline());
        final MetadataElement slaveElem=new MetadataElement("String_Node_Str" + StackUtils.createBandTimeStamp(slave.getSlaveMetadata().getAbstractedMetadata().getProduct()).substring(1));
        masterElem.addElement(slaveElem);
        addAttrib(slaveElem,"String_Node_Str",slave.getPerpendicularBaseline());
        addAttrib(slaveElem,"String_Node_Str",slave.getTemporalBaseline());
        addAttrib(slaveElem,"String_Node_Str",slave.getCoherence());
        addAttrib(slaveElem,"String_Node_Str",slave.getHeightAmb());
        addAttrib(slaveElem,"String_Node_Str",slave.getDopplerDifference());
      }
      System.out.println();
    }
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
}