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: null String on checkForExternalIntent #2354

Closed
amaze-issue-automation bot opened this issue Mar 12, 2021 · 0 comments · Fixed by #2445
Closed

NPE on MainActivity: null String on checkForExternalIntent #2354

amaze-issue-automation bot opened this issue Mar 12, 2021 · 0 comments · Fixed by #2445
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Milestone

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • User Action: UI Error
  • Request: Application crash
  • Version: 3.5.3
  • OS: Linux Android 11 - 30
  • Device: sargo
  • Model: Pixel 3a
  • Product: sargo
Crash log

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.ui.activities.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3431)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
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:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7660)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
at com.amaze.filemanager.ui.activities.MainActivity.checkForExternalIntent(MainActivity.java:487)
at com.amaze.filemanager.ui.activities.MainActivity.onCreate(MainActivity.java:308)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3404)
... 11 more


Raised by: ludomtk
Reporter: ludomtk

@amaze-issue-automation amaze-issue-automation bot added the From-telegram Issue reported through telegram channel label Mar 12, 2021
@EmmanuelMess EmmanuelMess changed the title Crash reported by ludomtk for ludomtk NPE on MainActivity: null String on checkForExternalIntent Mar 12, 2021
@EmmanuelMess EmmanuelMess added the Issue-Bug Related unexpected behavior or something worth investigating. label Mar 12, 2021
@VishalNehra VishalNehra added this to the v3.6 milestone May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From-telegram Issue reported through telegram channel Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants