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 PreferenceActivity.getBoolean #2788

Closed
amaze-issue-automation bot opened this issue Sep 10, 2021 · 1 comment
Closed

NPE on PreferenceActivity.getBoolean #2788

amaze-issue-automation bot opened this issue Sep 10, 2021 · 1 comment
Labels
Crash-NullPointerException From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.6.1
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux
    lge/mdh50lm/mdh50lm:10/QKQ1.200216.002/210921457b00d:user/release-keys 10 -
    29
  • Device: mdh50lm
  • Model: LM-Q730
  • Product: mdh50lm
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean
com.amaze.filemanager.ui.activities.superclasses.PreferenceActivity.getBoolean(java.lang.String)'
on a null object reference
at
com.amaze.filemanager.ui.fragments.MainFragment.getBoolean(MainFragment.java:1846)
at
com.amaze.filemanager.ui.fragments.MainFragment.loadlist(MainFragment.java:937)
at
com.amaze.filemanager.ui.fragments.MainFragment.updateTabWithDb(MainFragment.java:874)
at
com.amaze.filemanager.ui.activities.MainActivity.lambda$checkForExternalPermission$1(MainActivity.java:480)
at
com.amaze.filemanager.ui.activities.MainActivity.lambda$checkForExternalPermission$1$MainActivity(Unknown
Source:0)
at
com.amaze.filemanager.ui.activities.-$$Lambda$MainActivity$hT8uWKTCjxxD0vftqGKw_O6l63k.run(Unknown
Source:6)
at
io.reactivex.internal.observers.CallbackCompletableObserver.onComplete(CallbackCompletableObserver.java:53)
at
io.reactivex.internal.operators.completable.CompletableObserveOn$ObserveOnCompletableObserver.run(CompletableObserveOn.java:89)
at
io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7615)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)


What happened here
@amaze-issue-automation amaze-issue-automation bot added the From-Email This is from an email, probably lacking replication info label Sep 10, 2021
@EmmanuelMess EmmanuelMess added Crash-NullPointerException Issue-Bug Related unexpected behavior or something worth investigating. labels Sep 10, 2021
@EmmanuelMess EmmanuelMess changed the title Crash reported by Jonny NPE on PreferenceActivity.getBoolean Sep 10, 2021
@TranceLove
Copy link
Collaborator

I think this should have been fixed with e927d24 at #3571.

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.
Projects
None yet
Development

No branches or pull requests

2 participants