w2sv / AutoCrop

Android application for automatic batch cropping of phone screenshots.
GNU General Public License v3.0
12 stars 2 forks source link

Selecting Photos Leads to Crash #35

Open locuturus opened 6 months ago

locuturus commented 6 months ago

When using the new photo picker the app crashes. LogFox captured this:

FATAL EXCEPTION: main Process: com.w2sv.autocrop, PID: 19938 java.lang.NumberFormatException: Cannot parse null string at java.lang.Long.parseLong(Long.java:714) at java.lang.Long.parseLong(Long.java:876) at a2.i.j(Unknown Source:92) at com.w2sv.autocrop.activities.crop.a.j(Unknown Source:104) at a6.a.h(Unknown Source:8) at n6.c0.run(Unknown Source:110) at kotlinx.coroutines.internal.d.run(Unknown Source:11) at kotlinx.coroutines.scheduling.i.run(Unknown Source:2) at kotlinx.coroutines.scheduling.a.run(Unknown Source:76) Suppressed: androidx.datastore.preferences.protobuf.n1: [j1{Cancelling}@d5011c7, Dispatchers.Main.immediate]

locuturus commented 3 months ago

BTW, selecting the 3-dot menu in the photo picker screen and choosing browse opens DocumentsUI where you can successfully pick a photo.

w2sv commented 1 month ago

I just released 4.0.8, which hopefully resolves the issue. Let me know should it persist.

w2sv commented 1 month ago

Thanks for the supplementary log and sorry for the late reaction, btw.