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

对于WatchDogService中Class.getName() 报空值 null object reference #33

Open
hex0x7c opened this issue Jan 8, 2022 · 0 comments
Open

Comments

@hex0x7c
Copy link

hex0x7c commented Jan 8, 2022

java.lang.RuntimeException: Unable to start service com.shihoo.daemon.watch.WatchDogService@c63a66b with Intent { cmp=com.example.hexcapture/com.shihoo.daemon.watch.WatchDogService }: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Class.getName()' on a null object reference

对于每次运行的时候,WatchDogService中的onStart()方法中,最后设置启用状态时:WatchProcessPrefHelper.mWorkServiceClass.getName()一直报上面的错

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