Skip to content
New issue

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

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

Already on GitHub? # to your account

Backup each book #55

Merged
merged 1 commit into from
Mar 15, 2024
Merged

Conversation

pnemonic78
Copy link
Collaborator

There was an issue with nextcloud/ownCloud when backup book:

Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.owncloud.android.datamodel.OCFile.existsOnDevice()' on a null object reference
       at android.os.Parcel.createExceptionOrNull(Parcel.java:3017)
       at android.os.Parcel.createException(Parcel.java:2995)
       at android.os.Parcel.readException(Parcel.java:2978)
       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
       at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)
       at android.content.ContentProviderProxy.openAssetFile(ContentProviderNative.java:705)
       at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1862)
       at android.content.ContentResolver.openOutputStream(ContentResolver.java:1564)
       at android.content.ContentResolver.openOutputStream(ContentResolver.java:1539)
       at org.gnucash.android.util.BackupManager.backupAllBooks(BackupManager.java:76)
       at org.gnucash.android.util.BackupJob.onHandleWork(BackupJob.java:46)
       at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:396)
       at androidx.core.app.JobIntentService$CommandProcessor.doInBackground(JobIntentService.java:387)
       at android.os.AsyncTask$3.call(AsyncTask.java:394)
       at java.util.concurrent.FutureTask.run(FutureTask.java:264)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)

@Kaligula0 Kaligula0 merged commit 5502a20 into GnuCash-Pocket:master Mar 15, 2024
5 checks passed
@Kaligula0
Copy link
Collaborator

Is this connected to the #17 (comment) ?

@pnemonic78
Copy link
Collaborator Author

Is this connected to the #17 (comment) ?

I don't think so.

@pnemonic78 pnemonic78 deleted the issue_owncloud branch March 17, 2024 13:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants