java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.FileActivity}: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.alorma.github.sdk.bean.info.RepoInfo.branch' on a null object reference

GitHub | DJCrapsody | 5 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Crash when trying to view image in Pull Requests

    GitHub | 5 months ago | DJCrapsody
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.FileActivity}: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.alorma.github.sdk.bean.info.RepoInfo.branch' on a null object reference
  2. 0

    Crash when attempting to view code on md files

    GitHub | 5 months ago | DJCrapsody
    java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.alorma.github.sdk.bean.info.RepoInfo.branch' on a null object reference
  3. 0

    Broken diff view and crash when viewing a file in a PR

    GitHub | 5 months ago | nisavid
    java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.alorma.github.sdk.bean.info.RepoInfo.branch' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to read from field 'java.lang.String com.alorma.github.sdk.bean.info.RepoInfo.branch' on a null object reference

      at com.alorma.github.sdk.services.content.GetFileContentClient.getApiObservable()
    2. com.alorma.github
      GetFileContentClient.getApiObservable
      1. com.alorma.github.sdk.services.content.GetFileContentClient.getApiObservable(GetFileContentClient.java:21)
      1 frame
    3. com.alorma.gitskarios
      BaseClient.observable
      1. com.alorma.gitskarios.core.client.BaseClient.observable(BaseClient.java:45)
      1 frame
    4. com.alorma.github
      BaseFileFragment.onStart
      1. com.alorma.github.ui.fragment.content.source.ImageFileFragment.getContentObservable(ImageFileFragment.java:20)
      2. com.alorma.github.ui.fragment.content.BaseFileFragment.getContent(BaseFileFragment.java:43)
      3. com.alorma.github.ui.fragment.content.BaseFileFragment.onStart(BaseFileFragment.java:38)
      3 frames
    5. Android Support v4
      FragmentActivity.onStart
      1. android.support.v4.app.Fragment.performStart(Fragment.java:2106)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1146)
      3. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1290)
      4. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1272)
      5. android.support.v4.app.FragmentManagerImpl.dispatchStart(FragmentManager.java:2154)
      6. android.support.v4.app.FragmentController.dispatchStart(FragmentController.java:212)
      7. android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:610)
      7 frames
    6. Android v7
      AppCompatActivity.onStart
      1. android.support.v7.app.AppCompatActivity.onStart(AppCompatActivity.java:178)
      1 frame
    7. com.alorma.github
      BackActivity.onStart
      1. com.alorma.github.ui.activity.base.BackActivity.onStart(BackActivity.java:9)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1220)
      2. android.app.Activity.performStart(Activity.java:6036)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2366)
      5. android.app.ActivityThread.access$800(ActivityThread.java:149)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1284)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5290)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
      2 frames