Issue with video recorder


#1

Can someone help with this error gotten from using the nativescript video recorder from here

System.err: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=999, result=-1, data=Intent { dat=content://org.nativescript.application.provider/external_files/DCIM/Camera/VID_1527692214249.mp4 flg=0x1 }} to activity {org.nativescript.application/com.tns.NativeScriptActivity}: com.tns.NativeScriptException: 
System.err: Calling js method onActivityResult failed
System.err: 
System.err: Error: java.lang.IllegalArgumentException: column '_data' does not exist
System.err:     android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)
System.err:     android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)
System.err:     com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
System.err:     com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:957)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:941)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:933)
System.err:     com.tns.NativeScriptActivity.onActivityResult(NativeScriptActivity.java:75)
System.err:     android.app.Activity.dispatchActivityResult(Activity.java:6987)
System.err:     android.app.ActivityThread.deliverResults(ActivityThread.java:4211)
System.err:     android.app.ActivityThread.handleSendResult(ActivityThread.java:4258)
System.err:     android.app.ActivityThread.-wrap20(ActivityThread.java)
System.err:     android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
System.err:     android.os.Handler.dispatchMessage(Handler.java:110)
System.err:     android.os.Looper.loop(Looper.java:203)
System.err:     android.app.ActivityThread.main(ActivityThread.java:6284)
System.err:     java.lang.reflect.Method.invoke(Native Method)
System.err:     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1094)
System.err:     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)
System.err: File: "file:///data/data/org.nativescript.application/files/app/app.js, line: 21187, column: 33
System.err: 
System.err: StackTrace: 
System.err: 	Frame: function:'getRealPathFromURI', file:'file:///data/data/org.nativescript.application/files/app/app.js', line: 21187, column: 34
System.err: 	Frame: function:'app.android.currentContext.onActivityResult', file:'file:///data/data/org.nativescript.application/files/app/app.js', line: 21156, column: 45
System.err: 
System.err: 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4215)
System.err: 	at android.app.ActivityThread.handleSendResult(ActivityThread.java:4258)
System.err: 	at android.app.ActivityThread.-wrap20(ActivityThread.java)
System.err: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
System.err: 	at android.os.Handler.dispatchMessage(Handler.java:110)
System.err: 	at android.os.Looper.loop(Looper.java:203)
System.err: 	at android.app.ActivityThread.main(ActivityThread.java:6284)
System.err: 	at java.lang.reflect.Method.invoke(Native Method)
System.err: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1094)
System.err: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)
System.err: Caused by: com.tns.NativeScriptException: 
System.err: Calling js method onActivityResult failed
System.err: 
System.err: Error: java.lang.IllegalArgumentException: column '_data' does not exist
System.err:     android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)
System.err:     android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)
System.err:     com.tns.Runtime.callJSMethodNative(Native Method)
System.err:     com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
System.err:     com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:957)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:941)
System.err:     com.tns.Runtime.callJSMethod(Runtime.java:933)
System.err:     com.tns.NativeScriptActivity.onActivityResult(NativeScriptActivity.java:75)
System.err:     android.app.Activity.dispatchActivityResult(Activity.java:6987)
System.err:     android.app.ActivityThread.deliverResults(ActivityThread.java:4211)
System.err:     android.app.ActivityThread.handleSendResult(ActivityThread.java:4258)
System.err:     android.app.ActivityThread.-wrap20(ActivityThread.java)
System.err:     android.app.ActivityThread$H.handleMessage(ActivityThread.java:1583)
System.err:     android.os.Handler.dispatchMessage(Handler.java:110)
System.err:     android.os.Looper.loop(Looper.java:203)
System.err:     android.app.ActivityThread.main(ActivityThread.java:6284)
System.err:     java.lang.reflect.Method.invoke(Native Method)
System.err:     com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1094)
System.err:     com.android.internal.os.ZygoteInit.main(ZygoteInit.java:955)
System.err: File: "file:///data/data/org.nativescript.application/files/app/app.js, line: 21187, column: 33
System.err: 
System.err: StackTrace: 
System.err: 	Frame: function:'getRealPathFromURI', file:'file:///data/data/org.nativescript.application/files/app/app.js', line: 21187, column: 34
System.err: 	Frame: function:'app.android.currentContext.onActivityResult', file:'file:///data/data/org.nativescript.application/files/app/app.js', line: 21156, column: 45
System.err: 
System.err: 	at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: 	at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
System.err: 	at com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
System.err: 	at com.tns.Runtime.callJSMethod(Runtime.java:957)
System.err: 	at com.tns.Runtime.callJSMethod(Runtime.java:941)
System.err: 	at com.tns.Runtime.callJSMethod(Runtime.java:933)
System.err: 	at com.tns.NativeScriptActivity.onActivityResult(NativeScriptActivity.java:75)
System.err: 	at android.app.Activity.dispatchActivityResult(Activity.java:6987)
System.err: 	at android.app.ActivityThread.deliverResults(ActivityThread.java:4211)
System.err: 	... 9 more
System.err: Caused by: java.lang.IllegalArgumentException: column '_data' does not exist
System.err: 	at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333)
System.err: 	at android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)
System.err: 	... 18 more
ActivityManager: Process org.nativescript.application (pid 9427) has died
ActivityManager: handleAppDiedLocked: app = ProcessRecord{42d4d59 9427:org.nativescript.application/u0a296}, app.pid = 9427
ActivityManager: cleanUpApplicationRecord -- 9427