{ "id": "161119", "key": "MOD-2264", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "10100", "description": "This issue won't be actioned.", "name": "Won't Do" }, "resolutiondate": "2018-10-25T23:54:30.000+0000", "created": "2016-06-16T01:55:00.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "17710", "name": "Release 5.3.0", "archived": false, "released": true, "releaseDate": "2016-06-04" } ], "issuelinks": [], "assignee": null, "updated": "2018-10-25T23:54: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": "14561", "name": "APM" } ], "description": "h6.Reproduce Step:\r\n1. Create new default project with SDK 5.3.0\r\n2. Enable performance service.\r\n3. Add following lines in app.js\r\n{code}\r\nvar apm = require(\"com.appcelerator.apm\");\r\napm.init();\r\n{code}\r\n4. Run the app.\r\n\r\nh6.Problem:\r\nYou will get the following message, not error message, but really confusion. Not sure if apm working well or not.\r\n{code}\r\n-- Start application log -----------------------------------------------------\r\n[DEBUG] : Reading stylesheet from: /var/containers/Bundle/Application/AE1E7101-9F54-4AF2-BC34-21F2146D268C/APMTest.app/stylesheet.plist\r\n[INFO] : APMTest/1.0 (5.3.0.94fa8af)\r\n[DEBUG] : Loading: /var/containers/Bundle/Application/AE1E7101-9F54-4AF2-BC34-21F2146D268C/APMTest.app/app.js, Resource: app_js\r\n[DEBUG] : Loading: /var/containers/Bundle/Application/AE1E7101-9F54-4AF2-BC34-21F2146D268C/APMTest.app/_app_props_.json, Resource: _app_props__json\r\n[DEBUG] : Assigning Exception Handling Delegate...\r\n[DEBUG] : Done\r\n[DEBUG] : Initializing Crittercism '5.2.0' with App ID '8d47ef0a80f24887b7424a43ccc3b09100555300'\r\n[DEBUG] : Crittercism successfully initialized.\r\n[DEBUG] : Crittercism iOS Module initialized.\r\n[INFO] : [object ComAppceleratorApmModule] loaded\r\n[DEBUG] : Loading: /var/containers/Bundle/Application/AE1E7101-9F54-4AF2-BC34-21F2146D268C/APMTest.app/com.appcelerator.apm.js, Resource: com_appcelerator_apm_js\r\n[DEBUG] : Initializing Crittercism '5.2.0' with App ID '(null)'\r\n[DEBUG] : App ID required, Crittercism will not be enabled\r\n[DEBUG] : Application booted in 414.914012 ms\r\n[DEBUG] : Crittercism - net data collection disabled\r\n{code}\r\n\r\nh6.Note\r\nIf you write the apm_id in inti() method like (apm.init(\"8d47ef0a80f24887b7424a43ccc3b09100555300\")), there is no such problem. ", "attachment": [], "flagged": false, "summary": "APM module: init() method can not get apm_id properly", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": "TISDK 5.3.0 and 5.2.2\r\nAPM 1.1.5", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }