java.lang.RuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Allen Yeung,
  • 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}
    via by Allen Yeung,
  • Android: put Message to Bundle
    via Stack Overflow by Ov3r1oad
    ,
    • java.lang.RuntimeException: Can't marshal non-Parcelable objects across processes. at android.os.Message.writeToParcel(Message.java:428) at android.os.IMessenger$Stub$Proxy.send(IMessenger.java:84) at android.os.Messenger.send(Messenger.java:50)

    Users with the same issue

    Ranjana Dangol
    7 times, last one,