GithubHelp home page GithubHelp logo

Unsupported column: _data about afilechooser HOT 2 OPEN

ipaulpro avatar ipaulpro commented on July 24, 2024
Unsupported column: _data

from afilechooser.

Comments (2)

devashishmamgain avatar devashishmamgain commented on July 24, 2024

@gattacus this must be coming for remote files eg: google + and picasa files

from afilechooser.

snwalkunde avatar snwalkunde commented on July 24, 2024

Hi,

Were you able to solve this?

I am also getting the same issue for my production app but i am unable to reproduce the issue on my devices

I tried google+ and picasa app for sharing images with my app and it works fine.

I am using this cordova file chooser plugin which internally uses aFileChooser library.

https://github.com/cdibened/filechooser

Following is the stacktrace

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app.and/com.example.app.and.ShareHandlerActivity}: java.lang.IllegalArgumentException: column '_data' does not exist at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5443) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) Caused by: java.lang.IllegalArgumentException: column '_data' does not exist at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:333) at android.database.CursorWrapper.getColumnIndexOrThrow(CursorWrapper.java:87) at com.ipaulpro.afilechooser.utils.FileUtils.getDataColumn(SourceFile:233) at com.ipaulpro.afilechooser.utils.FileUtils.getPath(SourceFile:330) at com.example.app.and.ShareHandlerActivity.onCreate(SourceFile:111) at android.app.Activity.performCreate(Activity.java:6259) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379) ... 9 more

Any help on reproducing the issue or markers to resolving is appreciated.

Thanks
Shashikant

from afilechooser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.