diff --git a/src/keepass2android-app/PasswordActivity.cs b/src/keepass2android-app/PasswordActivity.cs index dd4f675f..fa78db59 100644 --- a/src/keepass2android-app/PasswordActivity.cs +++ b/src/keepass2android-app/PasswordActivity.cs @@ -420,8 +420,14 @@ namespace keepass2android try { var iocAux = GetDefaultAuxLocation(); - LoadFile(iocAux); - } + LoadFile(iocAux); + + if (Activity._chalInfo == null) + { + throw new Java.Lang.Exception("Failed to load challenge aux file"); + } + + } catch (Exception e) { //this can happen e.g. if the file storage does not support GetParentPath