diff --git a/wallet/src/de/schildbach/wallet/service/BootstrapReceiver.java b/wallet/src/de/schildbach/wallet/service/BootstrapReceiver.java index a838ca129b..1fbccccea9 100644 --- a/wallet/src/de/schildbach/wallet/service/BootstrapReceiver.java +++ b/wallet/src/de/schildbach/wallet/service/BootstrapReceiver.java @@ -155,6 +155,11 @@ private void maybeShowInactivityNotification() { return; final Wallet wallet = walletDataProvider.getWallet(); + if (wallet == null) { + // with version 7.0 and above it is possible to have the app installed without a wallet + log.info("wallet does not exist, not showing inactivity warning"); + return; + } final Coin estimatedBalance = wallet.getBalance(Wallet.BalanceType.ESTIMATED_SPENDABLE); if (!estimatedBalance.isPositive()) return;