Program: 142863
Project: 142863
Buggy source:
@Test public void testNode(){
  final Container container=Lookup.getDefault().lookup(ContainerFactory.class).newContainer();
  container.setReport(new Report());
  importer.execute(container.getLoader());
  NodeDraftGetter n1=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n2=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n3=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n4=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n5=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n6=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n7=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n8=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n9=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  assertNotNull(n1);
  assertNotNull(n2);
  assertNotNull(n3);
  assertNotNull(n4);
  assertNotNull(n5);
  assertNotNull(n6);
  assertNotNull(n7);
  assertNotNull(n8);
  assertNotNull(n9);
  ContainerUnloader unloader=container.getUnloader();
  AttributeColumn col0=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col1=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col2=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col3=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col4=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  try {
    assertEquals("String_Node_Str",n1.getLabel());
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n1.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n1.getTimeInterval().getValues().get(0)[1]));
    AttributeValue[] values1=n1.getAttributeRow().getValues();
    assertEquals("String_Node_Str",values1[col0.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",values1[col3.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",((DynamicType)values1[col0.getIndex()].getValue()).getValue());
    assertEquals(new Float(1),((DynamicType)values1[col3.getIndex()].getValue()).getValue());
    AttributeValue[] values2=n2.getAttributeRow().getValues();
    assertEquals("String_Node_Str",values2[col0.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",values2[col2.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",((DynamicType)values2[col0.getIndex()].getValue()).getValue());
    assertEquals(new StringList("String_Node_Str"),values2[col2.getIndex()].getValue());
    AttributeValue[] values3=n3.getAttributeRow().getValues();
    DynamicType val4=(DynamicType)values3[col4.getIndex()].getValue();
    double low=DynamicUtilities.getDoubleFromXMLDateString("String_Node_Str");
    double high=DynamicUtilities.getDoubleFromXMLDateString("String_Node_Str");
    assertEquals(new Float(3f),val4.getValue(low,high));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(0)[1]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(1)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(1)[1]));
    assertEquals(2,n3.getTimeInterval().getValues().size());
    container.verify();
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n4.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n4.getTimeInterval().getValues().get(0)[1]));
  }
 catch (  Exception e) {
    e.printStackTrace();
    fail(e.getMessage());
  }
  container.closeLoader();
  System.out.println(container.getReport().getText());
}

Fixed version (ground truth):
@Test public void testNode(){
  final Container container=Lookup.getDefault().lookup(ContainerFactory.class).newContainer();
  container.setReport(new Report());
  importer.execute(container.getLoader());
  NodeDraftGetter n1=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n2=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n3=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n4=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n5=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n6=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n7=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n8=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  NodeDraftGetter n9=(NodeDraftGetter)container.getLoader().getNode("String_Node_Str");
  assertNotNull(n1);
  assertNotNull(n2);
  assertNotNull(n3);
  assertNotNull(n4);
  assertNotNull(n5);
  assertNotNull(n6);
  assertNotNull(n7);
  assertNotNull(n8);
  assertNotNull(n9);
  ContainerUnloader unloader=container.getUnloader();
  AttributeColumn col0=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col1=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col2=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col3=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  AttributeColumn col4=unloader.getAttributeModel().getNodeTable().getColumn("String_Node_Str");
  try {
    assertEquals("String_Node_Str",n1.getLabel());
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n1.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n1.getTimeInterval().getValues().get(0)[1]));
    AttributeValue[] values1=n1.getAttributeRow().getValues();
    assertEquals("String_Node_Str",values1[col0.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",values1[col3.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",((DynamicType)values1[col0.getIndex()].getValue()).getValue());
    assertEquals(new Float(1),((DynamicType)values1[col3.getIndex()].getValue()).getValue());
    AttributeValue[] values2=n2.getAttributeRow().getValues();
    assertEquals("String_Node_Str",values2[col0.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",values2[col2.getIndex()].getColumn().getId());
    assertEquals("String_Node_Str",((DynamicType)values2[col0.getIndex()].getValue()).getValue());
    assertEquals(new StringList("String_Node_Str"),values2[col2.getIndex()].getValue());
    AttributeValue[] values3=n3.getAttributeRow().getValues();
    DynamicType val4=(DynamicType)values3[col4.getIndex()].getValue();
    double low=DynamicUtilities.getDoubleFromXMLDateString("String_Node_Str");
    double high=DynamicUtilities.getDoubleFromXMLDateString("String_Node_Str");
    assertEquals(new Float(3f),val4.getValue(low,high));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(0)[1]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(1)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(1)[1]));
    assertEquals(2,n3.getTimeInterval().getValues().size());
    container.verify();
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n4.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n4.getTimeInterval().getValues().get(0)[1]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(0)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(0)[1]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(1)[0]));
    assertEquals("String_Node_Str",DynamicUtilities.getXMLDateStringFromDouble(n3.getTimeInterval().getValues().get(1)[1]));
  }
 catch (  Exception e) {
    e.printStackTrace();
    fail(e.getMessage());
  }
  container.closeLoader();
  System.out.println(container.getReport().getText());
}