Clicking on Settings after adding new count crashes the app

in utopian-io •  7 years ago  (edited)

Githup repo

Expected behavior

I expected the app to open the "Settings" activity successfully without crashing.

Actual behavior

After adding a "NEW COUNT" in the "save" activity, the app crashes when I click on "Settings " from the menu options.

How to reproduce

  • Download the app from play store
  • Launch the app
  • From the plus icon in the toolbar add a project
  • Click on the view icon in the toolbar to view project after adding
  • Select a project
  • In the "save" activity, click on the edit icon inside the toolbar
  • Click on "ADD COUNT "
  • Type in a name for the new count, Click on the menu options icon
  • Click on "Settings "
  • app crashes and exit.
  • Version : Version 2.4.7
  • Device : Gionee A1 lite
  • Operating system : Android 7.0

Recording of the Bug

Logcat

05-25 22:21:25.613 13501-13501/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.knirirr.beecount, PID: 13501
java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = com.knirirr.beecount.widgets.CountEditWidget)
at android.os.Parcel.writeSerializable(Parcel.java:1526)
at android.os.Parcel.writeValue(Parcel.java:1474)
at android.os.Parcel.writeList(Parcel.java:811)
at android.os.Parcel.writeValue(Parcel.java:1423)
at android.os.Parcel.writeArrayMapInternal(Parcel.java:723)
at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1408)
at android.os.Bundle.writeToParcel(Bundle.java:1133)
at android.os.Parcel.writeBundle(Parcel.java:763)
at android.app.ActivityManagerProxy.activityStopped(ActivityManagerNative.java:3752)
at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3867)
at android.os.Handler.handleCallback(Handler.java:836)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6269)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
Caused by: java.io.NotSerializableException: android.support.v7.widget.AppCompatImageButton
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1224)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1584)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1549)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1472)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1218)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
at android.os.Parcel.writeSerializable(Parcel.java:1521)
at android.os.Parcel.writeValue(Parcel.java:1474)
at android.os.Parcel.writeList(Parcel.java:811)
at android.os.Parcel.writeValue(Parcel.java:1423)
at android.os.Parcel.writeArrayMapInternal(Parcel.java:723)
at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1408)
at android.os.Bundle.writeToParcel(Bundle.java:1133)
at android.os.Parcel.writeBundle(Parcel.java:763)
at android.app.ActivityManagerProxy.activityStopped(ActivityManagerNative.java:3752)
at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3867)
at android.os.Handler.handleCallback(Handler.java:836)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6269)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
05-25 22:21:25.745 1607-1618/? E/GED: Failed to execute ioctl 3222824709, BridgeID(5), err(-1)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello the issue can be replicated but it seems that you have not yet had a github account .
For your improvement :

  • now the post title should include the app name and version .
  • it is recommended to submit the issue to github .

Thank you !
Your contribution has been evaluated according to Utopian rules and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post,Click here


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Hey @godwyn
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Contributing on Utopian
Learn how to contribute on our website or by watching this tutorial on Youtube.

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!