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)