Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.
This repository was archived by the owner on Nov 9, 2021. It is now read-only.

Error: column '_data' does not exist #43

@Stefano1964

Description

@Stefano1964

On Android 9 and DropBox, works with GoogleDrive
The path from cordova file chooser plugin https://github.com/ihadeed/cordova-filechooser
content://com.dropbox.android.FileCache/filecache/445f6e95-75b4-4b3a-b36e-5b307244c22d
The log:

E/PluginManager: Uncaught exception from plugin
java.lang.IllegalArgumentException: column '_data' does not exist. Available columns: []
at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:340)
at android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87)
at com.hiddentao.cordova.filepath.FilePath.getDataColumn(FilePath.java:208)
at com.hiddentao.cordova.filepath.FilePath.getPath(FilePath.java:407)
at com.hiddentao.cordova.filepath.FilePath.resolveNativePath(FilePath.java:104)
at com.hiddentao.cordova.filepath.FilePath.execute(FilePath.java:76)
at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:98)
at org.apache.cordova.PluginManager.exec(PluginManager.java:132)
at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:57)
at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:386)
at android.os.Looper.loop(Looper.java:169)
at android.os.HandlerThread.run(HandlerThread.java:65)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions