Skip to content

fix(file-details): refresh from fda#17039

Merged
alperozturk96 merged 2 commits into
masterfrom
check-npe-refresh-details
May 13, 2026
Merged

fix(file-details): refresh from fda#17039
alperozturk96 merged 2 commits into
masterfrom
check-npe-refresh-details

Conversation

@alperozturk96
Copy link
Copy Markdown
Collaborator

Exception java.lang.NullPointerException:
  at com.owncloud.android.utils.MimeTypeUtil.isPDF (MimeTypeUtil.java:330)
  at com.owncloud.android.ui.activity.FileDisplayActivity.refreshDetailsFragmentIfVisible (FileDisplayActivity.kt:866)
  at com.owncloud.android.ui.activity.FileDisplayActivity$FileDownloadCompletedReceiver.updateUIForFileDownload (FileDisplayActivity.kt:1856)
  at com.owncloud.android.ui.activity.FileDisplayActivity$FileDownloadCompletedReceiver.onReceive (FileDisplayActivity.kt:1826)
  at androidx.localbroadcastmanager.content.LocalBroadcastManager.executePendingBroadcasts (LocalBroadcastManager.java:313)
  at androidx.localbroadcastmanager.content.LocalBroadcastManager$1.handleMessage (LocalBroadcastManager.java:121)
  at android.os.Handler.dispatchMessage (Handler.java:110)
  at android.os.Looper.loopOnce (Looper.java:273)
  at android.os.Looper.loop (Looper.java:363)
  at android.app.ActivityThread.main (ActivityThread.java:10060)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:632)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:975)

@alperozturk96
Copy link
Copy Markdown
Collaborator Author

/backport to stable-33.1.x

@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/25782908356/artifacts/6963432833
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 force-pushed the check-npe-refresh-details branch from 800cebf to d90f2d8 Compare May 13, 2026 09:26
@github-actions
Copy link
Copy Markdown

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

@github-actions
Copy link
Copy Markdown

Codacy

SpotBugs

CategoryBaseNew
Bad practice3535
Correctness6767
Dodgy code216216
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4242
Security1616
Total420420

@github-actions
Copy link
Copy Markdown

APK file: https://github.com/nextcloud/android/actions/runs/25790428109/artifacts/6966887234
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@alperozturk96 alperozturk96 merged commit cdada2a into master May 13, 2026
14 of 20 checks passed
@alperozturk96 alperozturk96 deleted the check-npe-refresh-details branch May 13, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants