You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Niko Polvinen (JIRA)" <ji...@apache.org> on 2015/09/24 12:37:04 UTC
[jira] [Created] (CB-9699) Camera crashing randomly
Niko Polvinen created CB-9699:
---------------------------------
Summary: 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
Priority: Critical
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