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

Parcelable encountered IOException writing serializable object (name = nz.co.trademe.mapme.googlemaps.GoogleMapMarkerAnnotation) #19

Open
dimasikturbo opened this issue Mar 26, 2018 · 2 comments

Comments

@dimasikturbo
Copy link

Hi there,

I was playing with MapMe and came across strange issue. When a new activity is started from the activity with the map, app crashes with the error:

java.lang.RuntimeException: Parcelable encountered IOException writing serializable object (name = nz.co.trademe.mapme.googlemaps.GoogleMapMarkerAnnotation)

i created this commit to demonstrate it:

dimasikturbo@b6c674c

when "remove" label is clicked the app crashes

@dimasikturbo
Copy link
Author

i figured out what was wrong, when MarkerBottomSheet is visible fragment manager tries to store its state it can't serialize "MapAnnotation" because it is an instance of GoogleMapMarkerAnnotation that can't be serialized as it has BitMap property

@josh-burton
Copy link
Collaborator

Ah, that makes sense. Thanks for reporting this.

Since this is just a bug in the sample app I don't think it's a major issue, but I'll try to get around to fixing this at some point.

Or we're open to pull requests 😄

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

2 participants