[jira] [Commented] (CB-9477) Android app crashes on image capture
[ https://issues.apache.org/jira/browse/CB-9477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696790#comment-14696790 ] Elodie Corbel commented on CB-9477: --- Also having similar issue see [CB-9189 | https://issues.apache.org/jira/browse/CB-9189?focusedCommentId=14696782&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14696782] > Android app crashes on image capture > > > Key: CB-9477 > URL: https://issues.apache.org/jira/browse/CB-9477 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 5.1.1 > Environment: Android >Reporter: Trevor Huey > > When doing a camera capture, after selecting okay on the image, the app > crashes and it throws this error in the logcat. > This is on a Moto G device running 4.4.4 > 08-10 16:52:34.488 28126-28126/com.joltup.joltmobile E/AndroidRuntime﹕ FATAL > EXCEPTION: main > Process: com.joltup.joltmobile, PID: 28126 > java.lang.RuntimeException: Unable to resume activity > {com.joltup.joltmobile/com.joltup.joltmobile.MainActivity}: > java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, > request=34, result=-1, data=null} to activity > {com.joltup.joltmobile/com.joltup.joltmobile.MainActivity}: > java.lang.NullPointerException > at > android.app.ActivityThread.performResumeActivity(ActivityThread.java:2812) > at > android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2845) > at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2262) > at android.app.ActivityThread.access$800(ActivityThread.java:139) > at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) > at android.os.Handler.dispatchMessage(Handler.java:102) > at android.os.Looper.loop(Looper.java:136) > at android.app.ActivityThread.main(ActivityThread.java:5086) > at java.lang.reflect.Method.invokeNative(Native Method) > at java.lang.reflect.Method.invoke(Method.java:515) > at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) > at dalvik.system.NativeStart.main(Native Method) > Caused by: java.lang.RuntimeException: Failure delivering result > ResultInfo{who=null, request=34, result=-1, data=null} to activity > {com.joltup.joltmobile/com.joltup.joltmobile.MainActivity}: > java.lang.NullPointerException > at > android.app.ActivityThread.deliverResults(ActivityThread.java:3432) > at > android.app.ActivityThread.performResumeActivity(ActivityThread.java:2788) > at > android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2845) > at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2262) > at android.app.ActivityThread.access$800(ActivityThread.java:139) > at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) > at android.os.Handler.dispatchMessage(Handler.java:102) > at android.os.Looper.loop(Looper.java:136) > at android.app.ActivityThread.main(ActivityThread.java:5086) > at java.lang.reflect.Method.invokeNative(Native Method) > at java.lang.reflect.Method.invoke(Method.java:515) > at > com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) > at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) > at dalvik.system.NativeStart.main(Native Method) > Caused by: java.lang.NullPointerException > at > org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:445) > at > org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:674) > at > org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120) > at > org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:320) > at android.app.Activity.dispatchActivityResult(Activity.java:5446) > at > android.app.ActivityThread.deliverResults(ActivityThread.java:3428) > at > android.app.ActivityThread.performResumeActivity(ActivityThread.java:2788) > at > android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2845) > at > android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2262) > at android.app.ActivityThread.access$800(ActivityThread.java:139) > at > android.app.ActivityThread$H.handleMessage(ActivityThread.java:1210) > at android.os.Han
[jira] [Comment Edited] (CB-9189) java.lang.NullPointerException on select from library
[ https://issues.apache.org/jira/browse/CB-9189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696782#comment-14696782 ] Elodie Corbel edited comment on CB-9189 at 8/14/15 9:56 AM: My app is also crashing with same error. I don't use Crosswalk and it crashes on a Sony Xperia SP with Cyanogenmod 10.2 (Android 4.3.1). It doesn't always happen. Maybe the problem is Cyanogenmod ? Here is the log : {code} E/AndroidRuntime(21796): FATAL EXCEPTION: main E/AndroidRuntime(21796): java.lang.RuntimeException: Unable to resume activity {com.monappli/com.monappli.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=33, result=-1, data=null } to activity {com.monappli/com.monappli.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(21796):at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2918) E/AndroidRuntime(21796):at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2947) E/AndroidRuntime(21796):at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2394) E/AndroidRuntime(21796):at android.app.ActivityThread.access$600(ActivityThread.java:153) E/AndroidRuntime(21796):at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269) E/AndroidRuntime(21796):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(21796):at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(21796):at android.app.ActivityThread.main(ActivityThread.java:5289) E/AndroidRuntime(21796):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(21796):at java.lang.reflect.Method.invoke(Method.java:525) E/AndroidRuntime(21796):at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) E/AndroidRuntime(21796):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555) E/AndroidRuntime(21796):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(21796): Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=33, re sult=-1, data=null} to activity {com.monappli/com.monappli.MainActivity}: java.lang.NullPointerExceptio n E/AndroidRuntime(21796):at android.app.ActivityThread.deliverResults(ActivityThread.java:3495) E/AndroidRuntime(21796):at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2905) E/AndroidRuntime(21796):... 12 more E/AndroidRuntime(21796): Caused by: java.lang.NullPointerException E/AndroidRuntime(21796):at org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:400) E/AndroidRuntime(21796):at org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:674) E/AndroidRuntime(21796):at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120) E/AndroidRuntime(21796):at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:320) E/AndroidRuntime(21796):at android.app.Activity.dispatchActivityResult(Activity.java:5322) E/AndroidRuntime(21796):at android.app.ActivityThread.deliverResults(ActivityThread.java:3491) E/AndroidRuntime(21796):... 13 more {code} was (Author: ecorbel): My app is also crashing with same error. I don't use Crosswalk and it crashes on a Sony Xperia SP with Cyanogenmod 10.2 (Android 4.3.1). Maybe the problem is Cyanogenmod ? Here is the log : {code} E/AndroidRuntime(21796): FATAL EXCEPTION: main E/AndroidRuntime(21796): java.lang.RuntimeException: Unable to resume activity {com.monappli/com.monappli.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=33, result=-1, data=null } to activity {com.monappli/com.monappli.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(21796):at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2918) E/AndroidRuntime(21796):at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2947) E/AndroidRuntime(21796):at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2394) E/AndroidRuntime(21796):at android.app.ActivityThread.access$600(ActivityThread.java:153) E/AndroidRuntime(21796):at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269) E/AndroidRuntime(21796):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(21796):at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(21796):at android.app.ActivityThread.main(ActivityThread.java:5289) E/AndroidRuntime(21796):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(21796):at java.lang.reflect.Method.invoke(Method.java:525)
[jira] [Commented] (CB-9189) java.lang.NullPointerException on select from library
[ https://issues.apache.org/jira/browse/CB-9189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14696782#comment-14696782 ] Elodie Corbel commented on CB-9189: --- My app is also crashing with same error. I don't use Crosswalk and it crashes on a Sony Xperia SP with Cyanogenmod 10.2 (Android 4.3.1). Maybe the problem is Cyanogenmod ? Here is the log : {code} E/AndroidRuntime(21796): FATAL EXCEPTION: main E/AndroidRuntime(21796): java.lang.RuntimeException: Unable to resume activity {com.monappli/com.monappli.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=33, result=-1, data=null } to activity {com.monappli/com.monappli.MainActivity}: java.lang.NullPointerException E/AndroidRuntime(21796):at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2918) E/AndroidRuntime(21796):at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2947) E/AndroidRuntime(21796):at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2394) E/AndroidRuntime(21796):at android.app.ActivityThread.access$600(ActivityThread.java:153) E/AndroidRuntime(21796):at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1269) E/AndroidRuntime(21796):at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime(21796):at android.os.Looper.loop(Looper.java:137) E/AndroidRuntime(21796):at android.app.ActivityThread.main(ActivityThread.java:5289) E/AndroidRuntime(21796):at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime(21796):at java.lang.reflect.Method.invoke(Method.java:525) E/AndroidRuntime(21796):at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739) E/AndroidRuntime(21796):at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555) E/AndroidRuntime(21796):at dalvik.system.NativeStart.main(Native Method) E/AndroidRuntime(21796): Caused by: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=33, re sult=-1, data=null} to activity {com.monappli/com.monappli.MainActivity}: java.lang.NullPointerExceptio n E/AndroidRuntime(21796):at android.app.ActivityThread.deliverResults(ActivityThread.java:3495) E/AndroidRuntime(21796):at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2905) E/AndroidRuntime(21796):... 12 more E/AndroidRuntime(21796): Caused by: java.lang.NullPointerException E/AndroidRuntime(21796):at org.apache.cordova.camera.CameraLauncher.processResultFromCamera(CameraLauncher.java:400) E/AndroidRuntime(21796):at org.apache.cordova.camera.CameraLauncher.onActivityResult(CameraLauncher.java:674) E/AndroidRuntime(21796):at org.apache.cordova.CordovaInterfaceImpl.onActivityResult(CordovaInterfaceImpl.java:120) E/AndroidRuntime(21796):at org.apache.cordova.CordovaActivity.onActivityResult(CordovaActivity.java:320) E/AndroidRuntime(21796):at android.app.Activity.dispatchActivityResult(Activity.java:5322) E/AndroidRuntime(21796):at android.app.ActivityThread.deliverResults(ActivityThread.java:3491) E/AndroidRuntime(21796):... 13 more {code} > java.lang.NullPointerException on select from library > - > > Key: CB-9189 > URL: https://issues.apache.org/jira/browse/CB-9189 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 5.0.1 > Environment: Android. >Reporter: Mark Harding > Labels: android, camera, file, library > > I'm getting multiple crash reports via google play. I'm unable to replicate > myself but I think it could be related to CyanogenMod. > Android 5.0 (LG Leon 4G LTE (c50)) > {code} > java.lang.RuntimeException: Unable to resume activity > {com.minds.mobile/com.minds.mobile.MainActivity}: java.lang.RuntimeException: > Failure delivering result ResultInfo{who=null, request=18, result=-1, > data=Intent { > dat=content://com.google.android.apps.photos.contentprovider/0/1/https://lh3.googleusercontent.com/xZgV-3YvXmuR6W7uEAJOLuHHSI0nrkzZTGESgcggVi_ovpv8qkc=s0-d/ACTUAL > flg=0x1 (has clip) }} to activity > {com.minds.mobile/com.minds.mobile.MainActivity}: > java.lang.NullPointerException: Attempt to invoke virtual method 'void > org.apache.cordova.CallbackContext.success(java.lang.String)' on a null > object reference > at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3040) > at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3071) > at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2410) > at android.app.ActivityThread.access$800(ActivityThread.java:155) > at android.app.Act
[jira] [Commented] (CB-9442) Camera crashes multiple pictures taken wp8
[ https://issues.apache.org/jira/browse/CB-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14653255#comment-14653255 ] Elodie Corbel commented on CB-9442: --- The OS version is 8.10.14203.306. I have tested on a nokia 530 and it doesn't happen. > Camera crashes multiple pictures taken wp8 > -- > > Key: CB-9442 > URL: https://issues.apache.org/jira/browse/CB-9442 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera >Affects Versions: 5.1.1 > Environment: Windows Phone 8.1 >Reporter: Elodie Corbel >Assignee: Jesse MacFadyen >Priority: Blocker > Labels: Windows > > The camera and the app crash when I try to take pictures multiple times. It > tries to open up the camera but the camera stays black and we only see the > button to take pictures that doesn't work. If I wait few seconds, it closes > the camera and the app. > It doesn't happen at a fixed number of times. Sometimes, the second time, > sometimes later but never the first. I have nothing in the log that indicates > this error, no exception. > I call getPicture with this : > {code:javascript} > { > quality: 50, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: false, > saveToPhotoAlbum: false, > correctOrientation: false > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Commented] (CB-9442) Camera crashes multiple pictures taken wp8
[ https://issues.apache.org/jira/browse/CB-9442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652298#comment-14652298 ] Elodie Corbel commented on CB-9442: --- It's a Windows Phone 8.1 but not a Nokia. It's a HTC 8X. I will try with another device. > Camera crashes multiple pictures taken wp8 > -- > > Key: CB-9442 > URL: https://issues.apache.org/jira/browse/CB-9442 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Camera, WP8 >Affects Versions: 5.1.1 > Environment: Windows >Reporter: Elodie Corbel >Assignee: Jesse MacFadyen >Priority: Blocker > > The camera and the app crash when I try to take pictures multiple times. It > tries to open up the camera but the camera stays black and we only see the > button to take pictures that doesn't work. If I wait few seconds, it closes > the camera and the app. > It doesn't happen at a fixed number of times. Sometimes, the second time, > sometimes later but never the first. I have nothing in the log that indicates > this error, no exception. > I call getPicture with this : > {code:javascript} > { > quality: 50, > destinationType: Camera.DestinationType.DATA_URL, > allowEdit: false, > saveToPhotoAlbum: false, > correctOrientation: false > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org
[jira] [Created] (CB-9442) Camera crashes multiple pictures taken wp8
Elodie Corbel created CB-9442: - Summary: Camera crashes multiple pictures taken wp8 Key: CB-9442 URL: https://issues.apache.org/jira/browse/CB-9442 Project: Apache Cordova Issue Type: Bug Components: Plugin Camera, WP8 Affects Versions: 5.1.1 Environment: Windows Reporter: Elodie Corbel Assignee: Jesse MacFadyen Priority: Blocker The camera and the app crash when I try to take pictures multiple times. It tries to open up the camera but the camera stays black and we only see the button to take pictures that doesn't work. If I wait few seconds, it closes the camera and the app. It doesn't happen at a fixed number of times. Sometimes, the second time, sometimes later but never the first. I have nothing in the log that indicates this error, no exception. I call getPicture with this : {code:javascript} { quality: 50, destinationType: Camera.DestinationType.DATA_URL, allowEdit: false, saveToPhotoAlbum: false, correctOrientation: false } {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) - To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org