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 when option item selected in apps fragment and recycler adapter is not present #3050

Open
amaze-issue-automation bot opened this issue Dec 2, 2021 · 0 comments
Labels
Crash-NullPointerException From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@amaze-issue-automation
Copy link

amaze-issue-automation bot commented Dec 2, 2021

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.6.7
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux Android 10 - 29
  • Device: lime
  • Model: M2010J19SI
  • Product: lime_in
Crash log


java.lang.NullPointerException: Attempt to invoke virtual method 'void com.amaze.filemanager.adapters.AppsRecyclerAdapter.setData(java.util.List, boolean)' on a null object reference
 at com.amaze.filemanager.ui.fragments.AppsListFragment.onOptionsItemSelected(AppsListFragment.java:157)
 at com.amaze.filemanager.ui.activities.MainActivity.onOptionsItemSelected(MainActivity.java:1083)
 at android.app.Activity.onMenuItemSelected(Activity.java:4222)
 at androidx.fragment.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:340)
 at androidx.appcompat.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:228)
 at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:109)
 at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:109)
 at androidx.appcompat.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:65)
 at androidx.appcompat.widget.Toolbar$1.onMenuItemClick(Toolbar.java:207)
 at androidx.appcompat.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:779)
 at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:834)
 at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)
 at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:985)
 at androidx.appcompat.view.menu.MenuPopup.onItemClick(MenuPopup.java:128)
 at android.widget.AdapterView.performItemClick(AdapterView.java:330)
 at android.widget.AbsListView.performItemClick(AbsListView.java:1219)
 at android.widget.AbsListView$PerformClick.run(AbsListView.java:3230)
 at android.widget.AbsListView$3.run(AbsListView.java:4186)
 at android.os.Handler.handleCallback(Handler.java:883)
 at android.os.Handler.dispatchMessage(Handler.java:100)
 at android.os.Looper.loop(Looper.java:226)
 at android.app.ActivityThread.main(ActivityThread.java:7592)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)


Reporter: Jayu9493

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label Dec 2, 2021
@VishalNehra VishalNehra changed the title Crash reported by Jayu9493 NPE when option item selected in apps fragment and recycler adapter is not present Dec 12, 2021
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Apr 23, 2022
@VishnuSanal VishnuSanal mentioned this issue Feb 26, 2025
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.
Projects
None yet
Development

No branches or pull requests

2 participants