Skip to content

App crash on file delete #4392

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
einhander opened this issue Apr 21, 2025 · 1 comment
Closed

App crash on file delete #4392

einhander opened this issue Apr 21, 2025 · 1 comment
Labels
Area-Trash An issue related to the trash/bin feature Crash-NullPointerException Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention

Comments

@einhander
Copy link

Describe the bug
App crash then file delete

Smartphone (please complete the following information):

  • Device: poco f1
  • Rooted: No

Issue explanation (write below this line)

Exception

  • App Name: Файловый менеджер Amazе
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 10 - 29
  • Device: beryllium
  • Model: POCOPHONE F1
  • Product: beryllium
Crash log

io.reactivex.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() method call. Further reading: https://github.com/ReactiveX/RxJava/wiki/Error-Handling | java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.amaze.trashbin.TrashBinFile.getPath()' on a null object reference
	at io.reactivex.internal.observers.EmptyCompletableObserver.onError(EmptyCompletableObserver.java:50)
	at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.onError(CompletableSubscribeOn.java:74)
	at io.reactivex.internal.operators.completable.CompletableFromRunnable.subscribeActual(CompletableFromRunnable.java:40)
	at io.reactivex.Completable.subscribe(Completable.java:2309)
	at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.run(CompletableSubscribeOn.java:64)
	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:578)
	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:919)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.amaze.trashbin.TrashBinFile.getPath()' on a null object reference
	at com.amaze.trashbin.TrashBin.deletePermanently(TrashBin.kt:121)
	at com.amaze.filemanager.filesystem.HybridFile.deletePermanentlyFromBin(HybridFile.java:1600)
	at com.amaze.filemanager.filesystem.HybridFile.delete(HybridFile.java:1543)
	at com.amaze.filemanager.application.AppConfig.lambda$getTrashBinInstance$2(AppConfig.java:285)
	at com.amaze.filemanager.application.AppConfig.$r8$lambda$hMGiVDvfwwzG3tz2_fRQ8F7OGvY(Unknown Source:0)
	at com.amaze.filemanager.application.AppConfig$$ExternalSyntheticLambda4.run(Unknown Source:4)
	at io.reactivex.internal.operators.completable.CompletableFromRunnable.subscribeActual(CompletableFromRunnable.java:36)
	... 10 more


@EmmanuelMess EmmanuelMess added Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention Crash-NullPointerException Area-Trash An issue related to the trash/bin feature labels Apr 21, 2025
@VishnuSanal
Copy link
Member

dupe #4136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Trash An issue related to the trash/bin feature Crash-NullPointerException Issue-Bug Related unexpected behavior or something worth investigating. Issue-Severe (high) Showstopper issues that require immediate attention
Projects
None yet
Development

No branches or pull requests

3 participants