java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=0, data=null} to activity {com.trademarc.smartrace/com.trademarc.smartrace.MainActivity}: java.lang.NullPointerException

GitHub | qpwr | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 103#230351713

    GitHub | 10 months ago | qpwr
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=0, data=null} to activity {com.trademarc.smartrace/com.trademarc.smartrace.MainActivity}: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.evothings.BLE.onActivityResult()
    2. com.evothings
      BLE.onActivityResult
      1. com.evothings.BLE.onActivityResult(BLE.java:199)
      1 frame
    3. org.apache.cordova
      CordovaActivity.onActivityResult
      1. org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:151)
      2. org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:348)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.dispatchActivityResult(Activity.java:5535)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:3600)
      3. android.app.ActivityThread.handleSendResult(ActivityThread.java:3647)
      4. android.app.ActivityThread.access$1400(ActivityThread.java:151)
      5. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1402)
      6. android.os.Handler.dispatchMessage(Handler.java:110)
      7. android.os.Looper.loop(Looper.java:193)
      8. android.app.ActivityThread.main(ActivityThread.java:5345)
      8 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame