{ "id": "150745", "key": "TIMOB-19416", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-08-27T16:08:27.000+0000", "created": "2015-08-27T00:34:16.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.0.0", "regression" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-09T10:34:02.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": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "*Note: This is a regression. This issue is not seen with cloud module 3.2.8.*\r\n\r\nh5.Steps To Reproduce:\r\n1. Create a default classic app.\r\n2. Build for windows device/emulator with cloud module 3.2.9.\r\n3. Let the app launch.\r\n\r\nh5.Actual Results:\r\n1. We get application error:\r\n{code}\r\n-- Start application log -----------------------------------------------------\r\n[ERROR] : Application Error: {\r\n[ERROR] : \"line\": 2,\r\n[ERROR] : \"column\": 10,\r\n[ERROR] : \"message\": \"Error while require(/app) null is not an object\",\r\n[ERROR] : \"native_stack\": [\r\n[ERROR] : \"JSExportClass::CallNamedFunction\"\r\n[ERROR] : ]\r\n[ERROR] : }\r\n[INFO] : Finished launching the application\r\n[INFO] : Waiting for app to connect to log relay\r\n{code}\r\n2. Removing the ACS injected code while creation, we don't see this issue.\r\n3. Might be this caused this issue: https://github.com/appcelerator-modules/ti.cloud/commit/19977e7570cbf50a27a679d3711c026f15d8825f\r\n\r\nh5.Expected Results:\r\n1. The classic app should launch without any application errors.", "attachment": [], "flagged": false, "summary": "Windows: Classic app throws application error \"error while require(/app)\" when cloud module 3.2.9 is used", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio: 5.0.0.201508251028\r\nTi SDK: 5.0.0.v20150826144420\r\nTi CLI: 4.1.5\r\nAlloy: 1.7.5\r\nWindows: 8.1 Enterprise 64-bit\r\nAPPC NPM: 4.2.0-1\r\nAPPC CLI: 5.0.0-23\r\nCloud Module: 3.2.9\r\nNode : v0.10.37\r\nDevice: Nokia Lumia 928 - Windows Phone 8.1\r\nWindows emulator : 8.1", "closedSprints": [ { "id": 482, "state": "closed", "name": "2015 Sprint 17 Windows", "startDate": "2015-08-15T04:01:00.000Z", "endDate": "2015-08-29T03:59:00.000Z", "completeDate": "2015-08-28T13:51:24.221Z", "originBoardId": 144 } ], "comment": { "comments": [ { "id": "361358", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/420", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-08-27T02:39:56.000+0000", "updated": "2015-08-27T02:39:56.000+0000" }, { "id": "362114", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nWindows 8.1\r\nAppc CLI Core: 5.0.0-33\r\nAppc CLI NPM: 4.2.0-1\r\nTitanium SDK: 5.0.0.v20150902095518\r\nNokia Lumia 930 8.1\r\n\r\nWhen setting securityManager to null the app no longer crashes.\r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-09-02T23:44:43.000+0000", "updated": "2015-09-02T23:44:43.000+0000" }, { "id": "379318", "author": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "body": "Hi\r\n\r\nI seem to have the same problem running latest module 2.9.10 ??\r\n\r\nIf I include some API calls which actually do not call the cloud but just http / https then I get this error, do I need to set the security manager some how ?\r\n\r\nThanks", "updateAuthor": { "name": "buder", "key": "buder", "displayName": "Jörgen Buder", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-03-09T10:34:02.000+0000", "updated": "2016-03-09T10:34:02.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }