pilgr / Paper

Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
Apache License 2.0
2.35k stars 234 forks source link

io.paperdb.PaperDbException #119

Closed ghost closed 6 years ago

ghost commented 6 years ago

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'

pilgr commented 6 years ago

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 (https://github.com/pilgr/Paper/issues/119), or mute the thread (https://github.com/notifications/unsubscribe-auth/AAaNIYFDzCpqSncCZsXfjnZOLnU3-lGUks5tcBqDgaJpZM4Sg3Nn).

ghost commented 6 years ago
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)
                                                          access$getMvpView$p(MorePresenter.java)
    at com.moodie.android.presentation.more.MoreFragment.setupViews(MoreFragment.java)
    at com.moodie.android.presentation.more.MoreFragment.onViewCreated(MoreFragment.java)
    at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(FragmentManagerImpl.java)
                                                  shouldRunOnHWLayer(FragmentManagerImpl.java)
                                                  throwException(FragmentManagerImpl.java)
                                                  beginTransaction(FragmentManagerImpl.java)
                                                  popBackStack(FragmentManagerImpl.java)
                                                  popBackStackImmediate(FragmentManagerImpl.java)
                                                  addOnBackStackChangedListener(FragmentManagerImpl.java)
                                                  putFragment(FragmentManagerImpl.java)
                                                  getFragment(FragmentManagerImpl.java)
                                                  saveFragmentInstanceState(FragmentManagerImpl.java)
                                                  dump(FragmentManagerImpl.java)
                                                  makeOpenCloseAnimation(FragmentManagerImpl.java)
                                                  makeFadeAnimation(FragmentManagerImpl.java)
                                                  loadAnimation(FragmentManagerImpl.java)
                                                  getAnimationListener(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  animateRemoveFragment(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  addFragment(FragmentManagerImpl.java)
                                                  findFragmentById(FragmentManagerImpl.java)
                                                  findFragmentByTag(FragmentManagerImpl.java)
                                                  enqueueAction(FragmentManagerImpl.java)
                                                  allocBackStackIndex(FragmentManagerImpl.java)
                                                  setBackStackIndex(FragmentManagerImpl.java)
                                                  executePostponedTransaction(FragmentManagerImpl.java)
                                                  executeOpsTogether(FragmentManagerImpl.java)
                                                  makeRemovedFragmentsInvisible(FragmentManagerImpl.java)
                                                  postponePostponableTransactions(FragmentManagerImpl.java)
                                                  completeExecute(FragmentManagerImpl.java)
                                                  popBackStackState(FragmentManagerImpl.java)
                                                  setRetaining(FragmentManagerImpl.java)
                                                  restoreAllState(FragmentManagerImpl.java)
                                                  attachController(FragmentManagerImpl.java)
                                                  dispatchMultiWindowModeChanged(FragmentManagerImpl.java)
                                                  dispatchConfigurationChanged(FragmentManagerImpl.java)
                                                  dispatchCreateOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchPrepareOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchOptionsItemSelected(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewCreated(FragmentManagerImpl.java)
                                                  access$500(FragmentManagerImpl.java)
                                                  access$600(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java)
                                                  execPendingActions(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewDestroyed(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(FragmentManagerImpl.java)
                                                  shouldRunOnHWLayer(FragmentManagerImpl.java)
                                                  throwException(FragmentManagerImpl.java)
                                                  beginTransaction(FragmentManagerImpl.java)
                                                  popBackStack(FragmentManagerImpl.java)
                                                  popBackStackImmediate(FragmentManagerImpl.java)
                                                  addOnBackStackChangedListener(FragmentManagerImpl.java)
                                                  putFragment(FragmentManagerImpl.java)
                                                  getFragment(FragmentManagerImpl.java)
                                                  saveFragmentInstanceState(FragmentManagerImpl.java)
                                                  dump(FragmentManagerImpl.java)
                                                  makeOpenCloseAnimation(FragmentManagerImpl.java)
                                                  makeFadeAnimation(FragmentManagerImpl.java)
                                                  loadAnimation(FragmentManagerImpl.java)
                                                  getAnimationListener(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  animateRemoveFragment(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  addFragment(FragmentManagerImpl.java)
                                                  findFragmentById(FragmentManagerImpl.java)
                                                  findFragmentByTag(FragmentManagerImpl.java)
                                                  enqueueAction(FragmentManagerImpl.java)
                                                  allocBackStackIndex(FragmentManagerImpl.java)
                                                  setBackStackIndex(FragmentManagerImpl.java)
                                                  executePostponedTransaction(FragmentManagerImpl.java)
                                                  executeOpsTogether(FragmentManagerImpl.java)
                                                  makeRemovedFragmentsInvisible(FragmentManagerImpl.java)
                                                  postponePostponableTransactions(FragmentManagerImpl.java)
                                                  completeExecute(FragmentManagerImpl.java)
                                                  popBackStackState(FragmentManagerImpl.java)
                                                  setRetaining(FragmentManagerImpl.java)
                                                  restoreAllState(FragmentManagerImpl.java)
                                                  attachController(FragmentManagerImpl.java)
                                                  dispatchMultiWindowModeChanged(FragmentManagerImpl.java)
                                                  dispatchConfigurationChanged(FragmentManagerImpl.java)
                                                  dispatchCreateOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchPrepareOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchOptionsItemSelected(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewCreated(FragmentManagerImpl.java)
                                                  access$500(FragmentManagerImpl.java)
                                                  access$600(FragmentManagerImpl.java)
    at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java)
    at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManagerImpl.java)
                                                  performPendingDeferredStart(FragmentManagerImpl.java)
                                                  setHWLayerAnimListenerIfAlpha(FragmentManagerImpl.java)
                                                  isStateAtLeast(FragmentManagerImpl.java)
                                                  findFragmentByWho(FragmentManagerImpl.java)
                                                  execSingleAction(FragmentManagerImpl.java)
                                                  removeRedundantOperationsAndExecute(FragmentManagerImpl.java)
                                                  executeOps(FragmentManagerImpl.java)
                                                  addAddedFragments(FragmentManagerImpl.java)
                                                  addBackStackState(FragmentManagerImpl.java)
                                                  dispatchPictureInPictureModeChanged(FragmentManagerImpl.java)
                                                  dispatchContextItemSelected(FragmentManagerImpl.java)
                                                  dispatchOptionsMenuClosed(FragmentManagerImpl.java)
                                                  dispatchOnFragmentAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentStarted(FragmentManagerImpl.java)
                                                  transitToStyleIndex(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(FragmentManagerImpl.java)
                                                  shouldRunOnHWLayer(FragmentManagerImpl.java)
                                                  throwException(FragmentManagerImpl.java)
                                                  beginTransaction(FragmentManagerImpl.java)
                                                  popBackStack(FragmentManagerImpl.java)
                                                  popBackStackImmediate(FragmentManagerImpl.java)
                                                  addOnBackStackChangedListener(FragmentManagerImpl.java)
                                                  putFragment(FragmentManagerImpl.java)
                                                  getFragment(FragmentManagerImpl.java)
                                                  saveFragmentInstanceState(FragmentManagerImpl.java)
                                                  dump(FragmentManagerImpl.java)
                                                  makeOpenCloseAnimation(FragmentManagerImpl.java)
                                                  makeFadeAnimation(FragmentManagerImpl.java)
                                                  loadAnimation(FragmentManagerImpl.java)
                                                  getAnimationListener(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  animateRemoveFragment(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  addFragment(FragmentManagerImpl.java)
                                                  findFragmentById(FragmentManagerImpl.java)
                                                  findFragmentByTag(FragmentManagerImpl.java)
                                                  enqueueAction(FragmentManagerImpl.java)
                                                  allocBackStackIndex(FragmentManagerImpl.java)
                                                  setBackStackIndex(FragmentManagerImpl.java)
                                                  executePostponedTransaction(FragmentManagerImpl.java)
                                                  executeOpsTogether(FragmentManagerImpl.java)
                                                  makeRemovedFragmentsInvisible(FragmentManagerImpl.java)
                                                  postponePostponableTransactions(FragmentManagerImpl.java)
                                                  completeExecute(FragmentManagerImpl.java)
                                                  popBackStackState(FragmentManagerImpl.java)
                                                  setRetaining(FragmentManagerImpl.java)
                                                  restoreAllState(FragmentManagerImpl.java)
                                                  attachController(FragmentManagerImpl.java)
                                                  dispatchMultiWindowModeChanged(FragmentManagerImpl.java)
                                                  dispatchConfigurationChanged(FragmentManagerImpl.java)
                                                  dispatchCreateOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchPrepareOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchOptionsItemSelected(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewCreated(FragmentManagerImpl.java)
                                                  access$500(FragmentManagerImpl.java)
                                                  access$600(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManagerImpl.java)
                                                  performPendingDeferredStart(FragmentManagerImpl.java)
                                                  setHWLayerAnimListenerIfAlpha(FragmentManagerImpl.java)
                                                  isStateAtLeast(FragmentManagerImpl.java)
                                                  findFragmentByWho(FragmentManagerImpl.java)
                                                  execSingleAction(FragmentManagerImpl.java)
                                                  removeRedundantOperationsAndExecute(FragmentManagerImpl.java)
                                                  executeOps(FragmentManagerImpl.java)
                                                  addAddedFragments(FragmentManagerImpl.java)
                                                  addBackStackState(FragmentManagerImpl.java)
                                                  dispatchPictureInPictureModeChanged(FragmentManagerImpl.java)
                                                  dispatchContextItemSelected(FragmentManagerImpl.java)
                                                  dispatchOptionsMenuClosed(FragmentManagerImpl.java)
                                                  dispatchOnFragmentAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentStarted(FragmentManagerImpl.java)
                                                  transitToStyleIndex(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java)
                                                  execPendingActions(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewDestroyed(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.completeShowHideFragment(FragmentManagerImpl.java)
                                                  startPendingDeferredFragments(FragmentManagerImpl.java)
                                                  dispatchStateChange(FragmentManagerImpl.java)
                                                  dispatchOnFragmentStopped(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.saveFragmentViewState(FragmentManagerImpl.java)
                                                  dispatchActivityCreated(FragmentManagerImpl.java)
    at android.support.v4.app.Fragment.performActivityCreated(Fragment.java)
    at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(FragmentManagerImpl.java)
                                                  shouldRunOnHWLayer(FragmentManagerImpl.java)
                                                  throwException(FragmentManagerImpl.java)
                                                  beginTransaction(FragmentManagerImpl.java)
                                                  popBackStack(FragmentManagerImpl.java)
                                                  popBackStackImmediate(FragmentManagerImpl.java)
                                                  addOnBackStackChangedListener(FragmentManagerImpl.java)
                                                  putFragment(FragmentManagerImpl.java)
                                                  getFragment(FragmentManagerImpl.java)
                                                  saveFragmentInstanceState(FragmentManagerImpl.java)
                                                  dump(FragmentManagerImpl.java)
                                                  makeOpenCloseAnimation(FragmentManagerImpl.java)
                                                  makeFadeAnimation(FragmentManagerImpl.java)
                                                  loadAnimation(FragmentManagerImpl.java)
                                                  getAnimationListener(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  animateRemoveFragment(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  addFragment(FragmentManagerImpl.java)
                                                  findFragmentById(FragmentManagerImpl.java)
                                                  findFragmentByTag(FragmentManagerImpl.java)
                                                  enqueueAction(FragmentManagerImpl.java)
                                                  allocBackStackIndex(FragmentManagerImpl.java)
                                                  setBackStackIndex(FragmentManagerImpl.java)
                                                  executePostponedTransaction(FragmentManagerImpl.java)
                                                  executeOpsTogether(FragmentManagerImpl.java)
                                                  makeRemovedFragmentsInvisible(FragmentManagerImpl.java)
                                                  postponePostponableTransactions(FragmentManagerImpl.java)
                                                  completeExecute(FragmentManagerImpl.java)
                                                  popBackStackState(FragmentManagerImpl.java)
                                                  setRetaining(FragmentManagerImpl.java)
                                                  restoreAllState(FragmentManagerImpl.java)
                                                  attachController(FragmentManagerImpl.java)
                                                  dispatchMultiWindowModeChanged(FragmentManagerImpl.java)
                                                  dispatchConfigurationChanged(FragmentManagerImpl.java)
                                                  dispatchCreateOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchPrepareOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchOptionsItemSelected(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewCreated(FragmentManagerImpl.java)
                                                  access$500(FragmentManagerImpl.java)
                                                  access$600(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java)
                                                  execPendingActions(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewDestroyed(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(FragmentManagerImpl.java)
                                                  shouldRunOnHWLayer(FragmentManagerImpl.java)
                                                  throwException(FragmentManagerImpl.java)
                                                  beginTransaction(FragmentManagerImpl.java)
                                                  popBackStack(FragmentManagerImpl.java)
                                                  popBackStackImmediate(FragmentManagerImpl.java)
                                                  addOnBackStackChangedListener(FragmentManagerImpl.java)
                                                  putFragment(FragmentManagerImpl.java)
                                                  getFragment(FragmentManagerImpl.java)
                                                  saveFragmentInstanceState(FragmentManagerImpl.java)
                                                  dump(FragmentManagerImpl.java)
                                                  makeOpenCloseAnimation(FragmentManagerImpl.java)
                                                  makeFadeAnimation(FragmentManagerImpl.java)
                                                  loadAnimation(FragmentManagerImpl.java)
                                                  getAnimationListener(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  animateRemoveFragment(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  addFragment(FragmentManagerImpl.java)
                                                  findFragmentById(FragmentManagerImpl.java)
                                                  findFragmentByTag(FragmentManagerImpl.java)
                                                  enqueueAction(FragmentManagerImpl.java)
                                                  allocBackStackIndex(FragmentManagerImpl.java)
                                                  setBackStackIndex(FragmentManagerImpl.java)
                                                  executePostponedTransaction(FragmentManagerImpl.java)
                                                  executeOpsTogether(FragmentManagerImpl.java)
                                                  makeRemovedFragmentsInvisible(FragmentManagerImpl.java)
                                                  postponePostponableTransactions(FragmentManagerImpl.java)
                                                  completeExecute(FragmentManagerImpl.java)
                                                  popBackStackState(FragmentManagerImpl.java)
                                                  setRetaining(FragmentManagerImpl.java)
                                                  restoreAllState(FragmentManagerImpl.java)
                                                  attachController(FragmentManagerImpl.java)
                                                  dispatchMultiWindowModeChanged(FragmentManagerImpl.java)
                                                  dispatchConfigurationChanged(FragmentManagerImpl.java)
                                                  dispatchCreateOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchPrepareOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchOptionsItemSelected(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewCreated(FragmentManagerImpl.java)
                                                  access$500(FragmentManagerImpl.java)
                                                  access$600(FragmentManagerImpl.java)
    at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java)
    at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManagerImpl.java)
                                                  performPendingDeferredStart(FragmentManagerImpl.java)
                                                  setHWLayerAnimListenerIfAlpha(FragmentManagerImpl.java)
                                                  isStateAtLeast(FragmentManagerImpl.java)
                                                  findFragmentByWho(FragmentManagerImpl.java)
                                                  execSingleAction(FragmentManagerImpl.java)
                                                  removeRedundantOperationsAndExecute(FragmentManagerImpl.java)
                                                  executeOps(FragmentManagerImpl.java)
                                                  addAddedFragments(FragmentManagerImpl.java)
                                                  addBackStackState(FragmentManagerImpl.java)
                                                  dispatchPictureInPictureModeChanged(FragmentManagerImpl.java)
                                                  dispatchContextItemSelected(FragmentManagerImpl.java)
                                                  dispatchOptionsMenuClosed(FragmentManagerImpl.java)
                                                  dispatchOnFragmentAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentStarted(FragmentManagerImpl.java)
                                                  transitToStyleIndex(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.modifiesAlpha(FragmentManagerImpl.java)
                                                  shouldRunOnHWLayer(FragmentManagerImpl.java)
                                                  throwException(FragmentManagerImpl.java)
                                                  beginTransaction(FragmentManagerImpl.java)
                                                  popBackStack(FragmentManagerImpl.java)
                                                  popBackStackImmediate(FragmentManagerImpl.java)
                                                  addOnBackStackChangedListener(FragmentManagerImpl.java)
                                                  putFragment(FragmentManagerImpl.java)
                                                  getFragment(FragmentManagerImpl.java)
                                                  saveFragmentInstanceState(FragmentManagerImpl.java)
                                                  dump(FragmentManagerImpl.java)
                                                  makeOpenCloseAnimation(FragmentManagerImpl.java)
                                                  makeFadeAnimation(FragmentManagerImpl.java)
                                                  loadAnimation(FragmentManagerImpl.java)
                                                  getAnimationListener(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  animateRemoveFragment(FragmentManagerImpl.java)
                                                  moveToState(FragmentManagerImpl.java)
                                                  addFragment(FragmentManagerImpl.java)
                                                  findFragmentById(FragmentManagerImpl.java)
                                                  findFragmentByTag(FragmentManagerImpl.java)
                                                  enqueueAction(FragmentManagerImpl.java)
                                                  allocBackStackIndex(FragmentManagerImpl.java)
                                                  setBackStackIndex(FragmentManagerImpl.java)
                                                  executePostponedTransaction(FragmentManagerImpl.java)
                                                  executeOpsTogether(FragmentManagerImpl.java)
                                                  makeRemovedFragmentsInvisible(FragmentManagerImpl.java)
                                                  postponePostponableTransactions(FragmentManagerImpl.java)
                                                  completeExecute(FragmentManagerImpl.java)
                                                  popBackStackState(FragmentManagerImpl.java)
                                                  setRetaining(FragmentManagerImpl.java)
                                                  restoreAllState(FragmentManagerImpl.java)
                                                  attachController(FragmentManagerImpl.java)
                                                  dispatchMultiWindowModeChanged(FragmentManagerImpl.java)
                                                  dispatchConfigurationChanged(FragmentManagerImpl.java)
                                                  dispatchCreateOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchPrepareOptionsMenu(FragmentManagerImpl.java)
                                                  dispatchOptionsItemSelected(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentPreCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewCreated(FragmentManagerImpl.java)
                                                  access$500(FragmentManagerImpl.java)
                                                  access$600(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManagerImpl.java)
                                                  performPendingDeferredStart(FragmentManagerImpl.java)
                                                  setHWLayerAnimListenerIfAlpha(FragmentManagerImpl.java)
                                                  isStateAtLeast(FragmentManagerImpl.java)
                                                  findFragmentByWho(FragmentManagerImpl.java)
                                                  execSingleAction(FragmentManagerImpl.java)
                                                  removeRedundantOperationsAndExecute(FragmentManagerImpl.java)
                                                  executeOps(FragmentManagerImpl.java)
                                                  addAddedFragments(FragmentManagerImpl.java)
                                                  addBackStackState(FragmentManagerImpl.java)
                                                  dispatchPictureInPictureModeChanged(FragmentManagerImpl.java)
                                                  dispatchContextItemSelected(FragmentManagerImpl.java)
                                                  dispatchOptionsMenuClosed(FragmentManagerImpl.java)
                                                  dispatchOnFragmentAttached(FragmentManagerImpl.java)
                                                  dispatchOnFragmentCreated(FragmentManagerImpl.java)
                                                  dispatchOnFragmentStarted(FragmentManagerImpl.java)
                                                  transitToStyleIndex(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java)
                                                  execPendingActions(FragmentManagerImpl.java)
                                                  dispatchOnFragmentViewDestroyed(FragmentManagerImpl.java)
    at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManagerImpl.java)
    at android.os.Handler.handleCallback(Handler.java:751)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:154)
    at android.app.ActivityThread.main(ActivityThread.java:6776)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
Caused by: com.esotericsoftware.kryo.KryoException: Buffer underflow.
Serialization trace:
c (com.moodie.android.domain.entity.q)
mContent (io.paperdb.PaperTable)
    at com.esotericsoftware.kryo.io.Input.require(Input.java)
    at com.esotericsoftware.kryo.io.Input.readAscii_slow(Input.java)
    at com.esotericsoftware.kryo.io.Input.readAscii(Input.java)
    at com.esotericsoftware.kryo.io.Input.readString(Input.java)
    at com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.read(CompatibleFieldSerializer.java)
    at com.esotericsoftware.kryo.Kryo.readObjectOrNull(Kryo.java)
    at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java)
    at com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer.read(CompatibleFieldSerializer.java)
    at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java)
    at com.esotericsoftware.kryo.serializers.ObjectField.read(ObjectField.java)
    at com.esotericsoftware.kryo.serializers.FieldSerializer.read(FieldSerializer.java)
    at com.esotericsoftware.kryo.Kryo.readObject(Kryo.java)
    at io.paperdb.DbStoragePlainFile.readContent(DbStoragePlainFile.java)
ghost commented 6 years ago

Now seems like a duplicate for #4. Any ideas how to fix it?

pilgr commented 6 years ago

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

dixitpanchalytpl commented 2 years ago

I have same issue while app update via Play store app crash. Do anyone have solution ??

ShadowZilot commented 2 years ago

I have same issue while app update via Play store app crash. Do anyone have solution ??

I have same error exatly in release mode