{ "id": "93659", "key": "TIMOB-9710", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-07-16T15:43:24.000+0000", "created": "2012-06-21T15:31:37.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "anvil", "core" ], "versions": [ { "id": "13271", "description": "Release 2.1.0", "name": "Release 2.1.0", "archived": false, "released": true, "releaseDate": "2012-06-29" } ], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-10T00:00:45.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": "Run stringFormatDate in android/android_string test suite in anvil, and you get the following error:\r\n\r\n{code}\r\nTypeError: Cannot read property 'constructor' of null \r\n\r\n//Code snippet that produces the error\r\nvar newDate;\r\nvalueOf(testRun, function() {\r\n\tnewDate = new Date(defaultValTest);\r\n}).shouldNotThrowException();\r\nvalueOf(testRun, newDate).shouldNotBeUndefined();\r\nvalueOf(testRun, newDate).shouldNotBeNull();\r\nvalueOf(testRun, newDate.constructor).shouldBe(Date);\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: stringFormatDate test in android/android_string test suite fails", "creator": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ayeung", "key": "ayeung", "displayName": "Allen Yeung", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Android", "comment": { "comments": [ { "id": "207862", "author": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Can not reproduce with 2_1_X branch.", "updateAuthor": { "name": "pwang", "key": "pwang", "displayName": "Ping Wang", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T15:42:27.000+0000", "updated": "2012-07-16T15:42:27.000+0000" }, { "id": "411147", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing this ticket as the issue cannot be reproduced.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-10T00:00:45.000+0000", "updated": "2017-03-10T00:00:45.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }