Program: 167129
Project: 167129
Buggy source:
@Test public void testLoadSchemaWithArrays() throws Exception {
  Assume.assumeTrue(this.sqlG.getSqlDialect().supportsBooleanArrayValues() && this.sqlG.getSqlDialect().supportsFloatArrayValues() && this.sqlG.getSqlDialect().supportsLongArrayValues()&& this.sqlG.getSqlDialect().supportsIntegerArrayValues()&& this.sqlG.getSqlDialect().supportsDoubleArrayValues()&& this.sqlG.getSqlDialect().supportsStringArrayValues());
  this.sqlG.addVertex(T.label,"String_Node_Str","String_Node_Str",new boolean[]{true},"String_Node_Str",new short[]{(short)1},"String_Node_Str",new int[]{1},"String_Node_Str",new long[]{1L},"String_Node_Str",new float[]{1F},"String_Node_Str",new double[]{1D},"String_Node_Str",new String[]{"String_Node_Str"});
  this.sqlG.tx().commit();
  this.sqlG.close();
  this.sqlG=SqlG.open(configuration);
  Iterator<Vertex> iter=this.sqlG.V().has(T.label,"String_Node_Str");
  Assert.assertTrue(iter.hasNext());
  Vertex v=iter.next();
  Assert.assertTrue(Arrays.equals(new boolean[]{true},(boolean[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new short[]{(short)1},(short[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new int[]{1},(int[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new long[]{1l},(long[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new float[]{1f},(float[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new double[]{1d},(double[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new String[]{"String_Node_Str"},(String[])v.property("String_Node_Str").value()));
  this.sqlG.close();
  this.sqlG.open(configuration);
  iter=this.sqlG.V().has(T.label,"String_Node_Str");
  Assert.assertTrue(iter.hasNext());
  v=iter.next();
  Assert.assertTrue(Arrays.equals(new boolean[]{true},(boolean[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new short[]{(short)1},(short[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new int[]{1},(int[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new long[]{1l},(long[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new float[]{1f},(float[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new double[]{1d},(double[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new String[]{"String_Node_Str"},(String[])v.property("String_Node_Str").value()));
}

Fixed version (ground truth):
@Test public void testLoadSchemaWithArrays() throws Exception {
  Assume.assumeTrue(this.sqlG.getSqlDialect().supportsBooleanArrayValues() && this.sqlG.getSqlDialect().supportsFloatArrayValues() && this.sqlG.getSqlDialect().supportsLongArrayValues()&& this.sqlG.getSqlDialect().supportsIntegerArrayValues()&& this.sqlG.getSqlDialect().supportsDoubleArrayValues()&& this.sqlG.getSqlDialect().supportsStringArrayValues());
  this.sqlG.addVertex(T.label,"String_Node_Str","String_Node_Str",new boolean[]{true},"String_Node_Str",new short[]{(short)1},"String_Node_Str",new int[]{1},"String_Node_Str",new long[]{1L},"String_Node_Str",new float[]{1F},"String_Node_Str",new double[]{1D},"String_Node_Str",new String[]{"String_Node_Str"});
  this.sqlG.tx().commit();
  this.sqlG.close();
  this.sqlG=SqlG.open(configuration);
  Iterator<Vertex> iter=this.sqlG.V().has(T.label,"String_Node_Str");
  Assert.assertTrue(iter.hasNext());
  Vertex v=iter.next();
  Assert.assertTrue(Arrays.equals(new boolean[]{true},(boolean[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new short[]{(short)1},(short[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new int[]{1},(int[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new long[]{1l},(long[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new float[]{1f},(float[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new double[]{1d},(double[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new String[]{"String_Node_Str"},(String[])v.property("String_Node_Str").value()));
  this.sqlG.close();
  this.sqlG=SqlG.open(configuration);
  iter=this.sqlG.V().has(T.label,"String_Node_Str");
  Assert.assertTrue(iter.hasNext());
  v=iter.next();
  Assert.assertTrue(Arrays.equals(new boolean[]{true},(boolean[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new short[]{(short)1},(short[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new int[]{1},(int[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new long[]{1l},(long[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new float[]{1f},(float[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new double[]{1d},(double[])v.property("String_Node_Str").value()));
  Assert.assertTrue(Arrays.equals(new String[]{"String_Node_Str"},(String[])v.property("String_Node_Str").value()));
}