Program: 18177
Project: 18177
Buggy source:
@Test public void testPersistErrors() throws ServiceException {
  List<CommonErrorData> errorsToStore=createTestCommonErrorDataList(1);
  String serverName="String_Node_Str";
  String srvcAdminName="String_Node_Str";
  String opName="String_Node_Str";
  boolean serverSide=true;
  String consumerName="String_Node_Str";
  long now=System.currentTimeMillis();
  Map<String,String> options=createOptionsMap();
  InitContext ctx=new MockInitContext(options);
  logHandler.init(ctx);
  logHandler.persistErrors(errorsToStore,serverName,srvcAdminName,opName,serverSide,consumerName,now);
  ColumnSlice<Object,Object> errorColumnSlice=getColumnValues(kspace,"String_Node_Str",new Long(0),StringSerializer.get(),StringSerializer.get(),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  assertValues(errorColumnSlice,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  ColumnSlice<Object,Object> longColumnSlice=getColumnValues(kspace,"String_Node_Str",new Long(0),StringSerializer.get(),LongSerializer.get(),"String_Node_Str");
  assertValues(longColumnSlice,"String_Node_Str",new Long(0));
  ColumnSlice<Object,Object> categoryCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(categoryCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> categoryCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(categoryCountAllOpsColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(severityCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),new Long(now));
  assertValues(severityCountAllOpsColumnSlice,now,"String_Node_Str");
}

Fixed version (ground truth):
@Test public void testPersistErrors() throws ServiceException {
  List<CommonErrorData> errorsToStore=createTestCommonErrorDataList(1);
  String serverName="String_Node_Str";
  String srvcAdminName="String_Node_Str";
  String opName="String_Node_Str";
  boolean serverSide=true;
  String consumerName="String_Node_Str";
  long now=System.currentTimeMillis();
  Map<String,String> options=createOptionsMap();
  InitContext ctx=new MockInitContext(options);
  logHandler.init(ctx);
  logHandler.persistErrors(errorsToStore,serverName,srvcAdminName,opName,serverSide,consumerName,now);
  ColumnSlice<Object,Object> errorColumnSlice=getColumnValues(kspace,"String_Node_Str",Long.valueOf(0),StringSerializer.get(),StringSerializer.get(),"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  assertValues(errorColumnSlice,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  ColumnSlice<Object,Object> longColumnSlice=getColumnValues(kspace,"String_Node_Str",Long.valueOf(0),StringSerializer.get(),LongSerializer.get(),"String_Node_Str");
  assertValues(longColumnSlice,"String_Node_Str",Long.valueOf(0));
  ColumnSlice<Object,Object> categoryCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(categoryCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> categoryCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(categoryCountAllOpsColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(severityCountColumnSlice,now,"String_Node_Str");
  ColumnSlice<Object,Object> severityCountAllOpsColumnSlice=getColumnValues(kspace,"String_Node_Str","String_Node_Str",LongSerializer.get(),StringSerializer.get(),Long.valueOf(now));
  assertValues(severityCountAllOpsColumnSlice,now,"String_Node_Str");
}