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

io.paperdb.PaperDbException #119

Closed
ghost opened this issue Mar 7, 2018 · 6 comments
Closed

io.paperdb.PaperDbException #119

ghost opened this issue Mar 7, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Mar 7, 2018

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
Copy link
Owner

pilgr commented Mar 7, 2018 via email

@ghost
Copy link
Author

ghost commented Mar 8, 2018

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
Copy link
Author

ghost commented Mar 8, 2018

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

@pilgr
Copy link
Owner

pilgr commented Mar 8, 2018

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

@pilgr pilgr closed this as completed Mar 8, 2018
@dixitpanchalytpl
Copy link

dixitpanchalytpl commented Jun 1, 2022

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

@ShadowZilot
Copy link

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

I have same error exatly in release mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants