{ "id": "168821", "key": "TIMOB-24930", "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": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-07-05T19:40:49.000+0000", "created": "2017-07-05T10:20:04.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "19572", "description": "Important fixes for 6.1.0", "name": "Release 6.1.1", "archived": false, "released": true, "releaseDate": "2017-06-16" }, { "id": "18414", "description": "", "name": "Release 6.2.0", "archived": false, "released": true, "releaseDate": "2017-09-13" } ], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-08-15T23:16:15.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" }, { "id": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "h5.Description\r\n\r\nWhen building without an Android NDK path set the build process will error out with the below\r\n\r\n{code}\r\n2017-07-05T10:17:56.896Z | ERROR | An uncaught exception was thrown!\r\nCannot read property 'path' of null\r\n2017-07-05T10:17:56.898Z | ERROR | Cannot read property 'path' of null{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n# Remove the ndk path from your config {{appc ti config --remove android.ndkPath}}\r\n# Build an Android module using {{appc run -p android --build-only\r\n\r\nh5.Actual\r\n\r\nErrors out with above error\r\n\r\nh5.Expected\r\n\r\nShould error out with unable to find an Android SDK", "attachment": [], "flagged": false, "summary": "Android: Module build process errors out if no NDK path is set", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "Windows 10 Pro 1703\r\nTi SDK: 6.1.1.GA, 6.2.0.v20170630062735", "closedSprints": [ { "id": 921, "state": "closed", "name": "2017 Sprint 14 Tooling", "startDate": "2017-07-02T23:55:00.000Z", "endDate": "2017-07-16T23:55:00.000Z", "completeDate": "2017-07-17T14:40:08.859Z", "originBoardId": 219 } ], "comment": { "comments": [ { "id": "423480", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/9194", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-07-05T10:25:49.000+0000", "updated": "2017-07-05T10:25:49.000+0000" }, { "id": "426733", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nError is shown {{[ERROR] : Unable to find a suitable installed Android NDK}} if NDk is not set.\r\n\r\nClosing.\r\n\r\nStudio Ver: 4.9.1.201707200100\r\nSDK Ver: 6.2.0.v20170815130745, 7.0.0.v20170815135242\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.3\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.13\r\nNode Ver: 6.10.1\r\nJava Ver: 1.8.0_101\r\n\r\n", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-08-15T23:15:55.000+0000", "updated": "2017-08-15T23:15:55.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }