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

Parcel unmarshalling error #633

Closed
mvysny opened this issue Mar 4, 2016 · 1 comment
Closed

Parcel unmarshalling error #633

mvysny opened this issue Mar 4, 2016 · 1 comment
Labels
bug

Comments

@mvysny
Copy link
Owner

@mvysny mvysny commented Mar 4, 2016

java.lang.RuntimeException: Unable to start activity ComponentInfo{sk.baka.aedict3/sk.baka.aedict3.EdictEntryDetailActivity}: java.lang.RuntimeException: Parcel android.os.Parcel@2b0a6805: Unmarshalling unknown type code 3801188 at offset 1732
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2814)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2879)
at android.app.ActivityThread.access$900(ActivityThread.java:182)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1475)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6141)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
Caused by: java.lang.RuntimeException: Parcel android.os.Parcel@2b0a6805: Unmarshalling unknown type code 3801188 at offset 1732
at android.os.Parcel.readValue(Parcel.java:2222)
at android.os.Parcel.readArrayMapInternal(Parcel.java:2479)
at android.os.BaseBundle.unparcel(BaseBundle.java:221)
at android.os.Bundle.getSparseParcelableArray(Bundle.java:871)
at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2255)
at android.app.Activity.onRestoreInstanceState(Activity.java:1097)
at android.app.Activity.performRestoreInstanceState(Activity.java:1042)
at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1175)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2787)
... 10 more

@mvysny mvysny added the bug label Mar 4, 2016
@mvysny
Copy link
Owner Author

@mvysny mvysny commented Mar 4, 2016

Removed any trace of Parcelable from my code. Hard to debug, unpredictable, and only slight performance increase: http://stackoverflow.com/questions/19672772/parcel-unmarshalling-unknown-type-code
Fixed in Aedict 3.39.9

@mvysny mvysny closed this Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.