java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getSchemeSpecificPart()' on a null object reference

JIRA | Mikhail Selyakov | 2 years 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
  2. 0

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String android.net.Uri.getSchemeSpecificPart()' on a null object reference

      at com.android.server.telecom.BluetoothPhoneService.updateHeadsetWithCallState()
    2. com.android.server
      Call$3.run
      1. com.android.server.telecom.BluetoothPhoneService.updateHeadsetWithCallState(BluetoothPhoneService.java:698)
      2. com.android.server.telecom.BluetoothPhoneService.access$800(BluetoothPhoneService.java:51)
      3. com.android.server.telecom.BluetoothPhoneService$3.onCallAdded(BluetoothPhoneService.java:333)
      4. com.android.server.telecom.CallsManager.addCall(CallsManager.java:1268)
      5. com.android.server.telecom.CallsManager.onSuccessfulIncomingCall(CallsManager.java:265)
      6. com.android.server.telecom.Call.processDirectToVoicemail(Call.java:695)
      7. com.android.server.telecom.Call.access$200(Call.java:64)
      8. com.android.server.telecom.Call$3.run(Call.java:175)
      8 frames
    3. Android Platform
      ActivityThread.main
      1. android.os.Handler.handleCallback(Handler.java:739)
      2. android.os.Handler.dispatchMessage(Handler.java:95)
      3. android.os.Looper.loop(Looper.java:135)
      4. android.app.ActivityThread.main(ActivityThread.java:5256)
      4 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
      2 frames