GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2017-11-01T17:39:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | actionbar, android, regression |
Reporter | Zarir Bhesania |
Assignee | Joshua Quick |
Created | 2017-10-30T11:42:24.000+0000 |
Updated | 2017-11-01T17:39:11.000+0000 |
I am trying to build my existing Appcelerator Titanium application using sdk 6.2.2 and it throws the error attached below. I have not used action bar in my application but it still throws this error. I have attached the custom theme that is used which I feel might be causing this error. This app works fine with Titanium sdk 6.1.0.
[~zarirbhesania@gmail.com] Would you be able to provide a code sample that causes the crash?
I figured out the crash. The below lines of code is causing this crash Ti.Android.currentActivity.setOnStart(function(e){ require('/utils/Console').info('on start: ' + JSON.stringify(e)); }); Ti.Android.currentActivity.addEventListener('newintent', function(e) { require('/utils/Console').info('inside newintent: ' + JSON.stringify(e)); win.open(); }); The JSON.stringify statement causes this "serialized[k] = this[k];" error and not the actionBar. Though if you read the error in the console it looks like its something related to actionBar. But still, this used to work with sdk 6.1.0.
@Yordan Banev Yes its the same issue.
Closed as duplicate. The fix for [TIMOB-25456] will resolve this issue.