java.io.InvalidClassException: com.justwayward.reader.bean.Recommend$RecommendBooks; Incompatible class (SUID): com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =8246763701377742710L; but expected com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =7451408975579378993L;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by Michael-Cyrus
, 1 year ago
com.justwayward.reader.bean.Recommend$RecommendBooks; Incompatible class (SUID): com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =8246763701377742710L; but expected com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =7451408975579378993L;
via Stack Overflow by LuxuryMode
, 2 years ago
com.luxurymode.pojos.Reminder; Incompatible class (SUID): com.luxurymode.pojos.Reminder: static final long serialVersionUID =4209360273818925922L; but expected com.luxurymode.pojos.Reminder: static final long serialVersionUID =1L;
via GitHub by Michael-Cyrus
, 1 year ago
com.justwayward.reader.bean.Recommend$RecommendBooks; Incompatible class (SUID): com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =8246763701377742710L; but expected com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =7451408975579378993L;
via Stack Overflow by UMESH0492
, 1 year ago
com.frainz.android.job.PoolingJob; Incompatible class (SUID): com.frainz.android.job.PoolingJob: static final long serialVersionUID =-2257009061427367432L; but expected com.frainz.android.job.PoolingJob: static final long serialVersionUID =6135509071025195348L;
via Stack Overflow by Snake
, 2 years ago
com.testGame.scoreCard; Incompatible class (SUID): com.testGame.scoreCard: static final long serialVersionUID =-5895378336422852901L; but expected com.testGame.scoreCard: static final long serialVersionUID =0L;
via Stack Overflow by Unknown author, 2 years ago
cu; Incompatible class (SUID): cu: static final long serialVersionUID =6593847879518920343L; but expected cu: static final long serialVersionUID =0L;
java.io.InvalidClassException: com.justwayward.reader.bean.Recommend$RecommendBooks; Incompatible class (SUID): com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =8246763701377742710L; but expected com.justwayward.reader.bean.Recommend$RecommendBooks: static final long serialVersionUID =7451408975579378993L;
at java.io.ObjectInputStream.verifyAndInit(ObjectInputStream.java:2380)
at java.io.ObjectInputStream.readNewClassDesc(ObjectInputStream.java:1662)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:683)
at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1803)
at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2003)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1960)
at java.util.ArrayList.readObject(ArrayList.java:657)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at java.io.ObjectInputStream.readObjectForClass(ObjectInputStream.java:1354)
at java.io.ObjectInputStream.readHierarchy(ObjectInputStream.java:1266)
at java.io.ObjectInputStream.readNewObject(ObjectInputStream.java:1855)
at java.io.ObjectInputStream.readNonPrimitiveContent(ObjectInputStream.java:787)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:2003)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:1960)
at com.justwayward.reader.utils.ACache.getAsObject(ACache.java:469)
at com.justwayward.reader.manager.CollectionsManager.getCollectionList(CollectionsManager.java:54)
at com.justwayward.reader.manager.CollectionsManager.isCollected(CollectionsManager.java:104)
at com.justwayward.reader.ui.activity.ReadActivity.onKeyDown(ReadActivity.java:663)
at android.view.KeyEvent.dispatch(KeyEvent.java:2609)
at android.support.v7.app.AppCompatActivity.dispatchKeyEvent(AppCompatActivity.java:534)
at android.support.v7.view.WindowCallbackWrapper.dispatchKeyEvent(WindowCallbackWrapper.java:50)
at android.view.ViewRootImpl.deliverKeyEventPostIme(ViewRootImpl.java:3660)
at android.view.ViewRootImpl.handleImeFinishedEvent(ViewRootImpl.java:3630)
at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:2871)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4819)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)

Users with the same issue

3 times, 1 year ago
2 times, 1 year ago
3 times, 1 year ago
4 times, 1 year ago
Once, 1 year ago
45 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.