{ "id": "131730", "key": "TIMOB-17162", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-06-16T14:11:44.000+0000", "created": "2014-06-13T22:24:01.000+0000", "priority": null, "labels": [ "http", "httpclient", "module_android", "qe-manualtest" ], "versions": [], "issuelinks": [ { "id": "38400", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "103466", "key": "TIMOB-11671", "fields": { "summary": "Android: HTTPClient fails to deallocate Heap Memory", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-08-08T18:55:21.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": "{code}\n[WARN] W/System.err: java.lang.NullPointerException\n[WARN] W/System.err: \tat ti.modules.titanium.network.TiHTTPClient.getResponseHeader(TiHTTPClient.java:772)\n[WARN] W/System.err: \tat ti.modules.titanium.network.HTTPClientProxy.getResponseHeader(HTTPClientProxy.java:93)\n[WARN] W/System.err: \tat org.appcelerator.kroll.runtime.v8.V8Object.nativeCallProperty(Native Method)\n[WARN] W/System.err: \tat org.appcelerator.kroll.runtime.v8.V8Object.callProperty(V8Object.java:69)\n[WARN] W/System.err: \tat org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1121)\n[WARN] W/System.err: \tat android.os.Handler.dispatchMessage(Handler.java:95)\n[WARN] W/System.err: \tat android.os.Looper.loop(Looper.java:137)\n[WARN] W/System.err: \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:112)\n{code}\nAt https://github.com/appcelerator/titanium_mobile/blob/3_3_0_RC/android/modules/network/src/java/ti/modules/titanium/network/TiHTTPClient.java#L772 you’re using {{responseHeaders}} when {{theHeaders}} were used for the non-null check.", "attachment": [], "flagged": false, "summary": "Android: TiHTTPClient.getResponseHeader throws NullPointerException", "creator": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Titanium SDK 3.3.0.RC", "closedSprints": [ { "id": 121, "state": "closed", "name": "2014 Sprint 12 SDK", "startDate": "2014-06-09T21:51:17.043Z", "endDate": "2014-06-21T00:00:00.000Z", "completeDate": "2014-06-23T16:52:29.621Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "309113", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for the ticket. Do you have a code snippet you used to reproduce the issue?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T14:07:00.000+0000", "updated": "2014-06-16T14:07:00.000+0000" }, { "id": "309114", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "NM. This should have been fixed as a result of a later checkin (see https://github.com/appcelerator/titanium_mobile/pull/5795). Can you confirm it is fixed by using a CI build?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T14:11:08.000+0000", "updated": "2014-06-16T14:11:08.000+0000" }, { "id": "309115", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Fixed as a result of https://github.com/appcelerator/titanium_mobile/pull/5795.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-16T14:11:44.000+0000", "updated": "2014-06-16T14:11:44.000+0000" }, { "id": "309117", "author": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "body": "I’ll check it as soon as possible, but you could have to wait a day or two. There was another issue associated with this error and I couldn’t tell them apart.\r\n\r\nThank you for the responsiveness!", "updateAuthor": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-06-16T14:28:47.000+0000", "updated": "2014-06-16T14:28:47.000+0000" }, { "id": "309287", "author": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "body": "It’s no more reproducible with {{3.4.0.v20140616174112}}. Awesome!", "updateAuthor": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-06-17T08:36:25.000+0000", "updated": "2014-06-17T08:36:25.000+0000" }, { "id": "309298", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Great to hear. Thanks!", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T13:23:23.000+0000", "updated": "2014-06-17T13:23:23.000+0000" }, { "id": "309302", "author": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for the great work you’re doing in the 3.3.0 release!", "updateAuthor": { "name": "yuchi", "key": "yuchi", "displayName": "Pier Paolo Ramon", "active": true, "timeZone": "Europe/Berlin" }, "created": "2014-06-17T13:31:31.000+0000", "updated": "2014-06-17T13:31:31.000+0000" }, { "id": "309407", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~hpham]- can you please provide any test code snippet/steps to test the fix for this ticket.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-17T21:07:58.000+0000", "updated": "2014-06-17T21:07:58.000+0000" }, { "id": "309906", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-19T18:45:10.000+0000", "updated": "2014-06-19T18:45:10.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }