New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.ClassCastException: android.widget.HorizontalScrollView$SavedState cannot be cast to android.widget.ScrollView$SavedState #66

Open
tianxiaogu opened this Issue Aug 1, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@tianxiaogu

tianxiaogu commented Aug 1, 2018

Affected version: 1.8.3
Reproducing:

  1. Backup -> NEW BACKUP
  2. Rotate your phone.
// java.lang.RuntimeException: Unable to start activity ComponentInfo{com.catchingnow.tinyclipboardmanager/com.catchingnow.tinyclipboardmanager.ActivityBackupNew}: java.lang.ClassCastException: android.widget.HorizontalScrollView$SavedState cannot be cast to android.widget.ScrollView$SavedState
// 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
// 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
// 	at android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:4077)
// 	at android.app.ActivityThread.-wrap15(ActivityThread.java)
// 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1350)
// 	at android.os.Handler.dispatchMessage(Handler.java:102)
// 	at android.os.Looper.loop(Looper.java:148)
// 	at android.app.ActivityThread.main(ActivityThread.java:5417)
// 	at java.lang.reflect.Method.invoke(Native Method)
// 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
// 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
// Caused by: java.lang.ClassCastException: android.widget.HorizontalScrollView$SavedState cannot be cast to android.widget.ScrollView$SavedState
// 	at android.widget.ScrollView.onRestoreInstanceState(ScrollView.java:1807)
// 	at android.view.View.dispatchRestoreInstanceState(View.java:14752)
// 	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3121)
// 	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127)
// 	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127)
// 	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127)
// 	at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:3127)
// 	at android.view.View.restoreHierarchyState(View.java:14730)
// 	at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2035)
// 	at android.app.Activity.onRestoreInstanceState(Activity.java:1008)
// 	at android.app.Activity.performRestoreInstanceState(Activity.java:963)
// 	at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1163)
// 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2389)
// 	... 10 more


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment