Program: 93901
Project: 93901
Buggy source:
private void initConfigDependentMembers(){
  try {
    Class.forName("String_Node_Str");
    m_config.unitTest=true;
  }
 catch (  ClassNotFoundException e) {
    m_config.unitTest=false;
  }
  m_listeners.updatePollRate(m_config.defaultStatePollRate);
  m_filterMngr.updateFilter(m_config.defaultScanFilter);
  if (m_config.nativeManagerLayer instanceof P_AndroidBluetoothManager) {
    ((P_AndroidBluetoothManager)m_config.nativeManagerLayer).setBleManager(this);
  }
  if (m_config.nativeManagerLayer.isManagerNull()) {
    m_config.nativeManagerLayer.resetManager(m_context);
  }
  boolean startUpdate=true;
  if (m_updateRunnable != null) {
    m_postManager.removeUpdateCallbacks(m_updateRunnable);
  }
 else {
    if (Interval.isEnabled(m_config.autoUpdateRate)) {
      m_updateRunnable=new UpdateRunnable(m_config.autoUpdateRate.millis());
    }
 else {
      startUpdate=false;
      m_updateRunnable=new UpdateRunnable();
    }
  }
  if (m_config.scanMode != null) {
    m_config.scanApi=BleScanApi.fromBleScanMode(m_config.scanMode);
    if (m_config.scanMode.isLollipopScanMode()) {
      m_config.scanPower=BleScanPower.fromBleScanMode(m_config.scanMode);
    }
    m_config.scanMode=null;
  }
  m_uhOhThrottler=new P_UhOhThrottler(this,Interval.secs(m_config.uhOhCallbackThrottle));
  if (m_wakeLockMngr == null) {
    m_wakeLockMngr=new P_WakeLockManager(this,m_config.manageCpuWakeLock);
  }
 else   if (m_wakeLockMngr != null && m_config.manageCpuWakeLock == false) {
    m_wakeLockMngr.clear();
    m_wakeLockMngr=new P_WakeLockManager(this,m_config.manageCpuWakeLock);
  }
  if (m_config.defaultDiscoveryListener != null) {
    this.setListener_Discovery(m_config.defaultDiscoveryListener);
  }
  initPostManager();
  if (startUpdate) {
    m_postManager.postToUpdateThreadDelayed(m_updateRunnable,m_config.autoUpdateRate.millis());
  }
}

Fixed version (ground truth):
private void initConfigDependentMembers(){
  try {
    Class.forName("String_Node_Str");
    m_config.unitTest=true;
  }
 catch (  ClassNotFoundException e) {
    m_config.unitTest=false;
  }
  m_listeners.updatePollRate(m_config.defaultStatePollRate);
  m_filterMngr.updateFilter(m_config.defaultScanFilter);
  if (m_config.nativeManagerLayer instanceof P_AndroidBluetoothManager) {
    ((P_AndroidBluetoothManager)m_config.nativeManagerLayer).setBleManager(this);
  }
  if (m_config.nativeManagerLayer.isManagerNull()) {
    m_config.nativeManagerLayer.resetManager(m_context);
  }
  boolean startUpdate=true;
  if (m_updateRunnable != null) {
    m_updateRunnable.m_shutdown=false;
    m_postManager.removeUpdateCallbacks(m_updateRunnable);
  }
 else {
    if (Interval.isEnabled(m_config.autoUpdateRate)) {
      m_updateRunnable=new UpdateRunnable(m_config.autoUpdateRate.millis());
    }
 else {
      startUpdate=false;
      m_updateRunnable=new UpdateRunnable();
    }
  }
  if (m_config.scanMode != null) {
    m_config.scanApi=BleScanApi.fromBleScanMode(m_config.scanMode);
    if (m_config.scanMode.isLollipopScanMode()) {
      m_config.scanPower=BleScanPower.fromBleScanMode(m_config.scanMode);
    }
    m_config.scanMode=null;
  }
  m_uhOhThrottler=new P_UhOhThrottler(this,Interval.secs(m_config.uhOhCallbackThrottle));
  if (m_wakeLockMngr == null) {
    m_wakeLockMngr=new P_WakeLockManager(this,m_config.manageCpuWakeLock);
  }
 else   if (m_wakeLockMngr != null && m_config.manageCpuWakeLock == false) {
    m_wakeLockMngr.clear();
    m_wakeLockMngr=new P_WakeLockManager(this,m_config.manageCpuWakeLock);
  }
  if (m_config.defaultDiscoveryListener != null) {
    this.setListener_Discovery(m_config.defaultDiscoveryListener);
  }
  initPostManager();
  if (startUpdate) {
    m_postManager.postToUpdateThreadDelayed(m_updateRunnable,m_config.autoUpdateRate.millis());
  }
}