Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5286] Anrdoid: Can't marshal objects across processes.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2017-06-07T20:40:56.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterAllen Yeung
AssigneeIngo Muschenetz
Created2011-09-14T10:42:38.000+0000
Updated2017-06-07T20:40:56.000+0000

Description

This happens when I constantly switch back and forth between the main page, and the events page of the attached app. Steps to reproduce: Step 1: download and run the attached project Step 2: click the "Events" button Step 3: click the back button Step 4: repeat Steps 2 & 3 until you see the app crash (this may take 15+ tries) If you look at the crash log with adb log, you will see something like:
E/TiBaseActivity(19661): java.lang.RuntimeException: Can't marshal objects across processes.
E/TiBaseActivity(19661): 	at android.os.Message.writeToParcel(Message.java:387)
E/TiBaseActivity(19661): 	at android.os.IMessenger$Stub$Proxy.send(IMessenger.java:84)
E/TiBaseActivity(19661): 	at android.os.Messenger.send(Messenger.java:50)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiBaseActivity.handleSendMessage(TiBaseActivity.java:370)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiBaseActivity$2.run(TiBaseActivity.java:361)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiMessageQueue.handleMessage(TiMessageQueue.java:219)
E/TiBaseActivity(19661): 	at android.os.Handler.dispatchMessage(Handler.java:95)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiMessageQueue.sendMessage(TiMessageQueue.java:120)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiMessageQueue.post(TiMessageQueue.java:236)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiBaseActivity.sendMessage(TiBaseActivity.java:358)
E/TiBaseActivity(19661): 	at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:329)
E/TiBaseActivity(19661): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/TiBaseActivity(19661): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)
E/TiBaseActivity(19661): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2621)
E/TiBaseActivity(19661): 	at android.app.ActivityThread.access$2200(ActivityThread.java:126)
E/TiBaseActivity(19661): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
E/TiBaseActivity(19661): 	at android.os.Handler.dispatchMessage(Handler.java:99)
E/TiBaseActivity(19661): 	at android.os.Looper.loop(Looper.java:123)
E/TiBaseActivity(19661): 	at android.app.ActivityThread.main(ActivityThread.java:4595)
E/TiBaseActivity(19661): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/TiBaseActivity(19661): 	at java.lang.reflect.Method.invoke(Method.java:521)
E/TiBaseActivity(19661): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/TiBaseActivity(19661): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/TiBaseActivity(19661): 	at dalvik.system.NativeStart.main(Native Method)

Attachments

FileDateSize
Test2.zip2011-09-14T10:42:38.000+00004437295

Comments

  1. Lee Morris 2017-06-07

    Closing ticket due to time passed and lack of progress in the past 5 years.

JSON Source