cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-9699) Camera crashing randomly
Date Thu, 01 Oct 2015 22:55:27 GMT

     [ https://issues.apache.org/jira/browse/CB-9699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Joe Bowser reassigned CB-9699:
------------------------------

    Assignee: Joe Bowser

> 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
>            Assignee: Joe Bowser
>              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


Mime
View raw message