java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65538, result=-1, data=Intent { dat=file:///storage/emulated/0/tencent/QQ_Images/-307b1d839e24191.jpg typ=image/jpeg }} to activity {com.avoscloud.chat/cn.leancloud.chatkit.activity.LCIMConversationActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference

GitHub | FanYimin | 3 months ago
  1. 0

    GitHub comment 34#246256659

    GitHub | 3 months ago | FanYimin
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=65538, result=-1, data=Intent { dat=file:///storage/emulated/0/tencent/QQ_Images/-307b1d839e24191.jpg typ=image/jpeg }} to activity {com.avoscloud.chat/cn.leancloud.chatkit.activity.LCIMConversationActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference
  2. 0

    Codename one crash during capture audio

    Stack Overflow | 8 months ago | peopletookallthegoodnames
    java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference
  3. 0

    how to specify a hidden folder for the projection of a contentprovider

    Stack Overflow | 2 years ago | turtleboy
    java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problem when running the app.

    GitHub | 8 months ago | LeChauvet
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=file:///storage/emulated/0/DCIM/Camera/IMG_20160329_210847.jpg typ=image/jpeg }} to activity {com.example.alexandroskarargyris.myapplication/com.example.alexandroskarargyris.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference
  6. 0

    Content Provider from imported library (AAR) not working

    Stack Overflow | 10 months ago | evanill80
    java.lang.NullPointerException: Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference

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

      Attempt to invoke interface method 'int android.database.Cursor.getColumnIndexOrThrow(java.lang.String)' on a null object reference

      at cn.leancloud.chatkit.activity.LCIMConversationFragment.getRealPathFromURI()
    2. cn.leancloud.chatkit
      LCIMConversationFragment.onActivityResult
      1. cn.leancloud.chatkit.activity.LCIMConversationFragment.getRealPathFromURI(LCIMConversationFragment.java:327)
      2. cn.leancloud.chatkit.activity.LCIMConversationFragment.onActivityResult(LCIMConversationFragment.java:300)
      2 frames
    3. com.avoscloud.chat
      ConversationFragment.onActivityResult
      1. com.avoscloud.chat.activity.ConversationFragment.onActivityResult(ConversationFragment.java:168)
      1 frame
    4. Android Support v4
      FragmentActivity.onActivityResult
      1. android.support.v4.app.FragmentActivity.onActivityResult(FragmentActivity.java:175)
      1 frame
    5. Android Platform
      ActivityThread.deliverResults
      1. android.app.Activity.dispatchActivityResult(Activity.java:6508)
      2. android.app.ActivityThread.deliverResults(ActivityThread.java:3702)
      2 frames