Play Console error!

Playconsole warnning me… What is issues of this error?

Exception java.lang.ClassCastException: android.view.AbsSavedState$1 cannot be cast to android.widget.ScrollView$SavedState
at android.widget.ScrollView.onRestoreInstanceState (ScrollView.java:1928)
at android.view.View.dispatchRestoreInstanceState (View.java:20872)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4008)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.ViewGroup.dispatchRestoreInstanceState (ViewGroup.java:4014)
at android.view.View.restoreHierarchyState (View.java:20850)
at com.android.internal.policy.PhoneWindow.restoreHierarchyState (PhoneWindow.java:2185)
at android.app.Activity.onRestoreInstanceState (Activity.java:1754)
at android.app.Activity.performRestoreInstanceState (Activity.java:1707)
at android.app.Instrumentation.callActivityOnRestoreInstanceState (Instrumentation.java:1357)
at android.app.ActivityThread.handleStartActivity (ActivityThread.java:3592)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:221)
at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:201)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:173)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2146)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loop (Looper.java:236)
at android.app.ActivityThread.main (ActivityThread.java:8057)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:656)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967)

@Nibedita_Roy which android version is giving this error

Android 10,11

@Nibedita_Roy Please share the apk file i will check and let you know.

Apk seny by DM please check :pray:

Ok @Nibedita_Roy please give me a little time I will check and let you know

Can you checked my app?

@Nibedita_Roy Sorry for a late reply, there was some problem occured due to which i was unable to check the app.

Okay no problem, Can you check now?

Are you using any state managent or scroll handler extension with the scroll view cause main issue is the scroll state management is not proper.

Which one are the cause are you think??

the PDF extensions as they are developed by deephost and he doesn’t updates his extension and these extensions needs an arrangement to show PDF so most probably these are causing issues.

I think so this issues causing by in-App PDF Viewer Extension…

Please try and let us know

Deep host cleared this issues not coming from their extension and he is said maybe File Permission Issues can make this bug… Can anyway possible to find which components are getting this bug? @iaditya_nanda

Remove one extension after another and try again until you find the culprit.

1 Like

Okay i will try with first one InApp PDF Viewer

Here is google play recommended fix solution but i can’t catching where is the bug please anyone find to help me how to resolve this… :sob:

And also clear from the first point of solution which google play gave you that fix has to be implemented on the custom scroll view and extension is most probably making this custom view.

1 Like