java.lang.RuntimeException: Can't marshal non-Parcelable objects across processes.

Appcelerator JIRA | Allen Yeung | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Latest milestone crashes while browsing TV shows

    GitHub | 3 years ago | AlBundy33
    java.lang.RuntimeException: Can't marshal non-Parcelable objects across processes.
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    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: {code} 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) {code}

    Appcelerator JIRA | 6 years ago | Allen Yeung
    java.lang.RuntimeException: Can't marshal objects across processes.
  4. 0

    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: {code} 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) {code}

    Appcelerator JIRA | 6 years ago | Allen Yeung
    java.lang.RuntimeException: Can't marshal objects across processes.

  1. Ranjana Dangol 7 times, last 10 months ago

Root Cause Analysis

  1. java.lang.RuntimeException

    Can't marshal non-Parcelable objects across processes.

    at android.os.Message.writeToParcel()
  2. Android Platform
    Messenger.send
    1. android.os.Message.writeToParcel(Message.java:428)
    2. android.os.IMessenger$Stub$Proxy.send(IMessenger.java:84)
    3. android.os.Messenger.send(Messenger.java:50)
    3 frames