1
回答
android java.io.NotSerializableException
【腾讯云】学生服务器套餐10元/月 >>>   
/ CRASH: co.zuren.rent (pid 8857)

// Short Msg: java.io.NotSerializableException

// Long Msg: java.io.NotSerializableException: android.widget.FrameLayout

// Build Label: Xiaomi/2014011/HM2014011:4.2.2/HM2014011/JHFCNBL27.0:user/release-keys

// Build Changelist: JHFCNBL27.0

// Build Time: 1422850989000

// java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = co.zuren.rent.controller.activity.PublishDateSecondActivity$1)

// at android.os.Parcel.writeSerializable(Parcel.java:1279)

// at android.os.Parcel.writeValue(Parcel.java:1233)

// at android.os.Parcel.writeMapInternal(Parcel.java:591)

// at android.os.Bundle.writeToParcel(Bundle.java:1627)

// at android.os.Parcel.writeBundle(Parcel.java:605)

// at android.support.v4.app.FragmentState.writeToParcel(Fragment.java:132)

// at android.os.Parcel.writeTypedArray(Parcel.java:1102)

// at android.support.v4.app.FragmentManagerState.writeToParcel(FragmentManager.java:374)

// at android.os.Parcel.writeParcelable(Parcel.java:1254)

// at android.os.Parcel.writeValue(Parcel.java:1173)

// at android.os.Parcel.writeMapInternal(Parcel.java:591)

// at android.os.Bundle.writeToParcel(Bundle.java:1627)

// at android.os.Parcel.writeBundle(Parcel.java:605)

// at android.app.ActivityManagerProxy.activityStopped(ActivityManagerNative.java:2308)

// at android.app.ActivityThread$StopInfo.run(ActivityThread.java:3303)

// at android.os.Handler.handleCallback(Handler.java:800)

// at android.os.Handler.dispatchMessage(Handler.java:100)

// at android.os.Looper.loop(Looper.java:194)

// at android.app.ActivityThread.main(ActivityThread.java:5433)

// at java.lang.reflect.Method.invokeNative(Native Method)

// at java.lang.reflect.Method.invoke(Method.java:525)

// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:853)

// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)

// at dalvik.system.NativeStart.main(Native Method)

// Caused by: java.io.NotSerializableException: android.widget.FrameLayout

// at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1364)

// at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1671)

// at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1517)

// at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1481)

// at java.io.ObjectOutputStream.writeFieldValues(ObjectOutputStream.java:979)

// at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:368)

// at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1074)

// at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1404)

// at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1671)

// at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1517)

// at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1481)

// at java.io.ObjectOutputStream.writeFieldValues(ObjectOutputStream.java:979)

// at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:368)

// at java.io.ObjectOutputStream.writeHierarchy(ObjectOutputStream.java:1074)

// at java.io.ObjectOutputStream.writeNewObject(ObjectOutputStream.java:1404)

// at java.io.ObjectOutputStream.writeObjectInternal(ObjectOutputStream.java:1671)

// at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1517)

// at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:1481)

// at android.os.Parcel.writeSerializable(Parcel.java:1274)





PublishDateSecondActivity.java 已经序列化过了,他说FrameLayout是怎么回事?

举报
Reone小卒
发帖于2年前 1回/1K+阅
顶部