The application crashes when i click on Enable Mask
Related Information:
https://github.com/securityfirst/Umbrella_android
Project Name:Umbrella_android
The submitted issue is here:https://github.com/securityfirst/Umbrella_android/issues/223
Expected behavior:
I expected that the application should not be crash when i click on Enable mask option.
Actual behavior:
After configure the application when i click on Enable mask option,the application is you can see in bug vieo proprealy.
How to reproduce:
1.Download the app from playstore and open the app.
2.Then click on team conditions accept.
3.Naw click on account man icon and setting option.
4.Then click on Enable mask
5.Click ok and
6.Naw click back botton
7.Note the Bug.
information
- App version:v1.0.12
- os:Android 6.0.1
- Device:samsung J5
Recording of the bug
Logcat:
06-24 20:27:30.270 4493 4493 E AndroidRuntime: FATAL EXCEPTION: main
06-24 20:27:30.270 4493 4493 E AndroidRuntime: Process: org.secfirst.umbrella, PID: 4493
06-24 20:27:30.270 4493 4493 E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'android.os.Bundle android.content.pm.PackageItemInfo.metaData' on a null object reference
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1626)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1573)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.app.ISearchManager$Stub$Proxy.getSearchableInfo(ISearchManager.java:187)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.app.SearchManager.getSearchableInfo(SearchManager.java:982)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at org.secfirst.umbrella.feature.main.MainActivity.onCreateOptionsMenu(MainActivity.kt:88)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.app.Activity.onCreatePanelMenu(Activity.java:3128)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at androidx.fragment.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:378)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:94)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at androidx.appcompat.app.AppCompatDelegateImpl$AppCompatWindowCallback.onCreatePanelMenu(AppCompatDelegateImpl.java:2549)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at androidx.appcompat.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:94)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at androidx.appcompat.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:455)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at androidx.appcompat.app.ToolbarActionBar$1.run(ToolbarActionBar.java:56)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.view.Choreographer.doCallbacks(Choreographer.java:695)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.view.Choreographer.doFrame(Choreographer.java:628)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:739)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:95)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.os.Looper.loop(Looper.java:158)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7231)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
06-24 20:27:30.270 4493 4493 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Hi @asad44, thanks for making this contribution
I can see that the contribution has been acknowledged by the PO. And I see the issue has been fixed and closed. I love that you included a logcat but these days we expect a bit of analysis to complement the stack trace. Some explanations on what could have possibly gone wrong
Still a good post. We look forward to more of your reports
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @fego! Keep up the good work!
Hey, @asad44!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!