Program: 18539
Project: 18539
Buggy source:
/** 
 * Instantiates a new Metrics Query Service cassandra provider impl.
 */
public SOAMetricsQueryServiceCassandraProviderImpl(){
  getCassandraConfig();
  if (Boolean.valueOf(embeed)) {
    CassandraManager.initialize();
  }
  metricsErrorByIdDAO=new MetricsErrorByIdDAOImpl<Long>(clusterName,host,keyspace,errorByIdCF,Long.class);
  metricsErrorValuesDAO=new MetricsErrorValuesDAOImpl(clusterName,host,keyspace,errorValuesCF,String.class);
  metricsErrorsByCategoryDAO=new MetricsErrorsByCategoryDAOImpl<String>(clusterName,host,keyspace,errorsByCategoryCF,String.class,metricsErrorValuesDAO,metricsErrorByIdDAO);
  metricsErrorsBySeverityDAO=new MetricsErrorsBySeverityDAOImpl<String>(clusterName,host,keyspace,errorsBySeverityCF,String.class,metricsErrorValuesDAO,metricsErrorByIdDAO);
  metricIdentifierDAO=new MetricIdentifierDAOImpl<String>(clusterName,host,keyspace,metricsCF,String.class);
  metricTimeSeriesDAO=new MetricTimeSeriesDAOImpl<String>(clusterName,host,keyspace,metricByTimeSeriesCF,String.class);
  metricsServiceConsumerByIpDAO=new MetricsServiceConsumerByIpDAOImpl<String,String>(clusterName,host,keyspace,metricConsumerByIpCF,String.class,String.class);
  metricValuesDAO=new MetricValuesDAOImpl<String>(clusterName,host,keyspace,metricValuesCF,String.class);
  metricsServiceOperationByIpDAO=new MetricsServiceOperationByIpDAOImpl<String,String>(clusterName,host,keyspace,metricServiceOperationByIpCF,String.class,String.class);
  metricServiceCallsByTimeDAO=new MetricServiceCallsByTimeDAOImpl<String,Long>(clusterName,host,keyspace,metricServiceCallsByTimeCF,String.class,Long.class);
  metricValuesByIpAndDateDAO=new MetricValuesByIpAndDateDAOImpl<String,Long>(clusterName,host,keyspace,metricValuesByIpAndDateCF,String.class,Long.class);
}

Fixed version (ground truth):
/** 
 * Instantiates a new Metrics Query Service cassandra provider impl.
 */
public SOAMetricsQueryServiceCassandraProviderImpl(){
  getCassandraConfig();
  if (Boolean.valueOf(embeed)) {
    CassandraManager.initialize();
  }
  metricsErrorByIdDAO=new MetricsErrorByIdDAOImpl<Long>(clusterName,host,keyspace,errorByIdCF,Long.class);
  metricsErrorValuesDAO=new MetricsErrorValuesDAOImpl(clusterName,host,keyspace,errorValuesCF,String.class);
  metricsErrorsByCategoryDAO=new MetricsErrorsByCategoryDAOImpl<String>(clusterName,host,keyspace,errorsByCategoryCF,String.class,metricsErrorValuesDAO,metricsErrorByIdDAO);
  metricsErrorsBySeverityDAO=new MetricsErrorsBySeverityDAOImpl<String>(clusterName,host,keyspace,errorsBySeverityCF,String.class,metricsErrorValuesDAO,metricsErrorByIdDAO);
  metricIdentifierDAO=new MetricIdentifierDAOImpl<String>(clusterName,host,keyspace,metricsCF,String.class);
  metricTimeSeriesDAO=new MetricTimeSeriesDAOImpl<String>(clusterName,host,keyspace,metricByTimeSeriesCF,String.class);
  metricsServiceConsumerByIpDAO=new MetricsServiceConsumerByIpDAOImpl<String,String>(clusterName,host,keyspace,metricConsumerByIpCF,String.class,String.class);
  metricValuesDAO=new MetricValuesDAOImpl<String>(clusterName,host,keyspace,metricValuesCF,String.class);
  metricsServiceOperationByIpDAO=new MetricsServiceOperationByIpDAOImpl<String,String>(clusterName,host,keyspace,metricServiceOperationByIpCF,String.class,String.class);
  metricServiceCallsByTimeDAO=new MetricServiceCallsByTimeDAOImpl<String,Long>(clusterName,host,keyspace,metricServiceCallsByTimeCF,String.class,Long.class);
  metricValuesByIpAndDateDAO=new MetricValuesByIpAndDateDAOImpl<String,Long>(clusterName,host,keyspace,metricValuesByIpAndDateCF,String.class,Long.class);
  ipPerDayAndServiceNameDAO=new org.ebayopensource.turmeric.monitoring.provider.dao.impl.IpPerDayAndServiceNameDAOImpl<String,String>(clusterName,host,keyspace,"String_Node_Str",String.class,String.class);
}