Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException at DefaultImageFileLoader #311

Closed
dimmells opened this issue Nov 13, 2020 · 1 comment
Closed

NullPointerException at DefaultImageFileLoader #311

dimmells opened this issue Nov 13, 2020 · 1 comment

Comments

@dimmells
Copy link

dimmells commented Nov 13, 2020

App crashes at DefaultImageFileLoader.
Fatal Exception: java.lang.NullPointerException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkNotNullParameter, parameter name at com.esafirm.imagepicker.model.Image.<init>(:2) at com.esafirm.imagepicker.features.fileloader.DefaultImageFileLoader$ImageLoadRunnable.run(DefaultImageFileLoader.java:159) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) at java.lang.Thread.run(Thread.java:764)

I tried to use custom ImageFileLoader in which i fixed this issue, but it doesnt used by lib.
I call this every time before creating ImagePicker. Maybe I do something wrong?
ImagePickerComponentHolder.getInstance().imageFileLoader = HJImageFileLoader(activity)

@design365
Copy link

not your bug ,it's the image picker's bug. Image constructor not allow that the name is null.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants