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 MainFragment#computeScroll #4168

Open
amaze-issue-automation bot opened this issue May 2, 2024 · 0 comments
Open

NPE on MainFragment#computeScroll #4168

amaze-issue-automation bot opened this issue May 2, 2024 · 0 comments
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 2, 2024

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 10 - 29
  • Device: 8705F
  • Model: Lenovo TB-8705F
  • Product: LenovoTB-8705F-EEA
Crash log

java.lang.RuntimeException: Failure delivering result ResultInfo{who=@android:requestPermissions:, request=0, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.ViewGroup.getChildAt(int)' on a null object reference
 at android.app.ActivityThread.deliverResults(ActivityThread.java:4877)
 at android.app.ActivityThread.handleSendResult(ActivityThread.java:4918)
 at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
 at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
 at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2045)
 at android.os.Handler.dispatchMessage(Handler.java:107)
 at android.os.Looper.loop(Looper.java:214)
 at android.app.ActivityThread.main(ActivityThread.java:7405)
 at java.lang.reflect.Method.invoke(Native Method)
 at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View android.view.ViewGroup.getChildAt(int)' on a null object reference
 at com.amaze.filemanager.ui.fragments.MainFragment.computeScroll(MainFragment.java:1069)
 at com.amaze.filemanager.ui.fragments.MainFragment.updateList(MainFragment.java:1219)
 at com.amaze.filemanager.ui.activities.MainActivity.onPermissionGranted(MainActivity.java:553)
 at com.amaze.filemanager.ui.activities.superclasses.PermissionsActivity.onRequestPermissionsResult(PermissionsActivity.java:71)
 at android.app.Activity.dispatchRequestPermissionsResult(Activity.java:8335)
 at android.app.Activity.dispatchActivityResult(Activity.java:8185)
 at android.app.ActivityThread.deliverResults(ActivityThread.java:4870)
 ... 11 more

Reporter: andymarkovic

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label May 2, 2024
@VishnuSanal VishnuSanal changed the title Crash reported by andymarkovic NPE on MainFragment#computeScroll May 4, 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 May 4, 2024
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

1 participant