java.lang.IllegalStateException: mContentView is null

GitHub | unmagic | 6 months ago
  1. 0

    java.lang.IllegalStateException: mContentView is null

    GitHub | 6 months ago | unmagic
    java.lang.IllegalStateException: mContentView is null
  2. 0
    In cause your problem comes because of mediastore, you have to try changing Albums.ALBUM_ID, to Albums._ID
  3. 0
    In all ActiveAndroid tables there should be a primary key field with the name "Id" (with a capital "I").
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    The cursor might not be initalized.
  6. 0
    You expected a file in the SD card or internal memory, but you have to deal with a file from Google drive.
    via GitHub by forouher

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

      mContentView is null

      at com.canyinghao.canrefresh.CanRefreshLayout.onFinishInflate()
    2. com.canyinghao.canrefresh
      CanRefreshLayout.onFinishInflate
      1. com.canyinghao.canrefresh.CanRefreshLayout.onFinishInflate(CanRefreshLayout.java:434)
      1 frame
    3. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:844)
      2. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:811)
      4. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      5. android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:838)
      6. android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
      7. android.view.LayoutInflater.rInflate(LayoutInflater.java:811)
      8. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
      9. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
      9 frames