{ "id": "124178", "key": "TIMOB-16077", "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": [ { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-03-26T00:00:38.000+0000", "created": "2013-12-24T22:32:48.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "45306", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "143780", "key": "TIMOB-18482", "fields": { "summary": "Android: Build fails when the source code has more than 15K LOC ", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33991", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "124151", "key": "TIMOB-16093", "fields": { "summary": "Android: Failed to encrypt JavaScript files (OS X)", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33990", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "123514", "key": "TIMOB-15936", "fields": { "summary": "Android: Unable to compile APK: RangeError: Maximum call stack size exceeded", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "33992", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "124131", "key": "TIMOB-16073", "fields": { "summary": "Android: Failed to encrypt JavaScript files (Windows)", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-31T22:23:06.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" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "If a project contains a large amount of JavaScript files (total number of bytes, rather than number of files), it will fail during the encryption process.\r\n\r\n[ERROR] : Failed to encrypt JavaScript files\r\n\r\nThis is not a regression.\r\n\r\nTitanium SDK 3.2.0.GA max app.js size is 524,283 bytes.\r\nTitanium SDK 3.1.3.GA max app.js size is 017,688 bytes.\r\n\r\nTest Data:\r\n\r\nTitanium SDK 3.2.0.GA\r\nTest File: app.js.524,290 bytes (attached)\r\napp.js size\r\nPass: 524,283 bytes\r\nFail: 524,290 bytes\r\nLog:\r\n{code}\r\n[ERROR] : Failed to encrypt JavaScript files\r\n[ERROR] : \r\n{code}\r\n\r\nTitanium SDK 3.1.3.GA\r\nTest File: app.js.17,695 bytes (attached)\r\napp.js size\r\nPass: 17,688 bytes\r\nFail: 17,695 bytes\r\nLog:\r\n{code}\r\n[ERROR] Exception occured while building Android project:\r\n[ERROR] Traceback (most recent call last):\r\n[ERROR] File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py\", line 2629, in \r\n[ERROR] builder.build_and_run(True, None, key, password, alias, output_dir)\r\n[ERROR] File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/builder.py\", line 2292, in build_and_run\r\n[ERROR] compiler.compile(compile_bytecode=self.compile_js, external_modules=self.modules)\r\n[ERROR] File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/compiler.py\", line 286, in compile\r\n[ERROR] self.compile_into_bytecode(self.js_files)\r\n[ERROR] File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/compiler.py\", line 201, in compile_into_bytecode\r\n[ERROR] self.compile_javascript(fullpath)\r\n[ERROR] File \"/Users/dhyde/Library/Application Support/Titanium/mobilesdk/osx/3.1.3.GA/android/compiler.py\", line 191, in compile_javascript\r\n[ERROR] sys.stderr.write(\"[ERROR] unrecognized error encountered: \" % se)\r\n[ERROR] TypeError: not all arguments converted during string formatting\r\n[INFO] Running finalize function in com.soasta.touchtest.android plugin\r\n[ERROR] : Build process exited with code 1\r\n[ERROR] : Project failed to build after 2s 988ms\r\n{code}", "attachment": [ { "id": "44868", "filename": "app.js.17,695 bytes", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-30T21:06:27.000+0000", "size": 17695, "mimeType": "application/octet-stream" }, { "id": "44869", "filename": "app.js.524,290 bytes", "author": { "name": "dhyde", "key": "dhyde", "displayName": "Dustin Hyde", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-30T21:06:27.000+0000", "size": 524290, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Android: Large amounts of JavaScript breaks encryption process", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 345, "state": "closed", "name": "2015 Sprint 04 SDK", "startDate": "2015-02-14T01:00:53.297Z", "endDate": "2015-03-01T01:00:00.000Z", "completeDate": "2015-02-28T15:39:43.652Z", "originBoardId": 114 }, { "id": 363, "state": "closed", "name": "2015 Sprint 06 Tooling", "startDate": "2015-03-14T13:52:26.847Z", "endDate": "2015-03-28T00:00:00.000Z", "completeDate": "2015-03-30T16:43:13.950Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "290457", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Hmm, when I tested this, I was able to get up to around 7MB of JavaScript across hundreds of files. I never tested a single large file.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2014-01-30T19:02:34.000+0000", "updated": "2014-01-30T19:02:34.000+0000" }, { "id": "290665", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-31T19:04:26.000+0000", "updated": "2014-01-31T19:42:12.000+0000" }, { "id": "292146", "author": { "name": "xanhast", "key": "xanhast", "displayName": "Zac Moody", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Believe I am having this issue. I'm working on an Alloy project that has a large data migration, project was working fine on Android and iOS *until I added a ~5mb migration file*. Now iOS and Android *emulator* still work, but building for an Android device causes:\r\n\r\n{code}\r\n[ERROR] : Failed to encrypt JavaScript files\r\n[ERROR] : \r\n[ERROR] Application Installer abnormal process termination. Process exit value was 1\r\n{code}\r\n\r\nEnv\r\nbuild 3.2.0.201312191547\r\nCLI version 3.2.0, Titanium SDK version 3.2.0.GA\r\nMax OSX 10.9.1\r\nHTC One, android 4.3\r\n\r\nThis is important for my project so please let me know if there's anything I can do to help.", "updateAuthor": { "name": "xanhast", "key": "xanhast", "displayName": "Zac Moody", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-10T16:45:20.000+0000", "updated": "2014-02-10T16:45:20.000+0000" }, { "id": "292149", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Zac--We are working on this issue and have scheduled it for as soon a release as possible.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-10T16:55:44.000+0000", "updated": "2014-02-10T16:55:44.000+0000" }, { "id": "292890", "author": { "name": "xanhast", "key": "xanhast", "displayName": "Zac Moody", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hi Ingo, will this be released before 3.3? June is a long time away.\r\n\r\nIs there any chance of a patch, or a workaround? Or even just some suggestions.\r\n\r\nThank you for your time and sorry for the pestering", "updateAuthor": { "name": "xanhast", "key": "xanhast", "displayName": "Zac Moody", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-13T10:44:45.000+0000", "updated": "2014-02-13T10:44:45.000+0000" }, { "id": "292933", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Zac, we have it scheduled for the next patch release which is prior to June. If we can fix it before then, we will.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-13T17:10:17.000+0000", "updated": "2014-02-13T17:10:17.000+0000" }, { "id": "306319", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~lchoudhary] Can you please play with the following options and see if that fixes the issues:\r\n\r\n* android.dx.maxMemory - Max memory that the \"dx\" (dexer) command will use. Defaults to \"1024M\".\r\n* android.javac.maxMemory - Defaults to \"256M\".", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-23T21:06:02.000+0000", "updated": "2014-05-23T21:06:02.000+0000" }, { "id": "322729", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "What is the fix to come around this? THIS IS URGENT!!\r\n\r\nMade a big update for iOS and now I cannot continue for Android.\r\nNo problem on iOS, big troubles on Android.\r\n\r\nThis is again a discrepancy between the two major platforms Appcelerator derives its existance from.", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-09-10T06:08:38.000+0000", "updated": "2014-09-10T06:08:38.000+0000" }, { "id": "329317", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Does anybody have a workaround for this? \r\nThis one is putting my project on a hold!", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-10-24T12:58:34.000+0000", "updated": "2014-10-24T12:58:34.000+0000" }, { "id": "342518", "author": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update on this one? It's marked as a duplicate of TIMOB-18482 which is currently stopping me from being able to compile the code... i.e. stopping any updates to the production app. Any workaround / any fix for this?", "updateAuthor": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-09T10:34:18.000+0000", "updated": "2015-02-09T10:34:18.000+0000" }, { "id": "342578", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~john.staunton] This ticket is marked for an upcoming release. If you need additional assistance, please contact the support personel in charge of your account and they can give you a better ETA or escalate it appropriately. Are there pieces of your code base or resource files that you could run through a minifier?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-09T18:17:11.000+0000", "updated": "2015-02-09T18:17:11.000+0000" }, { "id": "342580", "author": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ingo Muschenetz, thanks for the update. I'll contact the support personnel for our account as we need this ASAP - currently I cannot create a production / Android app store build. We've tried using a minifier for parts of our code, and are also using the minifier in Titanium...no change in outcome however.", "updateAuthor": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-09T18:27:40.000+0000", "updated": "2015-02-09T18:27:40.000+0000" }, { "id": "342638", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Simply shift the fix from 3.6 to 4.1?\r\nI am already waiting from october; postponing release of my app because of this.\r\nWhy putting a lot of effort in new releases with new functionality when such bugs are still in which affect existing apps / customers?\r\nPlease provide a decent fix or at least a proper workaround...\r\n", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-02-09T20:36:34.000+0000", "updated": "2015-02-09T20:36:34.000+0000" }, { "id": "342640", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ray@raymondverbruggen.nl] 3.6 became 4.0. As mentioned above, please contact your support representative for assistance with this issue.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-09T20:52:13.000+0000", "updated": "2015-02-09T20:52:13.000+0000" }, { "id": "342761", "author": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So if we translate that to plain-speak: \"we're not going to bother giving you an update and will keep giving ourselves the freedom to shift this issue to any release we so desire. Critical bugs that stop publication of apps are not a priority for us... we'd rather release new functionality\".", "updateAuthor": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-10T10:51:45.000+0000", "updated": "2015-02-10T10:51:45.000+0000" }, { "id": "342768", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~john.staunton] That is not what I said at all. I was merely indicating that the releases are closer than the numbering would suggest. Again, please let me know your salesforce ticket number where you have brought up this issue and I'll escalate it through our support staff.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-10T15:31:56.000+0000", "updated": "2015-02-10T15:31:56.000+0000" }, { "id": "342775", "author": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "In that case, my apologies for the misunderstanding. I cannot raise this issue via support - I've tried several times via the website but it seems that my.appcelerator.com is experiencing some bugs of its own... I get logged out on most screens, occasionally get redirected to staging.appcelerator.com and once received the message \"Your account has been deactivated, locked or expired, please contact your Zuora representative to reactivate\"... so difficult to raise a ticket!", "updateAuthor": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-10T16:31:52.000+0000", "updated": "2015-02-10T16:31:52.000+0000" }, { "id": "342783", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~john.staunton] I wasn't able to reproduce what you were seeing, but we also transitioned away from Zuora quite some time ago. I would suggest logging in to support.appcelerator.com. We can take the rest of this offline.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-10T17:34:44.000+0000", "updated": "2015-02-10T17:34:44.000+0000" }, { "id": "342802", "author": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "body": "[~john.staunton] Can you please let me know your organization and who is your sales representative? I can not find a record in our customers database with your name.", "updateAuthor": { "name": "rtlechuga", "key": "rtlechuga", "displayName": "Radamantis Torres-Lechuga", "active": false, "timeZone": "Asia/Dubai" }, "created": "2015-02-10T18:44:56.000+0000", "updated": "2015-02-10T18:44:56.000+0000" }, { "id": "342898", "author": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ingo, Radamantis, thanks for reaching out - I saw that this issue has now been assigned to a sprint so that's great news! I'll wait for the update / patch coming from that dev work and hopefully that will resolve things. Thanks for your assistance!", "updateAuthor": { "name": "john.staunton", "key": "john.staunton", "displayName": "John Staunton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-02-11T08:27:52.000+0000", "updated": "2015-02-11T08:27:52.000+0000" }, { "id": "348557", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Please please make this fix available in the upcoming release...", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-04-06T07:29:22.000+0000", "updated": "2015-04-06T07:29:22.000+0000" }, { "id": "348604", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "This fix is indeed will be in the 4.0.0.GA release. You can see the updated titanium_prep binaries in GitHub: https://github.com/appcelerator/titanium_mobile/tree/4_0_X/support/android. Note that there were other changes to the binaries that make them incompatible with Titanium SDK 3.X and older. They only work with Titanium SDK 4.0+", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2015-04-06T15:37:36.000+0000", "updated": "2015-04-06T15:37:36.000+0000" }, { "id": "348608", "author": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thank you so much guys! Many thanks!", "updateAuthor": { "name": "ray@raymondverbruggen.nl", "key": "ray@raymondverbruggen.nl", "displayName": "Raymond Verbruggen", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-04-06T17:03:12.000+0000", "updated": "2015-04-06T17:03:12.000+0000" }, { "id": "416593", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed, if there are any problems, please file a new ticket.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-31T22:23:06.000+0000", "updated": "2017-03-31T22:23:06.000+0000" } ], "maxResults": 39, "total": 39, "startAt": 0 } } }