{ "id": "123514", "key": "TIMOB-15936", "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": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15717", "description": "2013 Sprint 25 Core", "name": "2013 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-11T00:58:45.000+0000", "created": "2013-12-10T01:45:04.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "module_build", "qe-testadded", "triage" ], "versions": [], "issuelinks": [ { "id": "33674", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "122872", "key": "TIMOB-15821", "fields": { "summary": "Android: Unable to access files in Resources folder", "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": "33990", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "124178", "key": "TIMOB-16077", "fields": { "summary": "Android: Large amounts of JavaScript breaks encryption process", "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 } } } }, { "id": "33989", "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 } } } } ], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2014-07-29T18:30:24.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": "While compiling for Android with a project that has 1000+ plus files in the resource folder, them build will fail with the following error:\r\n\r\n{code}\r\n[INFO] Writing unsigned apk: /Volumes/Work/clients/tobias_group_time/TEAMWIRE/gt/build/android/bin/app-unsigned.apk\r\n \r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n ^\r\nRangeError: Maximum call stack size exceeded\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Unable to compile APK: RangeError: Maximum call stack size exceeded", "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, "comment": { "comments": [ { "id": "283647", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I was able to reproduce the problem using a project that had 1000 Apache licenses, 1000 Asus video card rebate PDFs, 1000 DJ Shadow MP3s, 2000 Appcelerator logo PNG images, and 1 jquery.js file.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T22:10:13.000+0000", "updated": "2013-12-10T22:10:13.000+0000" }, { "id": "283658", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I'm also able to reproduce this on iOS.\r\n\r\n{code}\r\npath.js:358\r\n return exports.normalize(paths.filter(function(p, index) {\r\n ^\r\nRangeError: Maximum call stack size exceeded\r\n{code}\r\n\r\nMobile Web is fine. Haven't check Blackberry or Tizen.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T22:24:15.000+0000", "updated": "2013-12-10T22:24:41.000+0000" }, { "id": "283686", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5110\n3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5111", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T23:39:46.000+0000", "updated": "2013-12-10T23:39:46.000+0000" }, { "id": "283820", "author": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "body": "Seems to work fine with the 3.2.0.v20131210191510 build.\r\n\r\nThank you :)", "updateAuthor": { "name": "rborn", "key": "rborn", "displayName": "Dan Tamas", "active": true, "timeZone": "Europe/Berlin" }, "created": "2013-12-11T16:23:09.000+0000", "updated": "2013-12-11T16:23:09.000+0000" }, { "id": "284805", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "@Chris - I do not see any test instructions in this ticket. Can you please provide with some test steps or test app with large amount of files in it.", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-17T18:52:17.000+0000", "updated": "2013-12-17T18:52:17.000+0000" }, { "id": "284885", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "To test:\n\n1) create an Android app\n2) add lots of png images and lots of text files spread out across directories in the Resources dir (at least 5 levels deep)\n3) build the app\n\n@Lokesh, I no longer have the test app. [~ayeung] still has the files, so you can get it from him. It's 700MB zipped.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-17T22:26:24.000+0000", "updated": "2013-12-17T22:26:24.000+0000" }, { "id": "284927", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Got it from Allen. Thanks guys. ", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T00:47:21.000+0000", "updated": "2013-12-18T00:47:21.000+0000" }, { "id": "284931", "author": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Ran the test app from Allen. The app builds & launches successfully with out any errors.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppcel Studio : 3.2.0.201312162210\r\nTi SDK : 3.2.0.v20131216191854\r\nMac OSX : 10.8.5\r\nAlloy : 1.3.0-cr2\t\r\nCLI - 3.2.0-cr3\r\nNexus 5 - android 4.4", "updateAuthor": { "name": "lokeshchdhry", "key": "lokeshchdhry", "displayName": "Lokesh Choudhary", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-18T01:02:10.000+0000", "updated": "2013-12-18T01:02:10.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }