Program: 64785
Project: 64785
Buggy source:
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  Core core=new Core(this);
  NotificationManager notificationManager=(NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
  notificationManager.cancel(DropboxServiceIntent.NOTIFICATION_DROPBOX_OPEN_FILE);
  if (getIntent() != null && getIntent().getData() != null) {
    String pathFile=getIntent().getData().getEncodedPath();
    try {
      pathFile=URLDecoder.decode(pathFile,"String_Node_Str");
      if (BuildConfig.DEBUG)       Log.d(LOGCAT,"String_Node_Str" + pathFile);
      if (!core.changeDatabase(pathFile)) {
        Log.w(LOGCAT,"String_Node_Str" + pathFile + "String_Node_Str");
      }
    }
 catch (    Exception e) {
      Log.e(LOGCAT,e.getMessage());
    }
  }
  if (savedInstanceState != null) {
    if (savedInstanceState.containsKey(KEY_IS_AUTHENTICATED))     isAuthenticated=savedInstanceState.getBoolean(KEY_IS_AUTHENTICATED);
    if (savedInstanceState.containsKey(KEY_IN_AUTHENTICATION))     isInAuthentication=savedInstanceState.getBoolean(KEY_IN_AUTHENTICATION);
  }
  try {
    core.initDatabase();
  }
 catch (  Exception e) {
    Log.e(LOGCAT,!TextUtils.isEmpty(e.getMessage()) ? e.getMessage() : "String_Node_Str");
  }
  CurrencyUtils currencyUtils=new CurrencyUtils(this);
  if (!currencyUtils.isInit())   currencyUtils.reInit();
  mDropboxHelper=DropboxHelper.getInstance(getApplicationContext());
  onCreateFragments(savedInstanceState);
  showTipsDialog(savedInstanceState);
  if (TextUtils.isEmpty(core.getInfoValue(Constants.INFOTABLE_SKU_ORDER_ID)))   MoneyManagerApplication.showDonateDialog(this,false);
  MoneyManagerApplication.showChangeLog(this,false);
  MoneyManagerApplication.showDatabasePathWork(this);
  Intent serviceRepeatingTransaction=new Intent(getApplicationContext(),MoneyManagerBootReceiver.class);
  getApplicationContext().sendBroadcast(serviceRepeatingTransaction);
}

Fixed version (ground truth):
@Override protected void onCreate(Bundle savedInstanceState){
  super.onCreate(savedInstanceState);
  Core core=new Core(this);
  NotificationManager notificationManager=(NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
  notificationManager.cancel(DropboxServiceIntent.NOTIFICATION_DROPBOX_OPEN_FILE);
  if (getIntent() != null && getIntent().getData() != null) {
    String pathFile=getIntent().getData().getEncodedPath();
    try {
      pathFile=URLDecoder.decode(pathFile,"String_Node_Str");
      if (BuildConfig.DEBUG)       Log.d(LOGCAT,"String_Node_Str" + pathFile);
      if (!core.changeDatabase(pathFile)) {
        Log.w(LOGCAT,"String_Node_Str" + pathFile + "String_Node_Str");
      }
    }
 catch (    Exception e) {
      Log.e(LOGCAT,e.getMessage());
    }
  }
  if (savedInstanceState != null) {
    if (savedInstanceState.containsKey(KEY_IS_AUTHENTICATED))     isAuthenticated=savedInstanceState.getBoolean(KEY_IS_AUTHENTICATED);
    if (savedInstanceState.containsKey(KEY_IN_AUTHENTICATION))     isInAuthentication=savedInstanceState.getBoolean(KEY_IN_AUTHENTICATION);
    if (savedInstanceState.containsKey(KEY_ORIENTATION)) {
      if (core.isTablet()) {
        if (savedInstanceState.getInt(KEY_ORIENTATION) != getResources().getConfiguration().orientation) {
          for (int i=0; i < getSupportFragmentManager().getBackStackEntryCount(); ++i) {
            getSupportFragmentManager().popBackStack();
          }
        }
      }
    }
  }
  try {
    core.initDatabase();
  }
 catch (  Exception e) {
    Log.e(LOGCAT,!TextUtils.isEmpty(e.getMessage()) ? e.getMessage() : "String_Node_Str");
  }
  CurrencyUtils currencyUtils=new CurrencyUtils(this);
  if (!currencyUtils.isInit())   currencyUtils.reInit();
  mDropboxHelper=DropboxHelper.getInstance(getApplicationContext());
  onCreateFragments(savedInstanceState);
  showTipsDialog(savedInstanceState);
  if (TextUtils.isEmpty(core.getInfoValue(Constants.INFOTABLE_SKU_ORDER_ID)))   MoneyManagerApplication.showDonateDialog(this,false);
  MoneyManagerApplication.showChangeLog(this,false);
  MoneyManagerApplication.showDatabasePathWork(this);
  Intent serviceRepeatingTransaction=new Intent(getApplicationContext(),MoneyManagerBootReceiver.class);
  getApplicationContext().sendBroadcast(serviceRepeatingTransaction);
}