{ "id": "125357", "key": "AC-2035", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-02-17T07:41:13.000+0000", "created": "2014-01-24T10:33:11.000+0000", "labels": [ "3.2.0GA", "android", "buildproblem", "longjohn.js", "mobile", "titanium" ], "versions": [], "issuelinks": [ { "id": "34696", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "122831", "key": "TIMOB-15804", "fields": { "summary": "CLI: All commands fail if \"node\" executable is not actually called \"node\"", "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": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:40:59.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": [], "description": "When build a project (command line or using Titanium Studio) there is an error appearing after the apk has been deployed on the Android emulator:\r\n\r\n/usr/local/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:184\r\n throw e;\r\n\r\n(see attached stacktrace)\r\n\r\nI am using node 0.10.25.\r\n\r\nIs there anything that I can check or more info that I require to enter here ?", "attachment": [ { "id": "45358", "filename": "ti_error.txt", "author": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-01-24T10:33:11.000+0000", "size": 8427, "mimeType": "text/plain" }, { "id": "45357", "filename": "ti_info.txt", "author": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-01-24T10:33:11.000+0000", "size": 3484, "mimeType": "text/plain" } ], "flagged": false, "summary": "errors appearing when building a project", "creator": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Linux Mint 15", "comment": { "comments": [ { "id": "289740", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It may be related to TIMOB-15804. Can you please review the description and workaround in this ticket to see if solves your problem?", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-26T02:44:25.000+0000", "updated": "2014-01-26T02:44:25.000+0000" }, { "id": "290582", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as a duplicate of TIMOB-15804. Please let us know if your environment indicates otherwise and we would be happy to reopen the ticket.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-01-31T04:36:13.000+0000", "updated": "2014-01-31T04:36:13.000+0000" }, { "id": "290803", "author": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "body": "I checked the other ticket, updated both TI and sdk to version 3.2.1 but the problem still persist.\n\nI tried also to make a copy of node -> nodejs but this did not change the situation.\n\nIs there any info that I can provide to better identify this issue ?", "updateAuthor": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-02-02T14:09:06.000+0000", "updated": "2014-02-02T14:09:06.000+0000" }, { "id": "290829", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening this ticket based on latest comment from the reporter.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-03T05:11:47.000+0000", "updated": "2014-02-03T05:11:47.000+0000" }, { "id": "290830", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~dawez] I am curious if you also updated Titanium CLI to the latest 3.2.1 version as per the following command:\n\nsudo npm install -g titanium@3.2.1-beta3", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-03T05:18:51.000+0000", "updated": "2014-02-03T05:18:51.000+0000" }, { "id": "291106", "author": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "body": "Yep I did update to 3.2.1-beta3\n\n$ ti --version\n3.2.1-beta3\n\nThe funny thing is that sometimes the debugger is logging is working fine [IE the build process does not crash] but this is happening quite randomly [would say like 10% of the times].\n\nWill also try with another machine this week to see if the problem is due the current setup.\n\n", "updateAuthor": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-02-04T10:50:29.000+0000", "updated": "2014-02-04T10:50:29.000+0000" }, { "id": "292067", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "\"ti build --no-prompt --platform android\" command builds the project and then installs and runs the application on an already running emulator. Your error log indicates a problem with the running Android emulator. Android emulator is notorious and more so on Linux systems. Can you please try the following command that eliminates Android emulator from the equation?\n\nti build --platform android --build-only\n\n", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-09T05:23:43.000+0000", "updated": "2014-02-09T05:23:43.000+0000" }, { "id": "292109", "author": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "body": "So using \"ti build --no-prompt --platform android\" reports no error and everything is compiling fine.\r\n\r\nI am also able to compile + deploy to a physical android device.\r\n\r\nBut the emulator sometimes is able to stay connected to the process and this is really puzzling me...\r\n\r\nI can see the log, after the emulator crashing using:\r\n\r\nadb logcat TiAPI:D *:S\r\n\r\nand this is correctly displaying the logging commands in the code: Ti.API.error(), warn, log and so on.\r\n\r\nIt seems like that something is causing a crash as soon as the application is deployed. \r\n\r\nI still have to try with another machine to see if just a machine specific issue.", "updateAuthor": { "name": "dawez", "key": "dawez", "displayName": "Davide", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-02-09T18:44:51.000+0000", "updated": "2014-02-09T18:52:03.000+0000" }, { "id": "293401", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Resolving this ticket as we cannot reproduce this issue and you have been able to build the project successfully. ADB and Android emulator can be shaky on Linux environments so you may want to kill and restart adb server. We would be happy to reopen the ticket if you run into the same issue on another machine.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-17T07:41:13.000+0000", "updated": "2014-02-17T07:41:13.000+0000" } ], "maxResults": 9, "total": 9, "startAt": 0 } } }