Skip to content
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

Application crashes upon restoration of backup #1780

Open
8 of 9 tasks
winniesim20 opened this issue Feb 22, 2024 · 4 comments
Open
8 of 9 tasks

Application crashes upon restoration of backup #1780

winniesim20 opened this issue Feb 22, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@winniesim20
Copy link

Steps to reproduce

  1. Download and install TachiyomiJ2K 1.7.4
  2. Setting >> backup and restore
  3. Restore backup >> backup chosen (tachiyomi backup)
  4. Back up restored with 0 errors
  5. Application crashes and shuts down

Expected behavior

Application restores and loads all backed up libraries.
Application stays open to allow for app activities.

Actual behavior

Application crashes and shuts down without any crash logs.

Crash logs

No crash log provided. Application closes itself.

TachiyomiJ2K version

1.7.4

Android version

Android 13

Device

Google apixel 4a

Other details

Back up chosen for restoration was from main version of Tachiyomi

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • If this is an issue with an extension, I should be opening an issue in the extensions repository.
  • I am reporting an issue exclusive to this fork. I have also checked that is not an issue on the main version of Tachiyomi
  • I have tried the troubleshooting guide.
  • I have updated the app to version 1.7.4.
  • I have updated all installed extensions.
  • I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
  • I have filled out all of the requested information in this form.
@winniesim20 winniesim20 added the bug Something isn't working label Feb 22, 2024
@ImpenetrableNoble

This comment was marked as off-topic.

@DukeSinclair
Copy link

DukeSinclair commented Mar 5, 2024

Error crash code.

java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer
at android.app.SharedPreferencesImpl.getInt(SharedPreferencesImpl.java:321)
at com.fredporciuncula.flow.preferences.IntPreference.get(SourceFile:15)
at eu.kanade.tachiyomi.ui.extension.ExtensionAdapter.(Unknown Source:48)
at eu.kanade.tachiyomi.ui.extension.ExtensionBottomSheet.onCreate(Unknown Source:12)
at eu.kanade.tachiyomi.ui.source.BrowseController.onViewCreated(SourceFile:181)
at eu.kanade.tachiyomi.ui.base.controller.BaseController$1.postCreateView(Unknown Source:12)
at com.bluelinelabs.conductor.Controller.inflate(SourceFile:115)
at com.bluelinelabs.conductor.ControllerChangeHandler.executeChange(SourceFile:186)
at com.bluelinelabs.conductor.Router.performControllerChange(SourceFile:2)
at com.bluelinelabs.conductor.Router.setBackstack(SourceFile:483)
at eu.kanade.tachiyomi.ui.main.MainActivity$$ExternalSyntheticLambda6.onNavigationItemSelected(SourceFile:167)
at com.google.android.material.navigation.NavigationBarView$1.onMenuItemSelected(Unknown Source:45)
at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(Unknown Source:4)
at androidx.appcompat.view.menu.MenuItemImpl.invoke(SourceFile:15)
at androidx.appcompat.view.menu.MenuBuilder.performItemAction(Unknown Source:13)
at com.google.android.material.navigation.NavigationBarMenuView$1.onClick(Unknown Source:19)
at android.view.View.performClick(View.java:7571)
at android.view.View.performClickInternal(View.java:7548)
at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
at android.view.View$PerformClick.run(View.java:29771)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8442)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:560)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)

@dobbleg1000
Copy link

Getting this same error. If we need help troubleshooting

@dobbleg1000
Copy link

@DukeSinclair
Ik its been a bit since your post. Making a new backup not including SETTINGS seemed to let me restore successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants