Program: 6460
Project: 6460
Buggy source:
@Override public void start(CoprocessorEnvironment env){
  if (env instanceof RegionCoprocessorEnvironment) {
    HTableDescriptor tableDesc=((RegionCoprocessorEnvironment)env).getRegion().getTableDesc();
    String hTableName=tableDesc.getNameAsString();
    String prefixBytes=tableDesc.getValue(HBaseQueueAdmin.PROPERTY_PREFIX_BYTES);
    try {
      this.prefixBytes=prefixBytes == null ? SaltedHBaseQueueStrategy.SALT_BYTES : Integer.parseInt(prefixBytes);
    }
 catch (    NumberFormatException e) {
      LOG.error("String_Node_Str" + HBaseQueueAdmin.PROPERTY_PREFIX_BYTES + "String_Node_Str"+ "String_Node_Str"+ SaltedHBaseQueueStrategy.SALT_BYTES,e);
      this.prefixBytes=SaltedHBaseQueueStrategy.SALT_BYTES;
    }
    HTable10CDHNameConverter nameConverter=new HTable10CDHNameConverter();
    namespaceId=nameConverter.from(tableDesc).getNamespace().getId();
    appName=HBaseQueueAdmin.getApplicationName(hTableName);
    flowName=HBaseQueueAdmin.getFlowName(hTableName);
    Configuration conf=env.getConfiguration();
    String hbaseNamespacePrefix=nameConverter.getNamespacePrefix(tableDesc);
    TableId queueConfigTableId=HBaseQueueAdmin.getConfigTableId(namespaceId);
    final String sysConfigTablePrefix=nameConverter.getSysConfigTablePrefix(tableDesc);
    txStateCache=new DefaultTransactionStateCacheSupplier(sysConfigTablePrefix,conf).get();
    txSnapshotSupplier=new Supplier<TransactionSnapshot>(){
      @Override public TransactionSnapshot get(){
        return txStateCache.getLatestState();
      }
    }
;
    configTableName=nameConverter.toTableName(hbaseNamespacePrefix,queueConfigTableId);
    cConfReader=new CConfigurationReader(conf,sysConfigTablePrefix);
    configCache=createConfigCache(env);
  }
}

Fixed version (ground truth):
@Override public void start(CoprocessorEnvironment env){
  if (env instanceof RegionCoprocessorEnvironment) {
    HTableDescriptor tableDesc=((RegionCoprocessorEnvironment)env).getRegion().getTableDesc();
    String hTableName=tableDesc.getNameAsString();
    String prefixBytes=tableDesc.getValue(HBaseQueueAdmin.PROPERTY_PREFIX_BYTES);
    try {
      this.prefixBytes=prefixBytes == null ? SaltedHBaseQueueStrategy.SALT_BYTES : Integer.parseInt(prefixBytes);
    }
 catch (    NumberFormatException e) {
      LOG.error("String_Node_Str" + HBaseQueueAdmin.PROPERTY_PREFIX_BYTES + "String_Node_Str"+ "String_Node_Str"+ SaltedHBaseQueueStrategy.SALT_BYTES,e);
      this.prefixBytes=SaltedHBaseQueueStrategy.SALT_BYTES;
    }
    HTable10CDHNameConverter nameConverter=new HTable10CDHNameConverter();
    namespaceId=nameConverter.from(tableDesc).getNamespace().getId();
    appName=HBaseQueueAdmin.getApplicationName(hTableName);
    flowName=HBaseQueueAdmin.getFlowName(hTableName);
    Configuration conf=env.getConfiguration();
    String hbaseNamespacePrefix=nameConverter.getNamespacePrefix(tableDesc);
    TableId queueConfigTableId=HBaseQueueAdmin.getConfigTableId(namespaceId);
    final String sysConfigTablePrefix=nameConverter.getSysConfigTablePrefix(tableDesc);
    txStateCache=new DefaultTransactionStateCacheSupplier(sysConfigTablePrefix,conf).get();
    txSnapshotSupplier=new Supplier<TransactionVisibilityState>(){
      @Override public TransactionVisibilityState get(){
        return txStateCache.getLatestState();
      }
    }
;
    configTableName=nameConverter.toTableName(hbaseNamespacePrefix,queueConfigTableId);
    cConfReader=new CConfigurationReader(conf,sysConfigTablePrefix);
    configCache=createConfigCache(env);
  }
}