IacobIonut01 / Gallery

Light-weight Media Gallery app for Android made with Jetpack Compose
Apache License 2.0
1.29k stars 65 forks source link

App crashes whenever i add anything to the Vault and the Fancy Blur doesn't work most of the time #448

Open BatDevil opened 1 month ago

BatDevil commented 1 month ago

these were problems during the pre release and felt like i should give it time but now they're still a problem in the stable version, i appreciate the work you do it's really amazing to save us from spyware and I hope this issue is fixed, great app and thanks for the work.

IacobIonut01 commented 1 month ago

Thanks for your kind words!

Actually I've released the app now because of my limited testing (with 3 devices and an emulator) I couldn't detect any more crashes or issues like that.

The fancy blur - it might be related to the hardware of your phone, I recommend disabling it if it doesn't provide a suitable experience The vault crash - I will look into that, can you guide me how you managed to crash it? (Maybe low storage, very big files etc, also provide a crashing image via email for privacy reasons)

BatDevil commented 1 month ago

i tried everything basically, my storage is 70% empty so that's definitely not a problem, tried to put files as low in sizs as 100KB and still didn't work, it simply crashes the app.

arythmitical commented 1 month ago

Experiencing the same thing with vaults :(

Creation and editing of vaults works fine, but the app crashes the second I add an image to the vault.

Device: Samsung Galaxy A12s

Crash traceback:

FATAL EXCEPTION: main
Process: com.dot.gallery, PID: 16314
java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1435129694, result=-1, data=Intent { flg=0x1 (has extras) }} to activity {com.dot.gallery/com.dot.gallery.feature_node.presentation.main.MainActivity}: java.lang.ClassCastException: android.os.Parcelable[] cannot be cast to t4.s[]
    at android.app.ActivityThread.deliverResults(ActivityThread.java:5994)
    at android.app.ActivityThread.handleSendResult(ActivityThread.java:6033)
    at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:67)
    at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:226)
    at android.os.Looper.loop(Looper.java:313)
    at android.app.ActivityThread.main(ActivityThread.java:8762)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
Caused by: java.lang.ClassCastException: android.os.Parcelable[] cannot be cast to t4.s[]
    at U4.g.N(Unknown Source:213)
    at c.j.a(Unknown Source:44)
    at c.l.onActivityResult(Unknown Source:2)
    at j.h.onActivityResult(Unknown Source:5)
    at android.app.Activity.dispatchActivityResult(Activity.java:8951)
    at android.app.ActivityThread.deliverResults(ActivityThread.java:5987)
    ... 13 more

Full CatLog of the app: 11_09-20-00-25_261.log