{ "id": "170177", "key": "TIMOB-25458", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2017-11-01T17:39:11.000+0000", "created": "2017-10-30T11:42:24.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "actionbar", "android", "regression" ], "versions": [], "issuelinks": [ { "id": "56109", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "170178", "key": "TIMOB-25456", "fields": { "summary": "Android: Crash after calling Stringify on Ti.UI.Window", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-01T17:39:11.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "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.\r\n\r\n\r\n", "attachment": [ { "id": "63504", "filename": "custom_theme.xml", "author": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T11:40:05.000+0000", "size": 910, "mimeType": "text/xml" }, { "id": "63505", "filename": "Screenshot_2017-10-30-17-05-42.png", "author": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T11:39:38.000+0000", "size": 112294, "mimeType": "image/png" }, { "id": "63506", "filename": "TXT.rtf", "author": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-30T11:35:22.000+0000", "size": 2720, "mimeType": "text/rtf" } ], "flagged": false, "summary": "Android ActionBar causes App Crash - Titanium sdk 6.2.2", "creator": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "macOS Sierra 10.12.6, Titanium sdk 6.2.2, android", "comment": { "comments": [ { "id": "429834", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "body": "[~zarirbhesania@gmail.com] Would you be able to provide a code sample that causes the crash?", "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2017-10-30T14:05:07.000+0000", "updated": "2017-10-30T14:05:07.000+0000" }, { "id": "429891", "author": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I figured out the crash. The below lines of code is causing this crash\r\n\r\nTi.Android.currentActivity.setOnStart(function(e){ \r\n require('/utils/Console').info('on start: ' + JSON.stringify(e)); \r\n});\r\n\r\nTi.Android.currentActivity.addEventListener('newintent', function(e) {\r\n require('/utils/Console').info('inside newintent: ' + JSON.stringify(e));\r\n win.open();\r\n});\r\n\r\nThe 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.", "updateAuthor": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-31T07:21:53.000+0000", "updated": "2017-10-31T07:21:53.000+0000" }, { "id": "429895", "author": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "updateAuthor": { "name": "ybanev", "key": "ybanev", "displayName": "Yordan Banev", "active": true, "timeZone": "Europe/Athens" }, "created": "2017-10-31T12:08:07.000+0000", "updated": "2017-10-31T12:08:07.000+0000" }, { "id": "429943", "author": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Yordan Banev Yes its the same issue.", "updateAuthor": { "name": "zarirbhesania@gmail.com", "key": "zarirbhesania@gmail.com", "displayName": "Zarir Bhesania", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-01T07:25:46.000+0000", "updated": "2017-11-01T07:25:46.000+0000" }, { "id": "429962", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closed as duplicate. The fix for [TIMOB-25456] will resolve this issue.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-01T17:39:11.000+0000", "updated": "2017-11-01T17:39:11.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }