{ "id": "170247", "key": "TIMOB-25487", "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": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-11-08T01:14:22.000+0000", "created": "2017-11-07T21:48:08.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17609", "description": "", "name": "Release 7.0.0", "archived": false, "released": true, "releaseDate": "2017-12-07" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-11-16T00:57:32.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "- Prevent {{null pointer dereference}} when removing proxy pointer\r\n\r\n*TEST CASE*\r\n- View map and navigate back repeatedly until crash\r\n{code:js}\r\nvar MapModule = require('ti.map'),\r\n win = Titanium.UI.createWindow({backgroundColor: 'gray'}),\r\n btn = Ti.UI.createButton({title: 'VIEW MAP'});\r\n \r\nfunction viewMap () {\r\n var win = Ti.UI.createWindow({backgroundColor: 'gray'}),\r\n mapView = MapModule.createView({\r\n userLocation: true,\r\n mapType: MapModule.NORMAL_TYPE,\r\n animate: true,\r\n region: {latitude: -33.87365, longitude: 151.20689, latitudeDelta: 0.1, longitudeDelta: 0.1 }\r\n });\r\n win.add(mapView);\r\n win.open();\r\n}\r\n\r\nbtn.addEventListener('click', function (e) {\r\n\tif (Ti.Geolocation.hasLocationPermissions()) {\r\n viewMap();\r\n } else {\r\n Ti.Geolocation.requestLocationPermissions(function (e) {\r\n if (e.success === true) {\r\n viewMap();\r\n } else {\r\n alert('permissions denied: ' + e.error);\r\n }\r\n });\r\n\t}\r\n});\r\n\r\nwin.add(btn);\r\nwin.open();\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: Prevent kroll from removing null proxy object pointer", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 968, "state": "closed", "name": "2017 Sprint 23 SDK", "startDate": "2017-11-05T16:37:25.071Z", "endDate": "2017-11-19T16:37:00.000Z", "completeDate": "2017-11-20T18:57:56.565Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "430245", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/9587", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-07T21:54:42.000+0000", "updated": "2017-11-07T21:54:42.000+0000" }, { "id": "430767", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.0.0.v20171115153702.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-11-16T00:55:08.000+0000", "updated": "2017-11-16T00:55:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }