-
Notifications
You must be signed in to change notification settings - Fork 234
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
io.paperdb.PaperDbException #119
Comments
You should have more detailed stacktrace showing underlying exception causing PaperDbException. Could you post it here?
…On Wednesday, March 7, 2018 at 18:36, Raman wrote:
Hi there. Again see io.paperdb.PaperDbException in crash manager. Can't reproduce it myself, but time to time receive such reports and want to fix the problem.
> Android: 7.0
> Android Build: NRD90M.G950FXXU1AQK7
> Manufacturer: samsung
> Model: SM-G950F
> Thread: main-1
> CrashReporter Key: bb9147f9-546b-4291-91ad-14b69ad15914
> Start Date: 2018-03-07T14:32:22.137Z
> Date: 2018-03-07T14:35:04.070Z
> io.paperdb.PaperDbException: Couldn't read/deserialize file /data/user/0/com.moodie.android/files/io.paperdb/com.moodie.android.data.USER.pt for table com.moodie.android.data.USER
> at io.paperdb.DbStoragePlainFile.readTableFile(DbStoragePlainFile.java)
> at io.paperdb.DbStoragePlainFile.select(DbStoragePlainFile.java)
> at io.paperdb.Book.read(Book.java)
> at com.moodie.android.data.storage.PersistentStorage$read$1.call(PersistentStorage.java)
> at io.reactivex.internal.operators.maybe.MaybeFromCallable.subscribeActual(MaybeFromCallable.java)
> at io.reactivex.Maybe.fromCallable(Maybe.java)
> just(Maybe.java)
> blockingGet(Maybe.java)
> doOnSuccess(Maybe.java)
> flatMapCompletable(Maybe.java)
> subscribe(Maybe.java)
> switchIfEmpty(Maybe.java)
> at io.reactivex.Maybe.fromCallable(Maybe.java)
> just(Maybe.java)
> blockingGet(Maybe.java)
> doOnSuccess(Maybe.java)
> flatMapCompletable(Maybe.java)
> subscribe(Maybe.java)
> switchIfEmpty(Maybe.java)
> at com.moodie.android.presentation.more.MorePresenter.getCachedUserSync(MorePresenter.java)
Use paper version 2.6
compileSdkVersion 27
buildToolsVersion '27.0.3'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (#119), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAaNIYFDzCpqSncCZsXfjnZOLnU3-lGUks5tcBqDgaJpZM4Sg3Nn).
|
|
Now seems like a duplicate for #4. Any ideas how to fix it? |
The second read attempt should fix the problem (as app restart after crash solves it now). Could be added as a workaround to the lib. But I don't see it's as a major issue now. Closing this one as a duplicate of #4 |
I have same issue while app update via Play store app crash. Do anyone have solution ?? |
I have same error exatly in release mode |
Hi there. Again see
io.paperdb.PaperDbException
in crash manager. Can't reproduce it myself, but time to time receive such reports and want to fix the problem.Use paper version 2.6
compileSdkVersion 27
buildToolsVersion '27.0.3'
The text was updated successfully, but these errors were encountered: