{"action":"created","issue":{"url":"https://api.github.com/repos/opendatakit/collect/issues/2342","repository_url":"https://api.github.com/repos/opendatakit/collect","labels_url":"https://api.github.com/repos/opendatakit/collect/issues/2342/labels{/name}","comments_url":"https://api.github.com/repos/opendatakit/collect/issues/2342/comments","events_url":"https://api.github.com/repos/opendatakit/collect/issues/2342/events","html_url":"https://github.com/opendatakit/collect/issues/2342","id":337132864,"node_id":"MDU6SXNzdWUzMzcxMzI4NjQ=","number":2342,"title":"Recording and saving an audio file causes a crash","user":{"login":"yanokwa","id":32369,"node_id":"MDQ6VXNlcjMyMzY5","avatar_url":"https://avatars3.githubusercontent.com/u/32369?v=4","gravatar_id":"","url":"https://api.github.com/users/yanokwa","html_url":"https://github.com/yanokwa","followers_url":"https://api.github.com/users/yanokwa/followers","following_url":"https://api.github.com/users/yanokwa/following{/other_user}","gists_url":"https://api.github.com/users/yanokwa/gists{/gist_id}","starred_url":"https://api.github.com/users/yanokwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yanokwa/subscriptions","organizations_url":"https://api.github.com/users/yanokwa/orgs","repos_url":"https://api.github.com/users/yanokwa/repos","events_url":"https://api.github.com/users/yanokwa/events{/privacy}","received_events_url":"https://api.github.com/users/yanokwa/received_events","type":"User","site_admin":false},"labels":[{"id":474698020,"node_id":"MDU6TGFiZWw0NzQ2OTgwMjA=","url":"https://api.github.com/repos/opendatakit/collect/labels/in%20progress","name":"in progress","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"SaumiaSinghal","id":35730054,"node_id":"MDQ6VXNlcjM1NzMwMDU0","avatar_url":"https://avatars1.githubusercontent.com/u/35730054?v=4","gravatar_id":"","url":"https://api.github.com/users/SaumiaSinghal","html_url":"https://github.com/SaumiaSinghal","followers_url":"https://api.github.com/users/SaumiaSinghal/followers","following_url":"https://api.github.com/users/SaumiaSinghal/following{/other_user}","gists_url":"https://api.github.com/users/SaumiaSinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/SaumiaSinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaumiaSinghal/subscriptions","organizations_url":"https://api.github.com/users/SaumiaSinghal/orgs","repos_url":"https://api.github.com/users/SaumiaSinghal/repos","events_url":"https://api.github.com/users/SaumiaSinghal/events{/privacy}","received_events_url":"https://api.github.com/users/SaumiaSinghal/received_events","type":"User","site_admin":false},"assignees":[{"login":"SaumiaSinghal","id":35730054,"node_id":"MDQ6VXNlcjM1NzMwMDU0","avatar_url":"https://avatars1.githubusercontent.com/u/35730054?v=4","gravatar_id":"","url":"https://api.github.com/users/SaumiaSinghal","html_url":"https://github.com/SaumiaSinghal","followers_url":"https://api.github.com/users/SaumiaSinghal/followers","following_url":"https://api.github.com/users/SaumiaSinghal/following{/other_user}","gists_url":"https://api.github.com/users/SaumiaSinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/SaumiaSinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaumiaSinghal/subscriptions","organizations_url":"https://api.github.com/users/SaumiaSinghal/orgs","repos_url":"https://api.github.com/users/SaumiaSinghal/repos","events_url":"https://api.github.com/users/SaumiaSinghal/events{/privacy}","received_events_url":"https://api.github.com/users/SaumiaSinghal/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-29T20:47:45Z","updated_at":"2018-07-11T05:31:22Z","closed_at":null,"author_association":"MEMBER","body":"#### Software and hardware versions \r\nf0d5fa2 on sms_submission branch. Android 7.0 on Moto G5 Plus\r\n\r\n#### Problem description\r\nRecording and saving an audio file causes a crash\r\n\r\n#### Steps to reproduce the problem\r\n* Install the [Sony Audio Recorder](https://play.google.com/store/apps/details?id=com.sonymobile.androidapp.audiorecorder)\r\n* Download the All Widgets form and navigate to the Audio widget\r\n* Record sound (and grant any necessary permissions)\r\n* Save sound and press Done.\r\n* Collect crashes\r\n\r\n#### Other information \r\n```\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=3, result=-1, data=Intent { dat=content://com.sonymobile.androidapp.audiorecorder.content/voice recordings/music recordings/Audio recording 2018-06-29 13-41-35.wav typ=audio/raw flg=0x1 }} to activity {org.odk.collect.android/org.odk.collect.android.activities.FormEntryActivity}: java.lang.IllegalArgumentException: column '_data' does not exist\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.ActivityThread.deliverResults(ActivityThread.java:4094)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.ActivityThread.handleSendResult(ActivityThread.java:4137)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.ActivityThread.-wrap20(ActivityThread.java)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1529)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.os.Looper.loop(Looper.java:154)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.ActivityThread.main(ActivityThread.java:6123)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat java.lang.reflect.Method.invoke(Native Method)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: column '_data' does not exist\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat org.odk.collect.android.utilities.MediaUtils.getDataColumn(MediaUtils.java:648)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat org.odk.collect.android.activities.FormEntryActivity.onActivityResult(FormEntryActivity.java:765)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.Activity.dispatchActivityResult(Activity.java:6931)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \tat android.app.ActivityThread.deliverResults(ActivityThread.java:4090)\r\n06-29 13:41:41.508 27437 27437 E AndroidRuntime: \t... 9 more\r\n06-29 13:41:41.512  2412  2448 W ActivityManager:   Force finishing activity org.odk.collect.android/.activities.FormEntryActivity\r\n```\r\n\r\nPerhaps related to #705, but the stack trace is different."},"comment":{"url":"https://api.github.com/repos/opendatakit/collect/issues/comments/404049865","html_url":"https://github.com/opendatakit/collect/issues/2342#issuecomment-404049865","issue_url":"https://api.github.com/repos/opendatakit/collect/issues/2342","id":404049865,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDA0OTg2NQ==","user":{"login":"SaumiaSinghal","id":35730054,"node_id":"MDQ6VXNlcjM1NzMwMDU0","avatar_url":"https://avatars1.githubusercontent.com/u/35730054?v=4","gravatar_id":"","url":"https://api.github.com/users/SaumiaSinghal","html_url":"https://github.com/SaumiaSinghal","followers_url":"https://api.github.com/users/SaumiaSinghal/followers","following_url":"https://api.github.com/users/SaumiaSinghal/following{/other_user}","gists_url":"https://api.github.com/users/SaumiaSinghal/gists{/gist_id}","starred_url":"https://api.github.com/users/SaumiaSinghal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SaumiaSinghal/subscriptions","organizations_url":"https://api.github.com/users/SaumiaSinghal/orgs","repos_url":"https://api.github.com/users/SaumiaSinghal/repos","events_url":"https://api.github.com/users/SaumiaSinghal/events{/privacy}","received_events_url":"https://api.github.com/users/SaumiaSinghal/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T05:31:22Z","updated_at":"2018-07-11T05:31:22Z","author_association":"COLLABORATOR","body":"Sorry got caught up somewhere. I'll work on this after a few days."}}
{"actor":{"display_login":"SaumiaSinghal"}}