java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference

umeng.com | 6 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

    FindActivity 微社区退出 异常退出_U盟友盟微社区论坛_【友盟+】开发者社区

    umeng.com | 6 months ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference

      at com.umeng.comm.core.utils.ResFinder.getResourceId()
    2. com.umeng.comm
      FindActivity.onCreate
      1. com.umeng.comm.core.utils.ResFinder.getResourceId(ResFinder.java:149)
      2. com.umeng.comm.core.utils.ResFinder.getLayout(ResFinder.java:179)
      3. com.umeng.comm.ui.activities.FindActivity.getLayout(FindActivity.java:69)
      4. com.umeng.comm.ui.imagepicker.activities.FindBaseActivity.onCreate(FindBaseActivity.java:50)
      5. com.umeng.comm.ui.activities.FindActivity.onCreate(FindActivity.java:65)
      5 frames
    3. Android Platform
      Activity.performCreate
      1. android.app.Activity.performCreate(Activity.java:5933)
      1 frame