{ "id": "175299", "key": "AC-6573", "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": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2020-07-21T14:55:41.000+0000", "created": "2020-07-14T18:51:03.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-07-21T14:55:41.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": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14552", "name": "Appcelerator CLI", "description": "Please enter tickets related to Tooling and the CLI here" } ], "description": "Alloy seems broken, I've reinstalled even in a windows 10 pc and got same error as in new test proyect or any other proyect.\r\n\r\n[ERROR] TiExceptionHandler: (main) [117,200] ----- Titanium Javascript Runtime Error ----- \r\n[ERROR] TiExceptionHandler: (main) [0,200] - In /app.js:1,63 \r\n[ERROR] TiExceptionHandler: (main) [0,200] - Message: Uncaught ReferenceError: global is not defined \r\n[ERROR] TiExceptionHandler: (main) [0,200] - Source: var Alloy=require('/alloy'),_=Alloy._,Backbone=Alloy.Backbone;global.Alloy=Alloy,global._=_,global.Backbone=Backbone,Alloy.createController('index'); \r\n[ERROR] V8Exception: Exception occurred at /app.js:1: Uncaught ReferenceError: global is not defined \r\n\r\n !image-2020-07-14-13-48-12-784.png|thumbnail! \r\n", "attachment": [ { "id": "67472", "filename": "image-2020-07-14-13-48-12-784.png", "author": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-14T18:48:12.000+0000", "size": 21215, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy.global not defined", "creator": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Osx Catalina 10.15.5\r\nNodeJS 12\r\nTitanium SDK 7.0.0.GA\r\nAndroid SDK API 23\r\nCLI 5.2.2\r\nAPPC CLI 8.0.0\r\nAlloy 1.14.6 \r\n ", "comment": { "comments": [ { "id": "456095", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "[~knd_rt@hotmail.com] It's possible that this is down to you using SDK 7.0.0.GA (which is out of support now), TIMOB-24404 aligned all our platforms with compatibility on the global object which was fixed in SDK 7.1.0. I think you'll have to either upgrade your SDK version, or downgrade your CLI version", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2020-07-15T09:01:55.000+0000", "updated": "2020-07-15T09:01:55.000+0000" }, { "id": "456099", "author": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thanks for your coments @Ewan Harris, I´ve upgraded SDK version to: 7.1.0.GA But now I face issues with HyperLoop, tried with versions 3.0.3 to 4.0.2.\r\nIs the any specific version I must use with this SDK?.\r\nThis is the error:\r\n [Hyperloop] Generating system metabase \r\n 2020-07-15T13:21:59.091Z | ERROR | An uncaught exception was thrown! \r\n spawn javac ENOENT \r\n 2020-07-15T13:21:59.092Z | ERROR | spawn javac ENOENT \r\n", "updateAuthor": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-15T13:26:20.000+0000", "updated": "2020-07-15T13:26:39.000+0000" }, { "id": "456103", "author": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Upgraded Android build tools to 28.0.3\r\nJava JDK 1.8\r\nTI SDK 7.1.0.GA\r\nHyperloop 3.1.2\r\nI got error in Dexer now:\r\n\r\n[ERROR] Failed to run dexer: \r\n[ERROR] \r\n[ERROR] Exception in thread \"main\" java.lang.RuntimeException: java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-4.1-all.zip \r\n[ERROR] at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78) \r\n[ERROR] at org.gradle.wrapper.Install.createDist(Install.java:47) \r\n[ERROR] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:129) \r\n[ERROR] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) \r\n[ERROR] Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://services.gradle.org/distributions/gradle-4.1-all.zip \r\n[ERROR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900) \r\n[ERROR] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) \r\n[ERROR] at org.gradle.wrapper.Download.downloadInternal(Download.java:59) \r\n[ERROR] at org.gradle.wrapper.Download.download(Download.java:45) \r\n[ERROR] at org.gradle.wrapper.Install$1.call(Install.java:60) \r\n[ERROR] at org.gradle.wrapper.Install$1.call(Install.java:47) \r\n[ERROR] at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65) \r\n[ERROR] ... 3 more \r\n\r\n", "updateAuthor": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-15T18:28:07.000+0000", "updated": "2020-07-15T18:28:07.000+0000" }, { "id": "456104", "author": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Upgraded SDK to 7.5.0.GA and all works again.\r\n\r\n\r\n", "updateAuthor": { "name": "knd_rt@hotmail.com", "key": "knd_rt@hotmail.com", "displayName": "knd_rt@hotmail.com", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-07-15T18:56:30.000+0000", "updated": "2020-07-15T18:56:30.000+0000" }, { "id": "456188", "author": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "body": "You should at least be on 8.2 if you want Apple to accept new updates, recommended is you migrate to 9.x as soon as possible as OS requirements keep getting higher in terms of native SDK built with. ", "updateAuthor": { "name": "topener", "key": "topener", "displayName": "Rene Pot", "active": true, "timeZone": "Europe/Berlin" }, "created": "2020-07-21T14:55:30.000+0000", "updated": "2020-07-21T14:55:30.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }