{ "id": "172377", "key": "AC-5950", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2018-12-03T21:30:56.000+0000", "created": "2018-10-01T16:05:45.000+0000", "labels": [ "android", "hyperloop" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2018-12-03T21:40:42.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": "15000", "name": "Hyperloop" } ], "description": "When trying to add PhoneStateListener to get the cell information most listeners work besides {{onCellInfoChanged}}. When I add this I'll end up with:\r\n\r\n_Cannot read property 'apiName' of null_\r\n\r\n{noformat}\r\n\r\n[ERROR] TiExceptionHandler: (main) [51,51] /hyperloop/android.telephony.PhoneStateListener.js:1\r\n[ERROR] TiExceptionHandler: (function (exports, require, module, __filename, __dirname, Titanium, Ti, global, kroll) {var Hyperloop=require('hyperloop'),parentPackage=require('./android.telephony'),PhoneStateListener=function(){var a;a=1==arguments.length&&arguments[0].isNativeProxy&&arguments[0].isInstanceProxy&&arguments[0].isInstanceOf('android.telephony.PhoneStateListener')?arguments[0]:PhoneStateListener.class.newInstance(arguments),this.$native=a,this._hasPointer=null!=a,this._private={}},SuperClass=require('./java.lang.Object');PhoneStateListener.prototype=Object.create(SuperClass.prototype),PhoneStateListener.prototype.constructor=PhoneStateListener,Object.defineProperty(PhoneStateListener.prototype,'super',{get:function(){return this._hasPointer?new PhoneStateListener(this.$native.super):null},enumerable:!0}),PhoneStateListener.className='android.telephony.PhoneStateListener',PhoneStateListener.prototype.className='android.telephony.PhoneStateListener',Object.defineProperty(PhoneStateListener,'class',{get:function(){return Hyperloop.getClass('android.telephony.PhoneStateListener')},enumerable:!0,configurable:!1}),PhoneStateListener.extend=function(a){var b=Hyperloop.extend('android.telephony.PhoneStateListener'),c=function(){function c(a){if(a.apiName&&a.isNativeProxy&&a.isInstanceProxy){var b=require('./'+a.apiName);return new b(a)}return a}function d(){for(var a=[],b=0;b\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n{code}\r\n\r\nHyperloop 3.1.3\r\nTitanium SDK 7.4.0.GA\r\nAndroid 7", "attachment": [], "flagged": false, "summary": "Hyperloop: Android PhoneStateListener apiName returns null", "creator": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "444032", "author": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hello,\r\n\r\nThanks for reporting this. Can you please test this on 7.5.0.GA again and let us know how it goes. It would be helpful if you can share your complete console log and environment details here.", "updateAuthor": { "name": "rmitro", "key": "rmitro", "displayName": "Rakhi Mitro", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2018-11-29T06:12:33.000+0000", "updated": "2018-11-29T06:12:33.000+0000" }, { "id": "444180", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Sorry for the late reply. Yes, with 7.5.0.GA it is the same error message.\r\n\r\nThis is the complete error message:\r\n{code:java}\r\n[ERROR] TiExceptionHandler: (main) [74,74] /hyperloop/android.telephony.PhoneStateListener.js:1\r\n[ERROR] TiExceptionHandler: (function (exports, require, module, __filename, __dirname, Titanium, Ti, global, kroll) {var Hyperloop=require('hyperloop'),parentPackage=require('./android.telephony'),PhoneStateListener=function(){var a;a=1==arguments.length&&arguments[0].isNativeProxy&&arguments[0].isInstanceProxy&&arguments[0].isInstanceOf('android.telephony.PhoneStateListener')?arguments[0]:PhoneStateListener.class.newInstance(arguments),this.$native=a,this._hasPointer=null!=a,this._private={}},SuperClass=require('./java.lang.Object');PhoneStateListener.prototype=Object.create(SuperClass.prototype),PhoneStateListener.prototype.constructor=PhoneStateListener,Object.defineProperty(PhoneStateListener.prototype,'super',{get:function(){return this._hasPointer?new PhoneStateListener(this.$native.super):null},enumerable:!0}),PhoneStateListener.className='android.telephony.PhoneStateListener',PhoneStateListener.prototype.className='android.telephony.PhoneStateListener',Object.defineProperty(PhoneStateListener,'class',{get:function(){return Hyperloop.getClass('android.telephony.PhoneStateListener')},enumerable:!0,configurable:!1}),PhoneStateListener.extend=function(a){var b=Hyperloop.extend('android.telephony.PhoneStateListener'),c=function(){function c(a){if(a.apiName&&a.isNativeProxy&&a.isInstanceProxy){var b=require('./'+a.apiName);return new b(a)}return a}function d(){for(var a=[],b=0;b