diff --git a/android/java/org/chromium/chrome/browser/crypto_wallet/util/AssetsPricesHelper.java b/android/java/org/chromium/chrome/browser/crypto_wallet/util/AssetsPricesHelper.java index a3a5918d3349..15702dff17b3 100644 --- a/android/java/org/chromium/chrome/browser/crypto_wallet/util/AssetsPricesHelper.java +++ b/android/java/org/chromium/chrome/browser/crypto_wallet/util/AssetsPricesHelper.java @@ -30,7 +30,10 @@ public static void fetchPrices( new ArrayList(); for (BlockchainToken asset : assets) { - String assetSymbolLower = asset.symbol.toLowerCase(Locale.getDefault()); + if (asset == null || asset.symbol == null) { + continue; + } + String assetSymbolLower = asset.symbol.toLowerCase(Locale.ENGLISH); String[] fromAssets = new String[] {assetSymbolLower}; String[] toAssets = new String[] {"usd"};