{ "id": "168430", "key": "TIMOB-24835", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2019-07-24T18:12:54.000+0000", "created": "2017-06-15T17:50:31.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "reprod" ], "versions": [ { "id": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" }, { "id": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "issuelinks": [], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-07-24T18:12:54.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": [], "description": "h5. Issue Description \r\n\r\nWhen calling logHandledException on the apm module a runtime error occurs.\r\n\r\nIn the attached sample project, click on Hello, World and the runtime error will occur.", "attachment": [ { "id": "62672", "filename": "cbouApmCase (1).zip", "author": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-15T17:50:30.000+0000", "size": 10473199, "mimeType": "application/zip" } ], "flagged": false, "summary": "APM logHandledException causes runtime error on android", "creator": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rramirez", "key": "rramirez", "displayName": " Ricardo Ramirez", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Platform: android\r\nAppc version: 6.2.2\r\nTiSDK version: 6.0.3 and 6.1.0\r\n", "comment": { "comments": [ { "id": "423938", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I am able to reproduce this issue with the following environment;\r\nPixel (7.1)\r\nStudio 4.9.0.201705302345\r\nTi SDK 6.0.3 GA, 6.1.0 GA, 6.1.1 GA\r\nAppc NPM 4.2.9\r\nAppc CLI 6.2.2\r\nTi CLI 5.0.14\r\nAlloy 1.9.11\r\nXcode 8.2 (8C38)\r\nNode v4.8.2\r\nJava 1.8.0_131", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-07-11T18:51:50.000+0000", "updated": "2017-07-11T18:51:50.000+0000" }, { "id": "424181", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~rramirez],\r\n\r\nIn your project, you're passing a dictionary to the apm.logHandledExcpetion() method. But we document that this method requires an \"Error\" parameter...\r\n http://docs.appcelerator.com/platform/latest/#!/api/Modules.Performance-method-logHandledException\r\n\r\nFor example...\r\n\r\n{code:javascript}\r\ntry {\r\n\tthrow new Error(\"My Exception\");\r\n}\r\ncatch (error) {\r\n\tapm.logHandledException(error);\r\n}\r\n{code}\r\n", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-07-14T22:33:57.000+0000", "updated": "2017-07-14T22:33:57.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }