Giter VIP home page Giter VIP logo

Comments (9)

nguyenhoanglam avatar nguyenhoanglam commented on August 16, 2024

I've tested this bug and no crash occured. However I changed some lines of code and released version 1.1.2.
Please try the new version and let me know if the bug is gone.

from imagepicker.

mkhan07 avatar mkhan07 commented on August 16, 2024

I have also used the library version 1.1.1 and found similar crash in crash log of live app. Please find stacktrace for the same

Fatal Exception: java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.nguyenhoanglam.imagepicker.activity.ImagePickerActivity.getFolder(SourceFile:825)
at com.nguyenhoanglam.imagepicker.activity.ImagePickerActivity$ImageLoaderRunnable.run(SourceFile:791)

at java.lang.Thread.run(Thread.java:818)

Fatal Exception: java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.nguyenhoanglam.imagepicker.activity.ImagePickerActivity$5.handleMessage(SourceFile:602)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5635)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at dalvik.system.NativeStart.main(NativeStart.java)

from imagepicker.

nguyenhoanglam avatar nguyenhoanglam commented on August 16, 2024

Please try latest version !

compile 'com.github.nguyenhoanglam:ImagePicker:1.1.2'

from imagepicker.

deannrchsnl avatar deannrchsnl commented on August 16, 2024

I have also used the library version 1.1.2 and found similar crash in crash log of live app like @mkhan07 .
Fatal Exception: java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.nguyenhoanglam.imagepicker.activity.ImagePickerActivity.getFolder(SourceFile:825)
at com.nguyenhoanglam.imagepicker.activity.ImagePickerActivity$ImageLoaderRunnable.run(SourceFile:791)

from imagepicker.

kapoet avatar kapoet commented on August 16, 2024

have the same problem. I think the app crash because we are using folder mode

from imagepicker.

Rainer-Lang avatar Rainer-Lang commented on August 16, 2024

@junaidwarsi1994 @mkhan07 @kapoet Could you test this with the newest version please? Maybe this issue could be closed.

from imagepicker.

baokk avatar baokk commented on August 16, 2024

@nguyenhoanglam Camera on Android >= 7 still error. Could please help to check on last version?

from imagepicker.

nguyenhoanglam avatar nguyenhoanglam commented on August 16, 2024

@baokk please show me the error description!

from imagepicker.

nguyenhoanglam avatar nguyenhoanglam commented on August 16, 2024

Hi guys,
Version 1.4.0 is now available. Please check it out and close this issue if the error's gone away!
Thank you so much!

from imagepicker.

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.