question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when creating a backup

See original GitHub issue

Steps to reproduce

Example:

  1. Go to “Backup and restore”
  2. Select “Create backup”
  3. Select what to backup
  4. Select folder where the backup file will be sent to

Expected behavior

After selecting which the folder the backup file will go to, there shouldn’t be any error and the backup file should be created.

Actual behavior

Notification saying “java.lang.ArrayIndexOutOfBoundsException: length=0; index=0” and the backup file is not created

Crash logs

--------- beginning of main
04-16 13:47:18.686 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:20.726 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:22.768 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:24.809 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:26.850 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:28.893 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:30.905 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:32.948 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:34.989 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:37.033 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:39.075 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:41.118 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:43.121 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:45.139 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:47.140 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:49.141 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:51.142 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:53.155 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:55.157 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:57.158 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:47:59.159 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:48:01.161 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:48:03.163 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:48:05.165 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:48:07.166 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:48:09.167 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
04-16 13:48:11.168 24845 24859 E anade.tachiyom: failed to connect to jdwp control socket: Connection refused
App version: 0.13.3 (standard, 28522f4, 79, 2022-04-15T20:39Z)
Android version: 11 (SDK 30)
Android build ID: lineage_jasmine_sprout-userdebug 11 RQ3A.211001.001 10042829
Device brand: Xiaomi
Device manufacturer: Xiaomi
Device name: jasmine_sprout
Device model: Mi A2
Device product name: lineage_jasmine_sprout

Tachiyomi version

0.13.3

Android version

Android 11 (LineageOS 18.1)

Device

Xiaomi Mi A2

Other details

No response

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 have tried the troubleshooting guide.
  • I have updated the app to version 0.13.3.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Xoouucommented, Apr 17, 2022

Thanks @curche it solved the problem. Maybe it should be added in the FAQ, so no one has this problem again

1reaction
curchecommented, Apr 17, 2022

Are you perhaps trying to backup an empty library? Just checked this issue because I use the same device however with a custom ROM that’s based on Android 12

While I usually use tachiyomi preview/sy, I did a fresh install of the app and tried creating a backup to get that error on empty library. However after just adding one random manga, the error no longer appears

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to complete backup. An error occur…
After one successful backup, I keep getting the following message: Unable to complete backup. An error occurred while creating the backup folder ......
Read more >
Error creating backup - WordPress.org
I need help, my backup is not working. I chatted with dreamhost, and they indicated it is a problem with the Crio plug...
Read more >
Windows backup or restore errors 0x80070001, 0x81000037 ...
Issue 1. You receive the following error code when you try to back up files or folders by using Windows Backup and Restore:...
Read more >
unms "There was an error when creating the backup file"
Hi All, UNMS version 0.13. 3 - some of my sites have stopped doing automatic backups, and if I try to 'create backup'...
Read more >
Quick Fixes for Windows 10 Backup Failed Error
This article tells you how to fix Windows 10 backup failed easily, directly fix it or use other powerful backup software.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found