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

NullPointerException may be thrown if app is left out of focus for a long time #18

Open
TylerMcCraw opened this issue May 10, 2017 · 0 comments

Comments

@TylerMcCraw
Copy link
Contributor

This is more of a task to investigate a NullPointerException in apps that are using the Surelock library.
This seems to be happening for users who leave the app out of focus. Maybe it's left active in their Recent Apps and is killed later on.
We should test leaving the Surelock default dialog open on a Samsung or LG device and leave it active and out of focus for a longer period of time to see if we can replicate the issue.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'void com.e.a.f.a(byte[])' on a null object reference
       at com.smashingboxes.surelock.SurelockDefaultDialog$2.run(Unknown Source)
       at android.os.Handler.handleCallback(Handler.java:751)
       at android.os.Handler.dispatchMessage(Handler.java:95)
       at android.os.Looper.loop(Looper.java:154)
       at android.app.ActivityThread.main(ActivityThread.java:6688)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant