Skip to content
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

NPE on TrashBin#deletePermanently #4136

Open
amaze-issue-automation bot opened this issue Mar 30, 2024 · 0 comments
Open

NPE on TrashBin#deletePermanently #4136

amaze-issue-automation bot opened this issue Mar 30, 2024 · 0 comments
Labels
Crash-NullPointerException From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Amaze
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 14 - 34
  • Device: gta7litewifi
  • Model: SM-T220
  • Product: gta7litewifixx
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:264)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
at java.lang.Thread.run(Thread.java:1012)
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


@amaze-issue-automation amaze-issue-automation bot added the From-Email This is from an email, probably lacking replication info label Mar 30, 2024
@VishnuSanal VishnuSanal changed the title Crash reported by Esther NPE on TrashBin#deletePermanently Mar 30, 2024
@VishnuSanal VishnuSanal added Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty. Crash-NullPointerException labels Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash-NullPointerException From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty.
Projects
None yet
Development

No branches or pull requests

1 participant