{ "id": "162356", "key": "TIMOB-23717", "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": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-04T07:18:38.000+0000", "created": "2016-08-03T13:16:22.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-08-05T23:32:46.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": "5_4_X 5.4.0.v20160802165655\r\n\r\n*CODE*\r\n{code:javascript}\r\nvar win = Ti.UI.createWindow({backgroundColor: 'purple'}),\r\n img = Ti.UI.createImageView({image: 'Logo.png'});\r\n\r\nimg.toImage(function (blob) {\r\n Ti.API.info('success');\r\n});\r\n\r\nwin.add(img);\r\nwin.open();\r\n{code}\r\n\r\n*RESULT*\r\n[ERROR] : Application Error: \"Windows.Graphics.Imaging: One or more pointer arguments are null.\"\r\n[ERROR] : Error: unknown exception\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "Windows: Ti.UI.ImageView.toImage() is executed before an image is loaded", "creator": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zozo4kin", "key": "zozo4kin", "displayName": "Zakhar Zhuravlev", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Nokia Lumia 625", "closedSprints": [ { "id": 685, "state": "closed", "name": "2016 Sprint 16 SDK", "startDate": "2016-07-30T00:40:02.939Z", "endDate": "2016-08-13T00:40:00.000Z", "completeDate": "2016-08-15T08:00:33.056Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "392308", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile_windows/pull/801", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-03T16:43:50.000+0000", "updated": "2016-08-03T16:43:50.000+0000" }, { "id": "392394", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "5_4_X: https://github.com/appcelerator/titanium_mobile_windows/pull/803", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-04T07:18:26.000+0000", "updated": "2016-08-04T07:18:26.000+0000" }, { "id": "392563", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, now receive \"success\" returned in the logs, instead of the error message.\r\n\r\nTested on: \r\nWindows 10 Pro \r\nWindows Phone 10.0 (Microsoft Lumia 640 LTE) \r\nAppc Studio: 4.7.0.201607250649\r\nTi SDK: 5.4.0.v20160804185318\r\nAppc NPM: 4.2.7\r\nAppc Core: 5.4.0-38\r\nNode: v4.4.4\r\n\r\n*Closing Ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-08-05T23:32:35.000+0000", "updated": "2016-08-05T23:32:35.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }