Program: 94338
Project: 94338
Buggy source:
public void attemptRead(){
  final ReadDataShare readData=new ReadDataShare(this);
  final Action1<Long> systemTimeListener=new Action1<Long>(){
    @Override public void call(    Long s){
      if (s != null) {
        Log.d(TAG,"String_Node_Str" + s + "String_Node_Str");
        final long addativeSystemTimeOffset=new Date().getTime() - s;
        final Action1<EGVRecord[]> evgRecordListener=new Action1<EGVRecord[]>(){
          @Override public void call(          EGVRecord[] egvRecords){
            if (egvRecords != null) {
              Log.d(TAG,"String_Node_Str" + egvRecords.length + "String_Node_Str");
              BgReading.create(egvRecords,addativeSystemTimeOffset,getApplicationContext());
              setRetryTimer();
            }
          }
        }
;
        final Action1<SensorRecord[]> sensorRecordListener=new Action1<SensorRecord[]>(){
          @Override public void call(          SensorRecord[] sensorRecords){
            if (sensorRecords != null) {
              Log.d(TAG,"String_Node_Str" + sensorRecords.length + "String_Node_Str");
              BgReading.create(sensorRecords,addativeSystemTimeOffset,getApplicationContext());
              readData.getRecentEGVs(evgRecordListener);
            }
          }
        }
;
        final Action1<CalRecord[]> calRecordListener=new Action1<CalRecord[]>(){
          @Override public void call(          CalRecord[] calRecords){
            if (calRecords != null) {
              Log.d(TAG,"String_Node_Str" + calRecords.length + "String_Node_Str");
              Calibration.create(calRecords,addativeSystemTimeOffset,getApplicationContext());
              readData.getRecentSensorRecords(sensorRecordListener);
            }
          }
        }
;
        readData.getRecentCalRecords(calRecordListener);
      }
    }
  }
;
  readData.readSystemTime(systemTimeListener);
}

Fixed version (ground truth):
public void attemptRead(){
  Log.d(TAG,"String_Node_Str");
  final Action1<Long> systemTimeListener=new Action1<Long>(){
    @Override public void call(    Long s){
      if (s != null) {
        Log.d(TAG,"String_Node_Str" + s + "String_Node_Str");
        final long addativeSystemTimeOffset=new Date().getTime() - s;
        final Action1<EGVRecord[]> evgRecordListener=new Action1<EGVRecord[]>(){
          @Override public void call(          EGVRecord[] egvRecords){
            if (egvRecords != null) {
              Log.d(TAG,"String_Node_Str" + egvRecords.length + "String_Node_Str");
              BgReading.create(egvRecords,addativeSystemTimeOffset,getApplicationContext());
              setRetryTimer();
            }
          }
        }
;
        final Action1<SensorRecord[]> sensorRecordListener=new Action1<SensorRecord[]>(){
          @Override public void call(          SensorRecord[] sensorRecords){
            if (sensorRecords != null) {
              Log.d(TAG,"String_Node_Str" + sensorRecords.length + "String_Node_Str");
              BgReading.create(sensorRecords,addativeSystemTimeOffset,getApplicationContext());
              readData.getRecentEGVs(evgRecordListener);
            }
          }
        }
;
        final Action1<CalRecord[]> calRecordListener=new Action1<CalRecord[]>(){
          @Override public void call(          CalRecord[] calRecords){
            if (calRecords != null) {
              Log.d(TAG,"String_Node_Str" + calRecords.length + "String_Node_Str");
              Calibration.create(calRecords,addativeSystemTimeOffset,getApplicationContext());
              readData.getRecentSensorRecords(sensorRecordListener);
            }
          }
        }
;
        readData.getRecentCalRecords(calRecordListener);
      }
    }
  }
;
  readData.readSystemTime(systemTimeListener);
}