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

GitHub | herrmartell | 8 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 comment 118#231822979

    GitHub | 8 months ago | herrmartell
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.isEmpty()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

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

      at com.avena.avenafit.dashboard.g.K()
    2. com.avena.avenafit
      g.a
      1. com.avena.avenafit.dashboard.g.K(Unknown Source)
      2. com.avena.avenafit.dashboard.g.a(Unknown Source)
      2 frames
    3. Android Support v4
      w.onMenuItemSelected
      1. android.support.v4.app.Fragment.c(Unknown Source)
      2. android.support.v4.app.af.a(Unknown Source)
      3. android.support.v4.app.ab.a(Unknown Source)
      4. android.support.v4.app.w.onMenuItemSelected(Unknown Source)
      4 frames
    4. android.support.v7
      ag.onMenuItemSelected
      1. android.support.v7.a.ag.onMenuItemSelected(Unknown Source)
      1 frame
    5. Android v7
      n.onMenuItemSelected
      1. android.support.v7.view.n.onMenuItemSelected(Unknown Source)
      2. android.support.v7.view.n.onMenuItemSelected(Unknown Source)
      2 frames
    6. android.support.v7
      bl.a
      1. android.support.v7.a.bl.a(Unknown Source)
      1 frame
    7. Android v7
      x.a
      1. android.support.v7.widget.gn.a(Unknown Source)
      2. android.support.v7.widget.x.a(Unknown Source)
      2 frames
    8. android.support.v7
      i.a
      1. android.support.v7.view.menu.i.a(Unknown Source)
      2. android.support.v7.view.menu.m.b(Unknown Source)
      3. android.support.v7.view.menu.i.a(Unknown Source)
      4. android.support.v7.view.menu.i.a(Unknown Source)
      4 frames
    9. Android v7
      ActionMenuView.a
      1. android.support.v7.widget.ActionMenuView.a(Unknown Source)
      1 frame
    10. android.support.v7
      ActionMenuItemView.onClick
      1. android.support.v7.view.menu.ActionMenuItemView.onClick(Unknown Source)
      1 frame
    11. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5204)
      2. android.view.View$PerformClick.run(View.java:21158)
      3. android.os.Handler.handleCallback(Handler.java:739)
      4. android.os.Handler.dispatchMessage(Handler.java:95)
      5. android.os.Looper.loop(Looper.java:148)
      6. android.app.ActivityThread.main(ActivityThread.java:5461)
      6 frames
    12. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    13. 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