java.lang.NullPointerException: Attempt to read from field 'com.alorma.github.sdk.bean.dto.response.Permissions com.alorma.github.sdk.bean.info.RepoInfo.permissions' on a null object reference

GitHub | xdk78 | 8 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

    viewing code bigger than 10 mb

    GitHub | 8 months ago | xdk78
    java.lang.NullPointerException: Attempt to read from field 'com.alorma.github.sdk.bean.dto.response.Permissions com.alorma.github.sdk.bean.info.RepoInfo.permissions' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to read from field 'com.alorma.github.sdk.bean.dto.response.Permissions com.alorma.github.sdk.bean.info.RepoInfo.permissions' on a null object reference

      at com.alorma.github.ui.fragment.FileFragment.onCreateOptionsMenu()
    2. com.alorma.github
      FileFragment.onCreateOptionsMenu
      1. com.alorma.github.ui.fragment.FileFragment.onCreateOptionsMenu(FileFragment.java:144)
      1 frame
    3. Android Support v4
      FragmentActivity.onCreatePanelMenu
      1. android.support.v4.app.Fragment.performCreateOptionsMenu(Fragment.java:2179)
      2. android.support.v4.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:2245)
      3. android.support.v4.app.FragmentController.dispatchCreateOptionsMenu(FragmentController.java:328)
      4. android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:361)
      4 frames
    4. Android v7
      ToolbarActionBar$1.run
      1. android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:88)
      2. android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.onCreatePanelMenu(AppCompatDelegateImplBase.java:328)
      3. android.support.v7.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:88)
      4. android.support.v7.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:454)
      5. android.support.v7.app.ToolbarActionBar$1.run(ToolbarActionBar.java:61)
      5 frames
    5. 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:5538)
      4 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:960)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:755)
      2 frames
    8. XposedBridge
      XposedBridge.main
      1. de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)
      1 frame