Program: 33332
Project: 33332
Buggy source:
private Entity createETAllPrim(int id){
  Entity entity=new EntityImpl();
  Calendar date=Calendar.getInstance();
  date.set(2014,Calendar.MARCH,19,10,12,0);
  date.set(Calendar.MILLISECOND,0);
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int16,ValueType.PRIMITIVE,id));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.String,ValueType.PRIMITIVE,"String_Node_Str"));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Boolean,ValueType.PRIMITIVE,Boolean.TRUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Byte,ValueType.PRIMITIVE,Byte.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.SByte,ValueType.PRIMITIVE,Short.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int32,ValueType.PRIMITIVE,Integer.MAX_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int64,ValueType.PRIMITIVE,Long.MAX_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Single,ValueType.PRIMITIVE,47.11));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Double,ValueType.PRIMITIVE,4.711));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Decimal,ValueType.PRIMITIVE,4711.1174));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Binary,ValueType.PRIMITIVE,new byte[]{0x04,0x07,0x01,0x01}));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Date,ValueType.PRIMITIVE,date));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.DateTimeOffset,ValueType.PRIMITIVE,date.getTime()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Duration,ValueType.PRIMITIVE,date.getTimeInMillis()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Guid,ValueType.PRIMITIVE,UUID.fromString("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.TimeOfDay,ValueType.PRIMITIVE,date));
  return entity;
}

Fixed version (ground truth):
private Entity createETAllPrim(int id){
  Entity entity=new EntityImpl();
  Calendar date=createCalendarInstance();
  date.set(2014,Calendar.MARCH,19,10,12,0);
  date.set(Calendar.MILLISECOND,0);
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int16,ValueType.PRIMITIVE,id));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.String,ValueType.PRIMITIVE,"String_Node_Str"));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Boolean,ValueType.PRIMITIVE,Boolean.TRUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Byte,ValueType.PRIMITIVE,Byte.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.SByte,ValueType.PRIMITIVE,Short.valueOf("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int32,ValueType.PRIMITIVE,Integer.MAX_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Int64,ValueType.PRIMITIVE,Long.MAX_VALUE));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Single,ValueType.PRIMITIVE,47.11));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Double,ValueType.PRIMITIVE,4.711));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Decimal,ValueType.PRIMITIVE,4711.1174));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Binary,ValueType.PRIMITIVE,new byte[]{0x04,0x07,0x01,0x01}));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Date,ValueType.PRIMITIVE,date));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.DateTimeOffset,ValueType.PRIMITIVE,date.getTime()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Duration,ValueType.PRIMITIVE,date.getTimeInMillis()));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.Guid,ValueType.PRIMITIVE,UUID.fromString("String_Node_Str")));
  entity.addProperty(createProperty("String_Node_Str",TecSvcSimpleProperty.TimeOfDay,ValueType.PRIMITIVE,date));
  return entity;
}