java.lang.NullPointerException

Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

Stack trace

  • java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference at com.specher.sm.HookSensor$1.afterHookedMethod(HookSensor.java:111) at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:348) at android.hardware.SensorManager.getSensorList(<Xposed>) at android.hardware.SensorManager.getDefaultSensor(SensorManager.java:449) at com.yuedong.stepdetector.StepDetector.start(SourceFile:226) at com.yuedong.sport.controller.stepdetect.StepDetectorEngine.startSoftDetector(SourceFile:84) at com.yuedong.sport.controller.stepdetect.StepDetectorEngine.startDetect(SourceFile:198) at com.yuedong.sport.controller.stepdetect.StepDetectorEngine.start(SourceFile:107) at com.yuedong.sport.controller.stepdetect.ServiceAutoStep.k(SourceFile:529) at com.yuedong.sport.controller.stepdetect.ServiceAutoStep.onStartCommand(SourceFile:371) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3017) at android.app.ActivityThread.access$2200(ActivityThread.java:153) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1449) at org.acdd.hack.AndroidHack$HandlerHack.handleMessage(SourceFile:201) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5441) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628) at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

We couldn't find other users who have seen this exception.