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 MainActivity#setPagingEnabled #3333

Open
amaze-issue-automation bot opened this issue May 29, 2022 · 1 comment
Open

NPE on MainActivity#setPagingEnabled #3333

amaze-issue-automation bot opened this issue May 29, 2022 · 1 comment
Labels
Crash-NullPointerException From-telegram Issue reported through telegram channel 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

amaze-issue-automation bot commented May 29, 2022

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.7.0
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 8.1.0 - 27
  • Device: TB-8704X
  • Model: Lenovo TB-8704X
  • Product: TB-8704X
Crash log

java.lang.RuntimeException: Error receiving broadcast Intent { act=loadlist flg=0x10 (has extras) } in com.amaze.filemanager.ui.fragments.MainFragment$2@68f72a5
 at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_53034(LoadedApk.java:1333)
 at android.app.-$Lambda$aS31cHIhRx41653CMnd4gZqshIQ.$m$7(Unknown Source:4)
 at android.app.-$Lambda$aS31cHIhRx41653CMnd4gZqshIQ.run(Unknown Source:39)
 at android.os.Handler.handleCallback(Handler.java:790)
 at android.os.Handler.dispatchMessage(Handler.java:99)
 at android.os.Looper.loop(Looper.java:164)
 at android.app.ActivityThread.main(ActivityThread.java:6518)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.amaze.filemanager.ui.fragments.TabFragment.setPagingEnabled(boolean)' on a null object reference
 at com.amaze.filemanager.ui.activities.MainActivity.setPagingEnabled(MainActivity.java:1436)
 at com.amaze.filemanager.utils.MainActivityActionMode.onDestroyActionMode(MainActivityActionMode.kt:428)
 at androidx.appcompat.app.AppCompatDelegateImpl$ActionModeCallbackWrapperV9.onDestroyActionMode(AppCompatDelegateImpl.java:2708)
 at androidx.appcompat.view.StandaloneActionMode.finish(StandaloneActionMode.java:112)
 at com.amaze.filemanager.ui.fragments.MainFragment.loadlist(MainFragment.java:613)
 at com.amaze.filemanager.ui.fragments.MainFragment.updateList(MainFragment.java:1202)
 at com.amaze.filemanager.ui.fragments.MainFragment$2.onReceive(MainFragment.java:391)
 at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$-android_app_LoadedApk$ReceiverDispatcher$Args_53034(LoadedApk.java:1323)
 ... 9 more

Reporter: shuvashish76

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label May 29, 2022
@shuvashish76
Copy link
Contributor

shuvashish76 commented May 29, 2022

Steps to produce : Select multiple apk files > extract > click "Process view" from notification

Edit: same crash if you pick multiple files > encrypt > view "Process view"

@VishnuSanal VishnuSanal changed the title Crash reported by shuvashish76 NPE on MainActivity#setPagingEnabled Jun 12, 2022
@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 Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash-NullPointerException From-telegram Issue reported through telegram channel 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

2 participants