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

GitHub | atsakiridis | 5 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

    Fix Olympus crash

    GitHub | 5 months ago | atsakiridis
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

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

      at org.restcomm.android.olympus.MainActivity.onNewIntent()
    2. org.restcomm.android
      MainActivity.onNewIntent
      1. org.restcomm.android.olympus.MainActivity.onNewIntent(MainActivity.java:186)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1213)
      2. android.app.Instrumentation.callActivityOnNewIntent(Instrumentation.java:1225)
      3. android.app.ActivityThread.deliverNewIntents(ActivityThread.java:2593)
      4. android.app.ActivityThread.performNewIntents(ActivityThread.java:2605)
      5. android.app.ActivityThread.handleNewIntent(ActivityThread.java:2614)
      6. android.app.ActivityThread.access$1700(ActivityThread.java:154)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1463)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:234)
      10. android.app.ActivityThread.main(ActivityThread.java:5526)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
      2 frames