{ "id": "166966", "key": "TIMOB-24561", "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": "19333", "description": "Patch release for important items that did not make it into 6.0.3", "name": "Release 6.0.4", "archived": false, "released": true, "releaseDate": "2017-04-27" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-04-11T13:06:44.000+0000", "created": "2017-04-05T23:04:12.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-08T20:45:30.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": "h5. Problem Description:\r\n\r\nWhenever the change event is triggering, the app crashes with error:\r\n\r\nh5. Steps to Reproduce:\r\n\r\n1. Launch sample app (make sure you're online):Files are attached for creating sample Alloy app.\r\n\r\n2. Run the command to launch the ws-local app:\r\n appc ti build -p windows -T ws-local\r\n\r\n3. Turn the internet connection off.\r\n4. Observe crash and error in console.\r\n\r\nh5. Expected Result:\r\nApp should not crash on network event change and should only print event message on console as per the index.js file.\r\n\r\nh5. Actual Results:\r\nBelow Error message generated on console and app is crashing.\r\n\r\n[ERROR] Application Error: \"Runtime Error: unknown exception\"\r\n[ERROR] Error: unknown exception\r\n[ERROR] Application Error: \"This API must be called from a thread with a CoreWindow or a window must have been set explicitly.\"\r\n[ERROR] Error: unknown exception\r\n\r\nh5. Observation: App does not crash when we tried it on Windows 10 Emulator , only logs below exception on console screen:\r\n\r\n[ERROR] Application Error: \"Runtime Error: unknown exception\"\r\n[ERROR] Error: unknown exception", "attachment": [ { "id": "61976", "filename": "index.js", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-04-05T23:04:47.000+0000", "size": 227, "mimeType": "text/javascript" }, { "id": "61975", "filename": "index.tss", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-04-05T23:04:49.000+0000", "size": 155, "mimeType": "application/octet-stream" }, { "id": "61974", "filename": "index.xml", "author": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "created": "2017-04-05T23:04:50.000+0000", "size": 78, "mimeType": "text/xml" } ], "flagged": false, "summary": "UniversalWindowsApp: Ti.Network change event crashes the app", "creator": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "subtasks": [], "reporter": { "name": "nmishra", "key": "nmishra", "displayName": "Neeraj Mishra", "active": true, "timeZone": "America/Phoenix" }, "environment": "Operating System\r\n Name = Microsoft Windows 10 Pro\r\n Version = 10.0.14393\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8476975104\r\n\r\nNode.js\r\n Node.js Version = 4.6.0\r\n npm Version = 2.15.9\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\n\r\nTitanium SDK\r\n SDK Version = 6.0.1.GA\r\n SDK Path = C:\\ProgramData\\Titanium\\mobilesdk\\win32\\6.0.1.GA\r\n Target Platform = windows\r\n", "closedSprints": [ { "id": 883, "state": "closed", "name": "2017 Sprint 09 SDK", "startDate": "2017-04-23T21:46:54.309Z", "endDate": "2017-05-07T21:46:00.000Z", "completeDate": "2017-05-08T00:25:44.276Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "417182", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "https://github.com/appcelerator/titanium_mobile_windows/pull/968", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-04-11T13:06:45.000+0000", "updated": "2017-04-11T13:06:45.000+0000" }, { "id": "417915", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified in: \r\n6.0.4.v20170421153428 \r\n6.1.0.v20170421082637\r\n6.2.0.v20170424071354\r\n\r\nTest cases and other information can be found at:\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/968\r\nhttps://github.com/appcelerator/titanium_mobile_windows/pull/969", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-04-24T16:49:13.000+0000", "updated": "2017-04-24T16:49:13.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }