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 HybridFile#toTrashBinRestoreFile #4135

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

NPE on HybridFile#toTrashBinRestoreFile #4135

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 File Manager
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 13 - 33
  • Device: oneli
  • Model: XT2251-1
  • Product: oneli_cn
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: Parameter specified as non-null is null:
method com.amaze.trashbin.TrashBinFile.<init>, parameter fileName
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:1137)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.NullPointerException: Parameter specified as non-null
is null: method com.amaze.trashbin.TrashBinFile.<init>, parameter fileName
at com.amaze.trashbin.TrashBinFile.<init>(Unknown Source:2)
at
com.amaze.filemanager.filesystem.HybridFile.toTrashBinRestoreFile(HybridFile.java:1856)
at
com.amaze.filemanager.filesystem.HybridFile.deletePermanentlyFromBin(HybridFile.java:1596)
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 Manuj NPE on HybridFile#toTrashBinRestoreFile 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