diff --git a/app/src/main/java/com/biglybt/android/client/fragment/TorrentInfoFragment.java b/app/src/main/java/com/biglybt/android/client/fragment/TorrentInfoFragment.java index b610a9557..cefefc0eb 100644 --- a/app/src/main/java/com/biglybt/android/client/fragment/TorrentInfoFragment.java +++ b/app/src/main/java/com/biglybt/android/client/fragment/TorrentInfoFragment.java @@ -265,13 +265,15 @@ private void fillContent(@NonNull FragmentActivity a, Map mapTorrent) { OffThread.runOnUIThread(a, false, activity -> { View viewRow = a.findViewById(R.id.torrentInfo_row_saveLocation); - if (viewRow.getVisibility() != View.VISIBLE) { + if (viewRow != null && viewRow.getVisibility() != View.VISIBLE) { viewRow.setVisibility(View.VISIBLE); } TextView tv = a.findViewById(R.id.torrentInfo_val_saveLocation); - AndroidUtilsUI.setText(getResources(), tv, pathInfo); + if (tv != null) { + AndroidUtilsUI.setText(getResources(), tv, pathInfo); + } }); });