cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Clelland (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-5975) You cannot select a pdf / doc etc file from "gallery"
Date Thu, 13 Feb 2014 16:03:23 GMT

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

Ian Clelland reassigned CB-5975:
--------------------------------

    Assignee: Ian Clelland

> You cannot select a pdf / doc etc file from "gallery"
> -----------------------------------------------------
>
>                 Key: CB-5975
>                 URL: https://issues.apache.org/jira/browse/CB-5975
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin File, Plugin File Transfer
>    Affects Versions: 3.0.0, 3.1.0, 3.2.0, 3.3.0
>         Environment: Android
>            Reporter: DotNetWise
>            Assignee: Ian Clelland
>              Labels: security
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> I have reported this bug twice as a pull request on github but no one seems to look at
that!! Shame on you!
> If you select a file from the recent downloaded files (via Select From Library) you get
a silent error
> The reported url of the file to be resolved is content://com.android.providers.downloads.documents/document/629
> The error or success callback are never being called but when looking with adb logcat
I'm getting a NullPointerReference exception
> W/System.err( 5278): java.lang.NullPointerException
> W/System.err( 5278):    at java.io.File.fixSlashes(File.java:185)
> W/System.err( 5278):    at java.io.File.<init>(File.java:134)
> W/System.err( 5278):    at org.apache.cordova.file.FileUtils.resolveLocalFileSystemURI(FileUtils.java:392)
> W/System.err( 5278):    at org.apache.cordova.file.FileUtils.access$200(FileUtils.java:53)
> W/System.err( 5278):    at org.apache.cordova.file.FileUtils$12.run(FileUtils.java:203)
> W/System.err( 5278):    at org.apache.cordova.file.FileUtils$23.run(FileUtils.java:325)
> W/System.err( 5278):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
> W/System.err( 5278):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
> W/System.err( 5278):    at java.lang.Thread.run(Thread.java:841)
> https://github.com/apache/cordova-plugin-file/pulls/dotnetwise
> https://github.com/dotnetwise/cordova-plugin-file/commit/739d2fd5db8643acb92f186bd3a8a89b5289ead5



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message