cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjun T Raj (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-4471) navigator.device.capture. captureVideo() Not working on android 4.3
Date Wed, 31 Jul 2013 04:27:49 GMT
Arjun T Raj created CB-4471:
-------------------------------

             Summary: navigator.device.capture. captureVideo() Not working on android 4.3
                 Key: CB-4471
                 URL: https://issues.apache.org/jira/browse/CB-4471
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CordovaJS, Plugin Camera, Plugin Media Capture
    Affects Versions: 2.8.0
         Environment: android 4.3 (nexus 4), cordova 2.8
            Reporter: Arjun T Raj
            Assignee: Joe Bowser


While calling   navigator.device.capture.
captureVideo() on  my nexus 4 android 4.3 app was crashing , same app works on all other phones
, and android version except 4.3
check this https://groups.google.com/forum/#!topic/phonegap/flfkszbBJUo

LOG


07-30 10:58:42.640: D/DroidGap(11149): Incoming Result
07-30 10:58:42.640: D/DroidGap(11149): Request code = 2
07-30 10:58:42.640: D/DroidGap(11149): We have a callback to send this result to
07-30 10:58:42.640: D/AndroidRuntime(11149): Shutting down VM
07-30 10:58:42.640: W/dalvikvm(11149): threadid=1: thread exiting with uncaught exception
(group=0x41542700)
07-30 10:58:42.650: E/AndroidRuntime(11149): FATAL EXCEPTION: main
07-30 10:58:42.650: E/AndroidRuntime(11149): java.lang.RuntimeException: Failure delivering
result ResultInfo{who=null, request=2, result=-1, data=Intent {  }} to activity { com.mypjct.MainActivit/com.mypjct.MainActivity}:
java.lang.NullPointerException
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.ActivityThread.deliverResults(ActivityThread.java:3367)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.ActivityThread.handleSendResult(ActivityThread.java:3410)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.ActivityThread.access$1100(ActivityThread.java:141)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1304)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.os.Handler.dispatchMessage(Handler.java:99)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.os.Looper.loop(Looper.java:137)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.ActivityThread.main(ActivityThread.java:5103)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at java.lang.reflect.Method.invokeNative(Native
Method)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at java.lang.reflect.Method.invoke(Method.java:525)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at dalvik.system.NativeStart.main(Native
Method)
07-30 10:58:42.650: E/AndroidRuntime(11149): Caused by: java.lang.NullPointerException
07-30 10:58:42.650: E/AndroidRuntime(11149):     at org.apache.cordova.FileHelper.getRealPath(FileHelper.java:81)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at org.apache.cordova.Capture.createMediaFile(Capture.java:351)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at org.apache.cordova.Capture.onActivityResult(Capture.java:308)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at org.apache.cordova.DroidGap.onActivityResult(DroidGap.java:864)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.Activity.dispatchActivityResult(Activity.java:5322)
07-30 10:58:42.650: E/AndroidRuntime(11149):     at android.app.ActivityThread.deliverResults(ActivityThread.java:3363)
07-30 10:58:42.650: E/AndroidRuntime(11149):     ... 11 more


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message