{ "id": "153702", "key": "AC-1396", "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": "2016-01-07T05:39:02.000+0000", "created": "2015-12-08T15:48:58.000+0000", "labels": [ "touchid" ], "versions": [ { "id": "17038", "name": "Appcelerator Studio 4.5.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:37:49.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14550", "name": "Appcelerator Modules", "description": "Please enter tickets related to Modules here." } ], "description": "var TiTouchId\t\t= require('ti.touchId');\r\n\r\nTiTouchId.authenticate({\r\n\treason: L('txt_to_proceed_put_finger_on_sensor'),\r\n\tcallback: function(e) {\r\n\t\tif (!e.success) {\r\n\t\t\tTi.API.info('Message: ' + e.error + '\\nCode: ' + e.code);\r\n\t\t\t\r\n\t\t\tswitch(e.code) {\r\n\t\t\t\tcase TiTouchId.ERROR_AUTHENTICATION_FAILED:Ti.API.info('Error code is TiTouchId.ERROR_AUTHENTICATION_FAILED'); break;\r\n\t\t\t\tcase TiTouchId.ERROR_USER_CANCEL: Ti.API.info('Error code is TiTouchId.ERROR_USER_CANCEL'); break;\r\n\t\t\t\tcase TiTouchId.ERROR_USER_FALLBACK: Ti.API.info('Error code is TiTouchId.ERROR_USER_FALLBACK'); break;\r\n\t\t\t\tcase TiTouchId.ERROR_SYSTEM_CANCEL: Ti.API.info('Error code is TiTouchId.ERROR_SYSTEM_CANCEL'); break;\r\n\t\t\t\tcase TiTouchId.ERROR_PASSCODE_NOT_SET: Ti.API.info('Error code is TiTouchId.ERROR_PASSCODE_NOT_SET'); break;\r\n\t\t\t\tcase TiTouchId.ERROR_TOUCH_ID_NOT_AVAILABLE: Ti.API.info('Error code is TiTouchId.ERROR_TOUCH_ID_NOT_AVAILABLE'); break;\r\n\t\t\t\tcase TiTouchId.ERROR_TOUCH_ID_NOT_ENROLLED: Ti.API.info('Error code is TiTouchId.ERROR_TOUCH_ID_NOT_ENROLLED'); break;\r\n\t\t\t\tdefault: Ti.API.info('Error code is unknown'); break;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tTi.API.info(\"Touch id success\");\r\n\r\n\t\t\t//Fails\r\n\t\t\tAlloy.createController(\"mycontroller\").getView().open(); \r\n\t\t\t/* Works\r\n\t\t\t\tsetTimeout(function(){\t\t\t//crashed without settimeout (5.1.1GA)\r\n\t\t\t\t\tAlloy.createController(\"mycontroller\").getView().open(); \r\n\t\t\t\t},1);\r\n\t\t\t*/\r\n\t\t}\r\n\t}\r\n});\r\n\r\n[ERROR] Script Error {\r\n[ERROR] column = 14;\r\n[ERROR] line = 421;\r\n[ERROR] message = \"null is not an object (evaluating 'proxy.id')\";\r\n[ERROR] sourceURL = \"file:///var/mobile/Containers/Bundle/Application/F4DDBD59-6A05-4D2", "attachment": [], "flagged": false, "summary": "ti.touch module crash when callback shhould open a window", "creator": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "5.1.1GA\r\nMAC OS 10.11\r\n\r\niPAD Pro iOS 9.1", "comment": { "comments": [ { "id": "373552", "author": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "body": "Hello,\r\n\r\nWe have tested *\"ti.touch\"* module on following environment. It's working as expected and we didn't reproduce the above error.\r\n\r\n*Testing Environment:*\r\nTitanium SDK: 5.1.1.GA\r\nAppcelerator Command-Line Interface, version 5.1.0\r\nMac OS X: version 10.11.1 \r\niOS device: Simulator iPad Pro(v9.1), iPad mini (v8.1.1)\r\nti.touchId module version: iOS-1.2.1 [Get from Here|https://github.com/appcelerator-modules/ti.touchid/releases]\r\n\r\nThanks.", "updateAuthor": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "created": "2015-12-28T10:22:22.000+0000", "updated": "2015-12-28T10:22:22.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }