diff --git a/src/org/thoughtcrime/securesms/components/ZoomingImageView.java b/src/org/thoughtcrime/securesms/components/ZoomingImageView.java index 37e06ed982..e205b295b4 100644 --- a/src/org/thoughtcrime/securesms/components/ZoomingImageView.java +++ b/src/org/thoughtcrime/securesms/components/ZoomingImageView.java @@ -86,7 +86,7 @@ public class ZoomingImageView extends FrameLayout { } protected void onPostExecute(@Nullable Pair dimensions) { - Log.w(TAG, "Dimensions: " + dimensions.first + ", " + dimensions.second); + Log.w(TAG, "Dimensions: " + (dimensions == null ? "(null)" : dimensions.first + ", " + dimensions.second)); if (dimensions == null || (dimensions.first <= maxTextureSize && dimensions.second <= maxTextureSize)) { Log.w(TAG, "Loading in standard image view...");