T8RIN / ImageToolbox

🖼️ Image Toolbox is a powerful app for advanced image manipulation. It offers dozens of features, from basic tools like crop and draw to filters, OCR, and a wide range of image processing options
Apache License 2.0
4.04k stars 190 forks source link

[Bug] App Crash: IllegalArgumentException #1216

Closed Bug725 closed 4 months ago

Bug725 commented 4 months ago

Device: timelm (lge - timelm), SDK: 33 (13), App: 2.9.1-alpha01 (145)java.lang.IllegalArgumentException: MutableState containing Color(0.0, 0.0, 0.0, 0.0, sRGB IEC61966-2.1) cannot be saved using the current SaveableStateRegistry. The default implementation only supports types which can be stored inside the Bundle. Please consider implementing a custom Saver for this class and pass it as a stateSaver parameter to rememberSaveable().at N0.a.a(SourceFile:86)at N0.a.b(SourceFile:1)at E0.v.f(SourceFile:127)at E0.w.j(SourceFile:64)at E0.w.i(SourceFile:6)at E0.H0.a(SourceFile:105)at E0.p.a(SourceFile:5)at E0.w.o(SourceFile:9)at n1.G.i(SourceFile:22)at n1.G.h(SourceFile:120)at n1.B.m(SourceFile:160)at g0.O.a(SourceFile:34)at e0.l.b(SourceFile:21)at e0.m.l(SourceFile:837)at M9.p.l(SourceFile:825)at n1.D.c(SourceFile:74)at p1.t.c(SourceFile:38)at X0.V.f(SourceFile:1)at p1.y.c(SourceFile:15)at X0.V.f(SourceFile:1)at p1.y.c(SourceFile:15)at d0.C.f(SourceFile:99)at p1.y.c(SourceFile:15)at p1.J.b(SourceFile:882)at O0.p.e(SourceFile:114)at O0.q.a(SourceFile:48)at O0.r.c(SourceFile:140)at p1.j0.a(SourceFile:3)at p1.I.w0(SourceFile:133)at p1.D.M(SourceFile:17)at p1.D.N(SourceFile:18)at p1.Q.c(SourceFile:8)at p1.Q.m(SourceFile:138)at p1.Q.j(SourceFile:90)at q1.t.s(SourceFile:36)at q1.t.dispatchDraw(SourceFile:17)at android.view.View.draw(View.java:23232)at android.view.View.updateDisplayListIfDirty(View.java:22096)at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4570)at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4543)at android.view.View.updateDisplayListIfDirty(View.java:22052)at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4570)at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4543)at android.view.View.updateDisplayListIfDirty(View.java:22052)at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4570)at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4543)at android.view.View.updateDisplayListIfDirty(View.java:22052)at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4570)at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4543)at android.view.View.updateDisplayListIfDirty(View.java:22052)at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4570)at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4543)at android.view.View.updateDisplayListIfDirty(View.java:22052)at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4570)at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4543)at android.view.View.updateDisplayListIfDirty(View.java:22052)at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:682)at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:688)at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:786)at android.view.ViewRootImpl.draw(ViewRootImpl.java:4735)at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:4445)at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3672)at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2371)at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9283)at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1319)at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1327)at android.view.Choreographer.doCallbacks(Choreographer.java:985)at android.view.Choreographer.doFrame(Choreographer.java:916)at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1302)at android.os.Handler.handleCallback(Handler.java:942)at android.os.Handler.dispatchMessage(Handler.java:99)at android.os.Looper.loopOnce(Looper.java:201)at android.os.Looper.loop(Looper.java:288)at android.app.ActivityThread.main(ActivityThread.java:8022)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)

T8RIN commented 4 months ago

Duplicate of #1214