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

GitHub | lsh93 | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    所有软件都不能定位。。还有实时运动功能也不行。

    GitHub | 3 months ago | lsh93
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
  2. 0

    日志一直抛出error

    GitHub | 9 months ago | aviraxp
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Object.toString()' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.specher.sm
      HookSensor$1.afterHookedMethod
      1. com.specher.sm.HookSensor$1.afterHookedMethod(HookSensor.java:111)
      1 frame
    3. XposedBridge
      XposedBridge.handleHookedMethod
      1. de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:348)
      1 frame
    4. Android Platform
      SensorManager.getDefaultSensor
      1. android.hardware.SensorManager.getSensorList(<Xposed>)
      2. android.hardware.SensorManager.getDefaultSensor(SensorManager.java:449)
      2 frames
    5. com.yuedong.stepdetector
      StepDetector.start
      1. com.yuedong.stepdetector.StepDetector.start(SourceFile:226)
      1 frame
    6. com.yuedong.sport
      ServiceAutoStep.onStartCommand
      1. com.yuedong.sport.controller.stepdetect.StepDetectorEngine.startSoftDetector(SourceFile:84)
      2. com.yuedong.sport.controller.stepdetect.StepDetectorEngine.startDetect(SourceFile:198)
      3. com.yuedong.sport.controller.stepdetect.StepDetectorEngine.start(SourceFile:107)
      4. com.yuedong.sport.controller.stepdetect.ServiceAutoStep.k(SourceFile:529)
      5. com.yuedong.sport.controller.stepdetect.ServiceAutoStep.onStartCommand(SourceFile:371)
      5 frames
    7. Android Platform
      ActivityThread$H.handleMessage
      1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3017)
      2. android.app.ActivityThread.access$2200(ActivityThread.java:153)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1449)
      3 frames
    8. org.acdd.hack
      AndroidHack$HandlerHack.handleMessage
      1. org.acdd.hack.AndroidHack$HandlerHack.handleMessage(SourceFile:201)
      1 frame
    9. Android Platform
      ActivityThread.main
      1. android.os.Handler.dispatchMessage(Handler.java:98)
      2. android.os.Looper.loop(Looper.java:148)
      3. android.app.ActivityThread.main(ActivityThread.java:5441)
      3 frames
    10. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    11. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:738)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:628)
      2 frames
    12. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
      1 frame