{ "id": "103700", "key": "TIMOB-11547", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-10-31T00:50:42.000+0000", "created": "2012-10-20T01:56:30.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "14162", "description": "Release 3.1.0", "name": "Release 3.1.0", "archived": true, "released": true, "releaseDate": "2013-04-16" } ], "issuelinks": [ { "id": "22417", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "103664", "key": "TIMOB-11540", "fields": { "summary": "iOS:Tableviewrow: Unrecognised selector being reported by ti_query.js", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "vduggal", "key": "vduggal", "displayName": "Vishal Duggal", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:18:48.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Passing null in the fireEvent throws error. It works fine Ti SDK 2.1.3.GA \r\n[ERROR] Script Error = -[NSNull objectForKey:]: unrecognized selector sent to instance 0x3680678\r\nh4. Repo Steps\r\n1. Run the below code in app.js \r\n2. Click the button and you'll get an error\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tlayout : \"vertical\",\r\n\tbackgroundColor : \"#fff\"\r\n}), v = Ti.UI.createView({}), b = Ti.UI.createButton({\r\n\ttitle : \"Throws an event error?\"\r\n});\r\nb.addEventListener(\"click\", function(e) {\r\n\tv.fireEvent(\"something\", null);\r\n});\r\nwin.add(b);\r\nwin.open(); \r\n{code}", "attachment": [], "flagged": false, "summary": "iOS: Passing null in the fireEvent throws error", "creator": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nsharma", "key": "nsharma", "displayName": "Nikhil Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS6\r\niPhone4 or simulator\r\nTi SDK 3.1.0.v20121019153313", "comment": { "comments": [ { "id": "414078", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:18:48.000+0000", "updated": "2017-03-20T22:18:48.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }