akaMrNagar / Mindful

Your Ultimate Companion for Focus and Well-being.
https://bemindful.vercel.app/
GNU General Public License v2.0
159 stars 3 forks source link

Null pointer exception #42

Closed akaMrNagar closed 2 months ago

akaMrNagar commented 2 months ago

Bug

java.lang.RuntimeException in accessibility service. Get to know about it from play store vitals.

Stack Trace

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:5196)
  at android.app.ActivityThread.-$$Nest$mhandleServiceArgs
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2529)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:255)
  at android.os.Looper.loop (Looper.java:364)
  at android.app.ActivityThread.main (ActivityThread.java:8938)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:572)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1053)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.getAction()' on a null object reference
  at com.mindful.android.services.MindfulAccessibilityService.onStartCommand (MindfulAccessibilityService.java)
  at android.app.ActivityThread.handleServiceArgs (ActivityThread.java:5178)