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 21567101F7 for ; Thu, 20 Feb 2014 04:28:23 +0000 (UTC) Received: (qmail 67838 invoked by uid 500); 20 Feb 2014 04:28:22 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 67737 invoked by uid 500); 20 Feb 2014 04:28:21 -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 67714 invoked by uid 99); 20 Feb 2014 04:28:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Feb 2014 04:28:20 +0000 Date: Thu, 20 Feb 2014 04:28:20 +0000 (UTC) From: "Ian Clelland (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (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:all-tabpanel ] Ian Clelland resolved CB-5975. ------------------------------ Resolution: Fixed > 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.(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)