Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 638F7100D5 for ; Fri, 7 Feb 2014 02:12:22 +0000 (UTC) Received: (qmail 11194 invoked by uid 500); 7 Feb 2014 02:12:20 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 11165 invoked by uid 500); 7 Feb 2014 02:12:19 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 11153 invoked by uid 99); 7 Feb 2014 02:12:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Feb 2014 02:12:19 +0000 Date: Fri, 7 Feb 2014 02:12:19 +0000 (UTC) From: "Marcel Kinard (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5975) You cannot select a pdf / doc etc file from "gallery" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894109#comment-13894109 ] Marcel Kinard commented on CB-5975: ----------------------------------- > I have reported this bug twice as a pull request on github but no one seems to look at that!! Shame on you! Unfortunately, the developers are not notified when a pull request is created on github. The best way to notify the developers is to create a Jira issue, as you have done here. The neglect was not intentional. ;-) See http://wiki.apache.org/cordova/IssueWorkflow (Providing Patches). Have you signed and submitted an ICLA? See http://wiki.apache.org/cordova/ContributorWorkflow > 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 > 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.(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)