SimpleSearchView icon indicating copy to clipboard operation
SimpleSearchView copied to clipboard

App Crashes when we open app after some time from background

Open ghost opened this issue 3 years ago • 7 comments

### Seems Like Issue here https://github.com/Ferfalk/SimpleSearchView/blob/1e62036e69c983b84544f8eee64c4917e2cbb17e/simplesearchview/src/main/java/com/ferfalk/simplesearchview/SimpleSearchView.kt When Reading and writing to parcel

Stack Trace

Process: com.doc.scanner.doc.reader.documentscan, PID: 19451 java.lang.RuntimeException: Parcel android.os.Parcel@5cbf9d2: Unmarshalling unknown type code 6553705 at offset 3092 at android.os.Parcel.readValue(Parcel.java:3269) at android.os.Parcel.readSparseArrayInternal(Parcel.java:3666) at android.os.Parcel.readSparseArray(Parcel.java:2808) at android.os.Parcel.readValue(Parcel.java:3247) at android.os.Parcel.readArrayMapInternal(Parcel.java:3583) at android.os.BaseBundle.initializeFromParcelLocked(BaseBundle.java:296) at android.os.BaseBundle.unparcel(BaseBundle.java:240) at android.os.Bundle.getSparseParcelableArray(Bundle.java:1079) at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2197) at android.app.Activity.onRestoreInstanceState(Activity.java:1743) at android.app.Activity.performRestoreInstanceState(Activity.java:1689) at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1357) at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3760) at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:232) at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:212) at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:184) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:102) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2315) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:263) at android.app.ActivityThread.main(ActivityThread.java:8276) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:612) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1006)

Request To Admin

Please look at this issue ASAP

ghost avatar Nov 26 '21 05:11 ghost

Any fix?

yustapps avatar Jun 28 '22 06:06 yustapps

me too

F-19-F avatar Aug 21 '22 12:08 F-19-F

add this

F-19-F avatar Aug 21 '22 13:08 F-19-F

Any fix for this? I have my production app crashing.

yustapps avatar Oct 13 '22 06:10 yustapps

> Any fix for this? I have my production app crashing.

you can use this prebuilt aar here copy aar to your app/libs and replace your app’s build.gradle // implementation 'com.github.Ferfalk:SimpleSearchView:0.2.0' with implementation files("libs/simplesearchview-release.aar")

F-19-F avatar Oct 13 '22 06:10 F-19-F

Hi,

I do but I go t this : Error inflating class com.ferfalk.simplesearchview.SimpleSearchView

El jue, 13 oct 2022 a las 8:51, F-19-F @.***>) escribió:

> Any fix for this? I have my production app crashing.

you can use this prebuilt aar here https://github.com/F-19-F/SimpleSearchView/releases/tag/fix copy aar to your app/libs and replace your app’s build.gradle // implementation 'com.github.Ferfalk:SimpleSearchView:0.2.0' with implementation files("libs/simplesearchview-release.aar")

— Reply to this email directly, view it on GitHub https://github.com/Ferfalk/SimpleSearchView/issues/37#issuecomment-1277113537, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARTWQU6ZFK5O52BOB3PPQE3WC6WQLANCNFSM5IZ4LYQQ . You are receiving this because you commented.Message ID: @.***>

yustapps avatar Oct 13 '22 08:10 yustapps

Can you help me to fix this problem? I don't know why I am getting error inflating class.

yustapps avatar Oct 13 '22 08:10 yustapps

@F-19-F can you help me please?

yustapps avatar Oct 17 '22 13:10 yustapps

Fixed! 👍 Thanks to @F-19-F

artiomcarabash avatar Nov 05 '23 11:11 artiomcarabash