Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5825] App restarts with error in log when it is reopened

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2011-11-16T08:33:50.000+0000
Affected Version/sn/a
Fix Version/sSprint 2011-43, Release 1.8.0.1
ComponentsAndroid
Labelsn/a
ReporterAllen Yeung
AssigneeAllen Yeung
Created2011-10-21T09:53:36.000+0000
Updated2011-11-16T08:33:50.000+0000

Description

Open KitchenSink.

Go to Base UI > Views > Web Views > Local URL.

Then cause the app to close. NOT by force-stopping it from Settings > Applications[1], but by opening enough other applications to use up memory. (you may need to open around 4-5 apps)

Now reopen KitchenSink. It will restart.

In logcat, you will get an error like:
E/TiBaseActivity( 1582): java.lang.RuntimeException: Can't marshal non-Parcelable objects across processes.
E/TiBaseActivity( 1582): 	at android.os.Message.writeToParcel(Message.java:428)
E/TiBaseActivity( 1582): 	at android.os.IMessenger$Stub$Proxy.send(IMessenger.java:84)
E/TiBaseActivity( 1582): 	at android.os.Messenger.send(Messenger.java:50)
(Restarting is probably the correct behavior, but we should not be showing these errors in logcat)

Comments

  1. Marshall Culpepper 2011-11-16

    Several of us have had trouble reproducing this issue with the new V8 code, and it looks like this may've just been a fix for a symptom and not the original problem. Closing for now, we can re-open if run into it again. Allen's original pull request is here: https://github.com/appcelerator/titanium_mobile/pull/596

JSON Source