MarcusWolschon / osmeditor4android

Vespucci is a OpenStreetMap editor for Android
http://vespucci.io
Other
381 stars 83 forks source link

Crash in element history dialog #2653

Closed simonpoole closed 2 months ago

simonpoole commented 3 months ago

Crash likely during saving current state in the modal.

Version
20.1.0.5
Kommentar
looked at history of Zentralalpenweg 02, looked at diffs of last change, copied node number.
Stacktrace (Kein Mapping gefunden)
android.os.BadParcelableException: Parcelable encountered IOException writing serializable object (name = me.zed.elementhistorydialog.elements.Relation)
    at android.os.Parcel.writeSerializable(Parcel.java:2907)
    at android.os.Parcel.writeValue(Parcel.java:2673)
    at android.os.Parcel.writeValue(Parcel.java:2472)
    at android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)
    at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)
    at android.os.Bundle.writeToParcel(Bundle.java:1390)
    at android.os.Parcel.writeBundle(Parcel.java:1405)
    at androidx.fragment.app.r0.writeToParcel(SourceFile:48)
    at android.os.Parcel.writeTypedObject(Parcel.java:2313)
    at android.os.Parcel.writeTypedList(Parcel.java:2170)
    at android.os.Parcel.writeTypedList(Parcel.java:2114)
    at androidx.fragment.app.n0.writeToParcel(SourceFile:3)
    at android.os.Parcel.writeParcelable(Parcel.java:2694)
    at android.os.Parcel.writeValue(Parcel.java:2595)
    at android.os.Parcel.writeValue(Parcel.java:2472)
    at android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)
    at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)
    at android.os.Bundle.writeToParcel(Bundle.java:1390)
    at android.os.Parcel.writeBundle(Parcel.java:1405)
    at android.os.Parcel.writeValue(Parcel.java:2589)
    at android.os.Parcel.writeValue(Parcel.java:2479)
    at android.os.Parcel.writeArrayMapInternal(Parcel.java:1336)
    at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1844)
    at android.os.Bundle.writeToParcel(Bundle.java:1390)
    at android.os.Parcel.writeBundle(Parcel.java:1405)
    at android.os.Parcel.writeValue(Parcel.java:2589)
    at android.os.Parcel.writeValue(Parcel.java:2479)
    at android.os.BaseBundle.dumpStats(BaseBundle.java:1918)
    at android.os.BaseBundle.dumpStats(BaseBundle.java:1955)
    at android.app.servertransaction.PendingTransactionActions$StopInfo.collectBundleStates(PendingTransactionActions.java:123)
    at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:139)
    at android.os.Handler.handleCallback(Handler.java:959)
    at android.os.Handler.dispatchMessage(Handler.java:100)
    at android.os.Looper.loopOnce(Looper.java:232)
    at android.os.Looper.loop(Looper.java:317)
    at android.app.ActivityThread.main(ActivityThread.java:8592)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
Caused by: java.io.NotSerializableException: me.zed.elementhistorydialog.elements.a
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
    at java.util.ArrayList.writeObject(ArrayList.java:873)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:1079)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1568)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
    at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1620)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1581)
    at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1490)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1234)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:354)
    at android.os.Parcel.writeSerializable(Parcel.java:2902)
    ... 38 more