Program: 162661
Project: 162661
Buggy source:
@Override public void onCreate(){
  LogManager.i(TAG,"String_Node_Str",BuildConfig.VERSION_NAME);
  bluetoothCrashResolver=new BluetoothCrashResolver(this);
  bluetoothCrashResolver.start();
  mExecutor=Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors() + 1);
  mCycledScanner=CycledLeScanner.createScanner(this,BeaconManager.DEFAULT_FOREGROUND_SCAN_PERIOD,BeaconManager.DEFAULT_FOREGROUND_BETWEEN_SCAN_PERIOD,mBackgroundFlag,mCycledLeScanCallback,bluetoothCrashResolver);
  beaconManager=BeaconManager.getInstanceForApplication(getApplicationContext());
  boolean matchBeaconsByServiceUUID=true;
  if (beaconManager.getBeaconParsers() != null) {
    beaconParsers.addAll(beaconManager.getBeaconParsers());
    for (    BeaconParser beaconParser : beaconManager.getBeaconParsers()) {
      if (beaconParser.getExtraDataParsers().size() > 0) {
        matchBeaconsByServiceUUID=false;
        beaconParsers.addAll(beaconParser.getExtraDataParsers());
      }
    }
  }
  mExtraDataBeaconTracker=new ExtraDataBeaconTracker(matchBeaconsByServiceUUID);
  defaultDistanceCalculator=new ModelSpecificDistanceCalculator(this,BeaconManager.getDistanceModelUpdateUrl());
  Beacon.setDistanceCalculator(defaultDistanceCalculator);
  monitoringStatus=MonitoringStatus.getInstanceForApplication(getApplicationContext());
  try {
    Class klass=Class.forName("String_Node_Str");
    java.lang.reflect.Field f=klass.getField("String_Node_Str");
    this.simulatedScanData=(List<Beacon>)f.get(null);
  }
 catch (  ClassNotFoundException e) {
    LogManager.d(TAG,"String_Node_Str");
  }
catch (  Exception e) {
    LogManager.e(e,TAG,"String_Node_Str");
  }
}

Fixed version (ground truth):
@Override public void onCreate(){
  LogManager.i(TAG,"String_Node_Str",BuildConfig.VERSION_NAME);
  bluetoothCrashResolver=new BluetoothCrashResolver(this);
  bluetoothCrashResolver.start();
  mExecutor=Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors() + 1);
  mCycledScanner=CycledLeScanner.createScanner(this,BeaconManager.DEFAULT_FOREGROUND_SCAN_PERIOD,BeaconManager.DEFAULT_FOREGROUND_BETWEEN_SCAN_PERIOD,mBackgroundFlag,mCycledLeScanCallback,bluetoothCrashResolver);
  beaconManager=BeaconManager.getInstanceForApplication(getApplicationContext());
  boolean matchBeaconsByServiceUUID=true;
  if (beaconManager.getBeaconParsers() != null) {
    beaconParsers.addAll(beaconManager.getBeaconParsers());
    for (    BeaconParser beaconParser : beaconManager.getBeaconParsers()) {
      if (beaconParser.getExtraDataParsers().size() > 0) {
        matchBeaconsByServiceUUID=false;
        beaconParsers.addAll(beaconParser.getExtraDataParsers());
      }
    }
  }
  mExtraDataBeaconTracker=new ExtraDataBeaconTracker(matchBeaconsByServiceUUID);
  defaultDistanceCalculator=new ModelSpecificDistanceCalculator(this,BeaconManager.getDistanceModelUpdateUrl());
  Beacon.setDistanceCalculator(defaultDistanceCalculator);
  monitoringStatus=MonitoringStatus.getInstanceForApplication(getApplicationContext());
  monitoringStatus.startStatusPreservation();
  try {
    Class klass=Class.forName("String_Node_Str");
    java.lang.reflect.Field f=klass.getField("String_Node_Str");
    this.simulatedScanData=(List<Beacon>)f.get(null);
  }
 catch (  ClassNotFoundException e) {
    LogManager.d(TAG,"String_Node_Str");
  }
catch (  Exception e) {
    LogManager.e(e,TAG,"String_Node_Str");
  }
}