cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-14097) Camera plugin crashes using getPicture on some files
Date Thu, 05 Jul 2018 14:57:00 GMT


ASF GitHub Bot commented on CB-14097:

bvmensvoort commented on issue #322: CB-14097: (android) Fix crash when selecting some files
with getPicture
   I have implemented the suggestions of the review.
   Must be better now.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> Camera plugin crashes using getPicture on some files
> ----------------------------------------------------
>                 Key: CB-14097
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>    Affects Versions: Master
>         Environment: At least tested on:
> Cordova 7.1.0
> Camera 4.0.3
> But the code is the same in master branch.
>            Reporter: B. van Mensvoort
>            Priority: Critical
>             Fix For: Master
>         Attachments: logcat.txt
> My app uses to select files from a library.
> After selecting some files, the app crashes. Some files go well and it doesn't seem to
happen on all devices.
> The crash happens in the file and it the exception is:
> {{java.lang.NumberFormatException: For input string: "raw:/storage/emulated/0/Download/filename.PDF"}}
> It seems to be caused the way files are saved on the device. The urls of the files are
different. When resaving the file, the URL can be as expected.
> Expected URL:
> {{content://}}
> Error URL:
> {{content://}}
> The fix is the same as: []

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message