title: Cordova resolveLocalFileSystemURL error code 1000 in Android
body: <p>When i use cordova function resolveLocalFileSystemURL with some type of file uri (like content://com.android.providers.downloads.documents/document/some_doc) i have an error with code 1000. I use cordova 5.1 and 5 version of Android installed on smartphone.</p>
  
  <p>adb logcat shows this:</p>
  
  <pre><code>W/System.err(28721): java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Long.longValue()' on a null object reference
  W/System.err(28721):    at org.apache.cordova.file.ContentFilesystem.getFileMetadataForLocalURL(ContentFilesystem.java:130)
  W/System.err(28721):    at org.apache.cordova.file.Filesystem.exists(Filesystem.java:130)
  W/System.err(28721):    at org.apache.cordova.file.FileUtils.resolveLocalFileSystemURI(FileUtils.java:624)
  W/System.err(28721):    at org.apache.cordova.file.FileUtils.access$400(FileUtils.java:51)
  W/System.err(28721):    at org.apache.cordova.file.FileUtils$14.run(FileUtils.java:383)
  W/System.err(28721):    at org.apache.cordova.file.FileUtils$25.run(FileUtils.java:566)
  W/System.err(28721):    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
  W/System.err(28721):    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
  W/System.err(28721):    at java.lang.Thread.run(Thread.java:818)
  </code></pre>
  
  <p>Is it some way to open this files with cordova?</p>