Git Product home page Git Product logo

find-puppy's Issues

java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = com.alexsh3v.findpuppy.game.Cell)

After app loses focus it crashes with this error:

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.alexsh3v.findpuppy, PID: 8341
    java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = com.alexsh3v.findpuppy.game.Cell)
        at android.os.Parcel.writeSerializable(Parcel.java:1717)
        at android.os.Parcel.writeValue(Parcel.java:1665)
        at android.os.Parcel.writeList(Parcel.java:966)
        at android.os.Parcel.writeValue(Parcel.java:1614)
        at android.os.Parcel.writeList(Parcel.java:966)
        at android.os.Parcel.writeValue(Parcel.java:1614)
        at android.os.Parcel.writeList(Parcel.java:966)
        at android.os.Parcel.writeValue(Parcel.java:1614)
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878)
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588)
        at android.os.Bundle.writeToParcel(Bundle.java:1233)
        at android.os.Parcel.writeBundle(Parcel.java:918)
        at android.os.Parcel.writeValue(Parcel.java:1583)
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878)
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588)
        at android.os.Bundle.writeToParcel(Bundle.java:1233)
        at android.os.Parcel.writeBundle(Parcel.java:918)
        at android.os.Parcel.writeValue(Parcel.java:1583)
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878)
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588)
        at android.os.Bundle.writeToParcel(Bundle.java:1233)
        at android.os.Parcel.writeBundle(Parcel.java:918)
        at android.os.Parcel.writeValue(Parcel.java:1583)
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878)
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588)
        at android.os.Bundle.writeToParcel(Bundle.java:1233)
        at android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:3914)
        at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:144)
        at android.os.Handler.handleCallback(Handler.java:873)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:201)
        at android.app.ActivityThread.main(ActivityThread.java:6806)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
     Caused by: java.io.NotSerializableException: kotlinx.coroutines.flow.StateFlowImpl
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240)
        at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1604)
        at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1565)
        at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1488)
        at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
        at android.os.Parcel.writeSerializable(Parcel.java:1712)
        at android.os.Parcel.writeValue(Parcel.java:1665) 
        at android.os.Parcel.writeList(Parcel.java:966) 
        at android.os.Parcel.writeValue(Parcel.java:1614) 
        at android.os.Parcel.writeList(Parcel.java:966) 
        at android.os.Parcel.writeValue(Parcel.java:1614) 
        at android.os.Parcel.writeList(Parcel.java:966) 
        at android.os.Parcel.writeValue(Parcel.java:1614) 
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878) 
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588) 
        at android.os.Bundle.writeToParcel(Bundle.java:1233) 
        at android.os.Parcel.writeBundle(Parcel.java:918) 
        at android.os.Parcel.writeValue(Parcel.java:1583) 
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878) 
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588) 
        at android.os.Bundle.writeToParcel(Bundle.java:1233) 
        at android.os.Parcel.writeBundle(Parcel.java:918) 
        at android.os.Parcel.writeValue(Parcel.java:1583) 
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878) 
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588) 
        at android.os.Bundle.writeToParcel(Bundle.java:1233) 
        at android.os.Parcel.writeBundle(Parcel.java:918) 
        at android.os.Parcel.writeValue(Parcel.java:1583) 
        at android.os.Parcel.writeArrayMapInternal(Parcel.java:878) 
        at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1588) 
        at android.os.Bundle.writeToParcel(Bundle.java:1233) 
        at android.app.IActivityManager$Stub$Proxy.activityStopped(IActivityManager.java:3914) 
        at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:144) 
        at android.os.Handler.handleCallback(Handler.java:873) 
        at android.os.Handler.dispatchMessage(Handler.java:99) 
        at android.os.Looper.loop(Looper.java:201) 
        at android.app.ActivityThread.main(ActivityThread.java:6806) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873) 
I/Process: Sending signal. PID: 8341 SIG: 9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.