{ "id": "64081", "key": "TIMOB-3449", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11248", "name": "Sprint 2011-13", "archived": true, "released": true, "releaseDate": "2011-04-04" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-03T13:05:23.000+0000", "created": "2011-04-15T03:45:18.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "honeycomb", "release-1.7.0", "reported-1.7.0" ], "versions": [], "issuelinks": [ { "id": "10253", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "64780", "key": "TIMOB-3709", "fields": { "summary": "Confirm TIMOB-3449", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2011-05-03T13:05:23.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": "{html}
Fail-case app.js, which is supposed to show this\nimage in an ImageView:
\n\nTitanium.UI.setBackgroundColor('#000');\nvar win = Titanium.UI.createWindow({ \n title:'Test',\n backgroundColor:'#fff'\n});\nvar iv = Ti.UI.createImageView({\n height: \"auto\", width: \"auto\",\n image: 'http://developer.appcelerator.com/assets/img/a-logo.png'\n});\nwin.add(iv);\nwin.open();
\n
\nWhen you run it in Honeycomb, the image will not appear and you\nwill see this exception if you look at logcat:
\n\nE/TiDownloadManager( 1920): java.lang.NullPointerException\nE/TiDownloadManager( 1920): at org.appcelerator.titanium.util.TiResponseCache.makeLowerCaseHeaders(TiResponseCache.java:302)\nE/TiDownloadManager( 1920): at org.appcelerator.titanium.util.TiResponseCache.put(TiResponseCache.java:314)\netc...
\n
(from [b1ffd1bd483fe5e85c9db8028934776796c03cf0])\nDo null check when looking at http response header keys, since\nHoneycomb includes \"HTTP/1.1 200 OK\" as one of the headers.\n[#3449] \nhttps://github.com/appcelerator/titanium_mobile/commit/b1ffd1bd483f...