- Status New
- Percent Complete
- Task Type Bug Report
- Category App
- Assigned To No-one
- Operating System All
- Severity Medium
- Priority Normal
- Reported Version Conversations+ 0.0.7
- Due in Version Undecided
- Due Date Undecided
- Votes 0
- Private No
FS#243 - Error while adding file when C+ has no permission to access file
07-03 19:52:11.466 4463-4463/de.thedevstack.conversationsplus E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=771, result=-1, data=Intent { dat=content://com.ghisler.android.TotalCommander.files/storage/sdcard0/.bugsense flg=0x3 }} to activity {de.thedevstack.conversationsplus/de.thedevstack.conversationsplus.ui.ConversationActivity}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults(ActivityThread.java:3205)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3248)
at android.app.ActivityThread.access$1200(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1285)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at de.thedevstack.conversationsplus.utils.ConversationUtil.attachFileToConversation(ConversationUtil.java:48)
at de.thedevstack.conversationsplus.ui.ConversationActivity.attachFileToConversation(ConversationActivity.java:1459)
at de.thedevstack.conversationsplus.ui.ConversationActivity.access$1100(ConversationActivity.java:78)
at de.thedevstack.conversationsplus.ui.ConversationActivity$13.onPresenceSelected(ConversationActivity.java:1332)
at de.thedevstack.conversationsplus.ui.ConversationActivity.onActivityResult(ConversationActivity.java:1340)
at android.app.Activity.dispatchActivityResult(Activity.java:5390)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3201)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3248)
at android.app.ActivityThread.access$1200(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1285)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=771, result=-1, data=Intent { dat=content://com.ghisler.android.TotalCommander.files/storage/sdcard0/.bugsense flg=0x3 }} to activity {de.thedevstack.conversationsplus/de.thedevstack.conversationsplus.ui.ConversationActivity}: java.lang.NullPointerException
at android.app.ActivityThread.deliverResults(ActivityThread.java:3205)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3248)
at android.app.ActivityThread.access$1200(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1285)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at de.thedevstack.conversationsplus.utils.ConversationUtil.attachFileToConversation(ConversationUtil.java:48)
at de.thedevstack.conversationsplus.ui.ConversationActivity.attachFileToConversation(ConversationActivity.java:1459)
at de.thedevstack.conversationsplus.ui.ConversationActivity.access$1100(ConversationActivity.java:78)
at de.thedevstack.conversationsplus.ui.ConversationActivity$13.onPresenceSelected(ConversationActivity.java:1332)
at de.thedevstack.conversationsplus.ui.ConversationActivity.onActivityResult(ConversationActivity.java:1340)
at android.app.Activity.dispatchActivityResult(Activity.java:5390)
at android.app.ActivityThread.deliverResults(ActivityThread.java:3201)
at android.app.ActivityThread.handleSendResult(ActivityThread.java:3248)
at android.app.ActivityThread.access$1200(ActivityThread.java:140)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1285)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4921)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
at dalvik.system.NativeStart.main(Native Method)