Comments (7)
Could you also add the OS version and the phone that you are testing this with. Would add this fix soon. Thanks for the issue.
from image-chooser-library.
from image-chooser-library.
Thanks
from image-chooser-library.
I got reports of a "Couldn't process a null file" crash as well. The error occurs for a user of a Droid Maxx (XT1032) on Android 4.4.
I guess that doesn't help you at all but I don't have any more useful information as well (especially not about the gallery app they're using).
from image-chooser-library.
Would look into this soon. Thanks for reporting the issue.
from image-chooser-library.
Fixed this. Changes available on master branch as well as dev.
from image-chooser-library.
I got this issue.
Device: samsung duos gt-i8286
OS version: Android 4.1.2
04-14 20:10:50.172: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.262: D/BatteryStatsImpl(4623): ++++++xy WakeLock start : pid=4623, name=, type=0, tid=4914, pid=4623, pName=null
04-14 20:10:50.282: E/SQLiteLog(5042): (5) statement aborts at 1: [PRAGMA journal_mode=TRUNCATE;]
04-14 20:10:50.332: I/ImageChooserManager(5166): File: content://com.google.android.apps.docs.files/exposed_content/cNFxLnGO1QOdRmyk3UqW7g%3D%3D%0A%3BZUi5q5DqJufH6RmME7jdrBFgUY3cAC1GbsItBXxLAjwL5HMjG7j8QekmcQ8YJq8q%0A
04-14 20:10:50.342: I/dalvikvm(5166): Could not find method android.provider.DocumentsContract.isDocumentUri, referenced from method com.kbeanie.imagechooser.threads.MediaProcessorThread.getPath
04-14 20:10:50.342: W/dalvikvm(5166): VFY: unable to resolve static method 1032: Landroid/provider/DocumentsContract;.isDocumentUri (Landroid/content/Context;Landroid/net/Uri;)Z
04-14 20:10:50.342: D/dalvikvm(5166): VFY: replacing opcode 0x71 at 0x000c
04-14 20:10:50.342: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.352: D/WindowManager(4623): PhoneWindowManager: focusChangedLw
04-14 20:10:50.352: D/WindowManager(4623): updateReadingMode
04-14 20:10:50.362: I/ImageProcessorThread(5166): Processing Image File: content://com.google.android.apps.docs.files/exposed_content/cNFxLnGO1QOdRmyk3UqW7g%3D%3D%0A%3BZUi5q5DqJufH6RmME7jdrBFgUY3cAC1GbsItBXxLAjwL5HMjG7j8QekmcQ8YJq8q%0A
04-14 20:10:50.362: I/MediaProcessorThread(5166): Image Uri: content://com.google.android.apps.docs.files/exposed_content/cNFxLnGO1QOdRmyk3UqW7g%3D%3D%0A%3BZUi5q5DqJufH6RmME7jdrBFgUY3cAC1GbsItBXxLAjwL5HMjG7j8QekmcQ8YJq8q%0A
04-14 20:10:50.362: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.362: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.372: D/WindowManager(4623): This has baseActivity
04-14 20:10:50.372: D/STATUSBAR-StatusBarManagerService(4623): setSystemUiVisibility(0x0)
04-14 20:10:50.372: D/STATUSBAR-StatusBarManagerService(4623): manageDisableList what=0x0 pkg=WindowManager.LayoutParams
04-14 20:10:50.382: D/BatteryStatsImpl(4623): ++++++xy WakeLock stop : pid=4623, name=, type=0, tid=4837, pid=4623, pName=null
04-14 20:10:50.392: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.462: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.472: W/GAV2(5298): Thread[main,5,main]: dispatch call queued. Need to call GAServiceManager.getInstance().initialize().
04-14 20:10:50.482: D/KeyguardViewMediator(4623): setHidden false
04-14 20:10:50.512: D/NetworkController_dual(4753): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
04-14 20:10:50.512: D/NetworkController_dual(4753): getNumberOfSim() SIM0:systemSimState=1, simActive=1
04-14 20:10:50.512: D/NetworkController_dual(4753): getNumberOfSim() SIM1:systemSimState=0, simActive=1
04-14 20:10:50.512: W/SignalStrength(4753): getGsmLevel=4
04-14 20:10:50.512: W/SignalStrength(4753): getLevel=4 (SignalStrength: 17 0 -120 -160 -120 -1 -1 99 2147483647 2147483647 2147483647 2147483647 gsm|lte 0x4)
04-14 20:10:50.512: D/NetworkController_dual(4753): getNumberOfSim() SIM0:systemSimState=1, simActive=1
04-14 20:10:50.512: D/NetworkController_dual(4753): getNumberOfSim() SIM1:systemSimState=0, simActive=1
04-14 20:10:50.512: D/NetworkController_dual(4753): getPhoneSignalIconList : mMaxLevelOfSignalStrengthIndicator = 4 inetCondition = 0
04-14 20:10:50.512: D/NetworkController_dual(4753): getPhoneSignalDescriptionIconId : mMaxLevelOfSignalStrengthIndicator = 4 iconLevel = 4
04-14 20:10:50.512: D/NetworkController_dual(4753): getDataSignalIconId : mMaxLevelOfSignalStrengthIndicator = 4 inetCondition = 0 iconLevel = 4
04-14 20:10:50.512: D/NetworkController_dual(4753): getNumberOfSim() SIM0:systemSimState=1, simActive=1
04-14 20:10:50.512: D/NetworkController_dual(4753): getNumberOfSim() SIM1:systemSimState=0, simActive=1
04-14 20:10:50.512: D/NetworkController_dual(4753): updateTelephonySignalStrength() : SIM for updating siginal is different mSimIndex=1
04-14 20:10:50.562: D/ImageChooserExample(5166): onError : Couldn't process a null file
04-14 20:10:50.602: D/dalvikvm(5298): GC_CONCURRENT freed 3808K, 27% free 13248K/18055K, paused 7ms+12ms, total 113ms
04-14 20:10:50.612: D/AbsListView(5298): [unregisterDoubleTapMotionListener]
from image-chooser-library.
Related Issues (20)
- BasicActivity.java line 56
- RequestCreator.java line 618
- ImageChooserActivity.java line 110
- ImageChooserActivity.java line 216
- ImageChooserActivity.java line 99
- ImageChooserActivity.java line 218
- ImageChooserActivity.java line 218
- ImageChooserFragment.java line 73
- ImageChooserActivity.java line 219
- VideoChooserActivity.java line 71
- FileUriExposedException HOT 12
- Bug: resource leak found in strict mode HOT 1
- RequestCode is random
- I am getting below mentioned error...can u help me out how to resolve theis
- Clear all photos from cache
- Image chooser not working now, previously it was working fine
- android.os.FileUriExposedException: file:///storage/emulated/0 exposed beyond app through ClipData.Item.getUri() in android 7 HOT 4
- Cannot change ImageView when SECOND take picture, return previous value for imagePath
- Not able to get Image metadata like lat,lng from Chosen Image
- Android 10 ChooserException HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-chooser-library.