You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2015/09/24 16:55:04 UTC
[jira] [Updated] (CB-9699) Camera crashing randomly
[ https://issues.apache.org/jira/browse/CB-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-9699:
---------------------------
Flags: Patch (was: Patch,Important)
Priority: Major (was: Critical)
> Camera crashing randomly
> ------------------------
>
> Key: CB-9699
> URL: https://issues.apache.org/jira/browse/CB-9699
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Camera
> Affects Versions: 5.2.0
> Environment: Cordova camera plugin crashes randomly
> Reporter: Niko Polvinen
> Labels: patch
>
> Cordova camera plugin crashes the app. Not a outofmemory error.
> Camera options when this happens:
> {
> sourceType: Camera.PictureSourceType.CAMERA,
> correctOrientation: true,
> quality: 90,
> allowEdit: false,
> targetWidth: 1200,
> destinationType: Camera.DestinationType.FILE_URI,
> encodingType: Camera.EncodingType.JPEG,
> saveToPhotoAlbum: false
> }
> From ADB:
> E/AndroidRuntime(24879): FATAL EXCEPTION: main
> E/AndroidRuntime(24879): Process: com.conexbird, PID: 24879
> E/AndroidRuntime(24879): java.lang.RuntimeException: Unable to resume activity {com.conexbird/com.conexbird.MainActivity}: java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {com.conexbird/com.conexbird.MainActivity}: java.lang.NullPointerException
> Which leads us to this: http://stackoverflow.com/questions/19042511/android-camera-failure-delivering-result-resultinfowho-null-request-0-resul
> Devices I'v tested: SGS5 Active, Lenovo e3500, sony aqua m2, sony xprea z2
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org