{ "id": "169171", "key": "TIMOB-25036", "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": null, "resolutiondate": null, "created": "2017-07-28T19:19:53.000+0000", "priority": null, "labels": [ "RTN", "estimote", "hyperloop", "typeerror" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2020-01-07T23:53:36.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [], "description": "Note: This app uses Estimote BLE location beacons, so you will not be able to reproduce the issue without having one. Because of this, I put detailed comments in the code that explain exactly what is being printed to the console. I have also attached the relevant part of the console log showing the output when index.js is run.\r\n\r\nLink for Estimote documentation showing the classes/methods I am using.\r\nhttp://estimote.github.io/Android-SDK/JavaDocs/\r\n\r\nh3. Actual Result\r\nTypeError: closestBeacon.getMajor() is not a function\r\n\r\nh3. Expected Result\r\nPrints the result of closestBeacon.getMajor()", "attachment": [ { "id": "62939", "filename": ".log", "author": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "created": "2017-07-28T19:20:39.000+0000", "size": 6900668, "mimeType": "text/plain" }, { "id": "62940", "filename": "diagnostic636435691898413069.log", "author": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "created": "2017-07-28T19:20:49.000+0000", "size": 17883, "mimeType": "text/plain" }, { "id": "62941", "filename": "index.js", "author": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "created": "2017-07-28T19:22:33.000+0000", "size": 3776, "mimeType": "application/javascript" }, { "id": "62942", "filename": "relevant console log.txt", "author": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "created": "2017-07-28T20:31:33.000+0000", "size": 1387, "mimeType": "text/plain" }, { "id": "62943", "filename": "sdk-1.0.3.aar", "author": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "created": "2017-07-28T20:34:05.000+0000", "size": 1836345, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "Cannot call class methods on instance of class", "creator": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "mcarney", "key": "mcarney", "displayName": "Matt Carney", "active": true, "timeZone": "America/New_York" }, "environment": "Appcelerator Studio 4.9.0\r\nTitanium SDK 6.1.1GA\r\nJDK 1.8.0_131\r\nAndroid 23, min 14", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }