Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase上报的错误:Fatal Exception: android.os.BadParcelableException -- Caused by java.io.NotSerializableException com.luck.picture.lib.entity.LocalMedia #2935

Open
xiaxinqing opened this issue Sep 2, 2024 · 1 comment

Comments

@xiaxinqing
Copy link

Current use version?

当前使用的版本是多少?

3.11.2

Will this problem occur in demo?

Demo能否复现这问题?

自己无法复现,是Firebase上报的错误

Describe the problem or provide an error log?

描述问题或提供错误log?

android.os.Parcel.writeSerializable (Parcel.java:2907)
android.os.Parcel.writeValue (Parcel.java:2673)
android.os.Parcel.writeValue (Parcel.java:2472)
android.os.Parcel.writeArrayMapInternal (Parcel.java:1336)
android.os.BaseBundle.writeToParcelInner (BaseBundle.java:1844)
android.os.Bundle.writeToParcel (Bundle.java:1390)
android.os.Parcel.writeBundle (Parcel.java:1405)
android.content.Intent.writeToParcel (Intent.java:12194)
android.app.assist.AssistContent.writeToParcelInternal (AssistContent.java:182)
android.app.assist.AssistContent.writeToParcel (AssistContent.java:216)
android.os.Parcel.writeTypedObject (Parcel.java:2313)
android.app.IActivityTaskManager$Stub$Proxy.reportAssistContextExtras (IActivityTaskManager.java:2654)
android.app.ActivityThread.handleRequestAssistContextExtras (ActivityThread.java:4304)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2547)
android.os.Handler.dispatchMessage (Handler.java:107)
android.os.Looper.loopOnce (Looper.java:232)
android.os.Looper.loop (Looper.java:317)
android.app.ActivityThread.main (ActivityThread.java:8592)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878)

java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java:1240)
java.io.ObjectOutputStream.defaultWriteFields (ObjectOutputStream.java:1620)
java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1581)
java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1490)
java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java:1234)
java.io.ObjectOutputStream.writeObject (ObjectOutputStream.java:354)
java.util.ArrayList.writeObject (ArrayList.java:873)
java.lang.reflect.Method.invoke (Method.java)
java.io.ObjectStreamClass.invokeWriteObject (ObjectStreamClass.java:1079)
java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1568)
java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1490)
java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java:1234)
java.io.ObjectOutputStream.defaultWriteFields (ObjectOutputStream.java:1620)
java.io.ObjectOutputStream.writeSerialData (ObjectOutputStream.java:1581)
java.io.ObjectOutputStream.writeOrdinaryObject (ObjectOutputStream.java:1490)
java.io.ObjectOutputStream.writeObject0 (ObjectOutputStream.java:1234)
java.io.ObjectOutputStream.writeObject (ObjectOutputStream.java:354)
android.os.Parcel.writeSerializable (Parcel.java:2902)
android.os.Parcel.writeValue (Parcel.java:2673)
android.os.Parcel.writeValue (Parcel.java:2472)
android.os.Parcel.writeArrayMapInternal (Parcel.java:1336)
android.os.BaseBundle.writeToParcelInner (BaseBundle.java:1844)
android.os.Bundle.writeToParcel (Bundle.java:1390)
android.os.Parcel.writeBundle (Parcel.java:1405)
android.content.Intent.writeToParcel (Intent.java:12194)
android.app.assist.AssistContent.writeToParcelInternal (AssistContent.java:182)
android.app.assist.AssistContent.writeToParcel (AssistContent.java:216)
android.os.Parcel.writeTypedObject (Parcel.java:2313)
android.app.IActivityTaskManager$Stub$Proxy.reportAssistContextExtras (IActivityTaskManager.java:2654)
android.app.ActivityThread.handleRequestAssistContextExtras (ActivityThread.java:4304)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:2547)
android.os.Handler.dispatchMessage (Handler.java:107)
android.os.Looper.loopOnce (Looper.java:232)
android.os.Looper.loop (Looper.java:317)
android.app.ActivityThread.main (ActivityThread.java:8592)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878)
@xiaxinqing xiaxinqing changed the title Firebase上报的错误:Fatal Exception: android.os.BadParcelableException -- Caused by java.io.NotSerializableException Firebase上报的错误:Fatal Exception: android.os.BadParcelableException -- Caused by java.io.NotSerializableException com.luck.picture.lib.entity.LocalMedia Sep 2, 2024
@xiaxinqing
Copy link
Author

image Caused by java.io.NotSerializableException: com.luck.picture.lib.entity.LocalMedia at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1240) 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 java.util.ArrayList.writeObject(ArrayList.java:873) at java.lang.reflect.Method.invoke(Method.java) 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) 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 android.content.Intent.writeToParcel(Intent.java:12194) at android.app.assist.AssistContent.writeToParcelInternal(AssistContent.java:182) at android.app.assist.AssistContent.writeToParcel(AssistContent.java:216) at android.os.Parcel.writeTypedObject(Parcel.java:2313) at android.app.IActivityTaskManager$Stub$Proxy.reportAssistContextExtras(IActivityTaskManager.java:2654) at android.app.ActivityThread.handleRequestAssistContextExtras(ActivityThread.java:4304) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2547) at android.os.Handler.dispatchMessage(Handler.java:107) 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(Method.java) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant