{ "id": "152025", "key": "TIMOB-19722", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" }, { "id": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-14T04:29:27.000+0000", "created": "2015-10-14T03:28:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "android" ], "versions": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "issuelinks": [ { "id": "49340", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "151487", "key": "TIMOB-19579", "fields": { "summary": "Use the Reveal Effect", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "8", "description": "A technical task.", "name": "Technical task", "subtask": true } } } } ], "assignee": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "updated": "2015-11-20T03:51:39.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": "[~manuellehner] mentions:\r\nThe PR in TIMOB-19579 introduced a bug here https://github.com/appcelerator/titanium_mobile/commit/52808d394be162771f607db916a73f9c44363beb#diff-bec22e2efdd8b352a7754ea42f435dc7R755 as options may be null (see e.g. here ). This results in a NPE", "attachment": [], "flagged": false, "summary": "Android: Use the Reveal Effect has NPE", "creator": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "subtasks": [], "reporter": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "environment": null, "closedSprints": [ { "id": 503, "state": "closed", "name": "2015 Sprint 21 SDK", "startDate": "2015-10-10T00:32:18.011Z", "endDate": "2015-10-24T00:32:00.000Z", "completeDate": "2015-10-26T02:20:47.579Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "366753", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Manuel Lehner's PR: https://github.com/appcelerator/titanium_mobile/pull/7295 that has been merged", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-14T03:29:27.000+0000", "updated": "2015-10-14T03:29:27.000+0000" }, { "id": "366755", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Backport 5_1_X: https://github.com/appcelerator/titanium_mobile/pull/7301", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-14T03:40:28.000+0000", "updated": "2015-10-14T03:40:28.000+0000" }, { "id": "366758", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "-Backport PR waiting for approval first before it can be merged.-\r\n\r\nOkay to backport.", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-14T03:51:44.000+0000", "updated": "2015-10-14T04:28:08.000+0000" }, { "id": "366760", "author": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "body": "Backport 5_1_X merged", "updateAuthor": { "name": "msamah", "key": "msamah", "displayName": "Ashraf Abu", "active": false, "timeZone": "Asia/Singapore" }, "created": "2015-10-14T04:29:21.000+0000", "updated": "2015-10-14T04:29:21.000+0000" }, { "id": "368345", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix by using this test code:\r\n{code}\r\nvar window = Ti.UI.createWindow({backgroundColor: \"white\"});\r\nvar view = Ti.UI.createView({});\r\nvar view2 = Ti.UI.createView({width: 100, height: 100, backgroundColor: \"yellow\"});\r\nview.add(view2);\r\nvar button = Ti.UI.createButton({title: \"Hide/show view w/ circular animation\"});\r\nbutton.addEventListener(\"click\", function(e) {\r\n if (view.visible) {\r\n view.hide();\r\n } else {\r\n view.show();\r\n }\r\n});\r\nwindow.add(view);\r\nwindow.add(button);\r\nwindow.open();\r\n{code}\r\nWhich provides null options & did not see any NPE.\r\n\r\nClosing.\r\n\r\n\r\nEnvironment:\r\nAppc Studio : 4.4.0.201510290507\r\nTi SDK : 5.1.0.v20151028143628 , 5.2.0.v20151029134437\r\nTi CLI : 5.0.5\r\nAlloy : 1.7.18\r\nMAC Yosemite : 10.10.5\r\nAppc NPM : 4.2.1-6\r\nAppc CLI : 5.1.0-38\r\nNode: v0.10.37\r\nNexus 5 - Android 6.0", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-29T21:11:19.000+0000", "updated": "2015-10-29T21:15:42.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }