diff --git a/mobile/android/base/GeckoApp.java b/mobile/android/base/GeckoApp.java index 5ef58013789..001d9b3ecc3 100644 --- a/mobile/android/base/GeckoApp.java +++ b/mobile/android/base/GeckoApp.java @@ -1389,7 +1389,8 @@ abstract public class GeckoApp final String oldURL = tab.getURL(); GeckoAppShell.getHandler().postDelayed(new Runnable() { public void run() { - if (!oldURL.equals(tab.getURL())) + // tab.getURL() may return null + if (!TextUtils.equals(oldURL, tab.getURL())) return; getAndProcessThumbnailForTab(tab);