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
  1. 0
  2. 0
  3. 0
    samebug tip
    The resource was accessed after it was dismissed.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Initialize the variable before calling a method on it.
  6. 0
    samebug tip
    Use 'dialog' to access views from custom_layout layout.

    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 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