{ "id": "138307", "key": "TIMOB-17877", "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": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" }, { "id": "16586", "description": "Release 3.4.2", "name": "Release 3.4.2", "archived": false, "released": true, "releaseDate": "2017-03-11" }, { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" }, { "id": "16593", "description": "Release 4.0.0", "name": "Release 4.0.0", "archived": false, "released": true, "releaseDate": "2015-05-21" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-10-24T22:34:17.000+0000", "created": "2014-10-20T20:54:23.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "module_androidmapv2", "qe-3.4.1", "qe-testadded" ], "versions": [ { "id": "15972", "description": "Release 3.4.0", "name": "Release 3.4.0", "archived": false, "released": true, "releaseDate": "2014-09-28" }, { "id": "16676", "description": "Release 3.4.1", "name": "Release 3.4.1", "archived": false, "released": true, "releaseDate": "2014-11-14" } ], "issuelinks": [ { "id": "42301", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "138343", "key": "TIMOB-17882", "fields": { "summary": "Android 5.0: Google Maps Tiles do not load", "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 } } } }, { "id": "42318", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "131359", "key": "TIMOB-17085", "fields": { "summary": "Android: Map module V2 not rendering map on Android 2.3.X", "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": "2015-03-22T11:19:42.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": "h5.Description:\r\n1. Create a basic map app for android.\r\n2. Build it for android 5.0 device/emulator.\r\n\r\nh5.Actual Result:\r\n1. We do not see any maps just the grid.\r\n2. We also get the errors below in the console:\r\n{code}\r\n[DEBUG] : REQUEST: Connection opened to:https://clients4.google.com/glm/mmap/api\r\n[DEBUG] : REQUEST: Open Connection\r\n[DEBUG] : REQUEST: DRD(462): 62|15|7|108\r\n[DEBUG] : REQUEST: Close\r\n[DEBUG] : REQUEST: Error processing: com.google.maps.api.android.lib6.b.d@2454d051 not retrying\r\n[DEBUG] : REQUEST: Retrying: com.google.maps.api.android.lib6.b.j@1beb77e\r\n[DEBUG] : REQUEST: Retrying: com.google.maps.api.android.lib6.b.v@390b4df\r\n[DEBUG] : REQUEST: Retrying: com.google.maps.api.android.lib6.gmm6.m.af@32c684fc\r\n[ERROR] : REQUEST: ERROR\r\n[ERROR] : REQUEST: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.StatusLine.(StatusLine.java:24)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.Response$Builder.statusLine(Response.java:419)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.JavaApiConverter.createOkResponse(JavaApiConverter.java:116)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.ResponseCacheAdapter.get(ResponseCacheAdapter.java:53)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:190)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:373)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:106)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.HttpURLConnectionImpl.getOutputStream(HttpURLConnectionImpl.java:208)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.DelegatingHttpsURLConnection.getOutputStream(DelegatingHttpsURLConnection.java:218)\r\n[ERROR] : REQUEST: \tat com.android.okhttp.internal.http.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:25)\r\n[ERROR] : REQUEST: \tat com.google.maps.api.android.lib6.b.l.run(Unknown Source)\r\n[ERROR] : REQUEST: \tat java.lang.Thread.run(Thread.java:818)\r\n{code}\r\n\r\nh5.Expected Results:\r\n1. Maps should be displayed properly & we should not get any errors in the console.\r\n\r\n", "attachment": [ { "id": "52135", "filename": "Nexus_5_Map_Tiles_Not_Loading_With_PR_6256.txt", "author": { "name": "egomez", "key": "egomez", "displayName": "Eduardo Gomez", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-10-23T16:28:46.000+0000", "size": 71949, "mimeType": "text/plain" } ], "flagged": false, "summary": "Android 5.0: No maps visible on android 5.0 just a blank grid", "creator": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Environment:\r\nAppc Studio : 3.4.0.201409261245\r\nTi SDK : 3.4.0.GA, 3.4.1.v20141016180124 \r\nMac OSX : 10.9.4\r\nAlloy : 1.5.1\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1\r\nMap Module: 2.1.4", "closedSprints": [ { "id": 241, "state": "closed", "name": "2014 Sprint 22 SDK", "startDate": "2014-10-27T22:25:43.407Z", "endDate": "2014-11-08T01:00:00.000Z", "completeDate": "2014-11-10T20:10:00.899Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "329103", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "ti.map module PR: https://github.com/appcelerator-modules/ti.map/pull/67\r\nmaster PR: https://github.com/appcelerator/titanium_mobile/pull/6256\r\n3_4_X PR: https://github.com/appcelerator/titanium_mobile/pull/6274\r\n3_4_1 PR: https://github.com/appcelerator/titanium_mobile/pull/6273", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-23T00:07:56.000+0000", "updated": "2014-10-24T22:32:57.000+0000" }, { "id": "329177", "author": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-23T15:47:59.000+0000", "updated": "2014-10-23T17:22:52.000+0000" }, { "id": "329349", "author": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The PR https://github.com/appcelerator/titanium_mobile/pull/6256 resolves this issue. Building the new SDK with the new module allows the map to load on my Nexus 5 running Android 5.0. I agree with jonalter that the module work need to be versioned as a new module and checked into the modules directory. Due to the dependency on this new TiSDK I would also recommend we up the minimum required TiSDK in the modules manifest file.", "updateAuthor": { "name": "tcrist", "key": "tcrist", "displayName": "Travis Crist", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-24T16:21:25.000+0000", "updated": "2014-10-24T16:21:25.000+0000" }, { "id": "329616", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix. Maps are visible as expected on device running android 5.0 preview.\r\n\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 3.4.1.201410191611\r\nTi SDK : 3.4.1.v20141024151719, 3.4.2.v20141027085717, 3.5.0.v20141027104915\r\nMac OSX : 10.9.4\r\nAlloy : 1.5.1\r\nCLI - 3.4.0\r\nCode Processor: 1.1.1\r\nNexus 5 - android 5.0 preview\r\nMap Module : 2.2.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-10-27T21:38:08.000+0000", "updated": "2014-10-27T21:38:44.000+0000" }, { "id": "333142", "author": { "name": "astjohn", "key": "astjohn", "displayName": "Adam", "active": true, "timeZone": "America/Havana" }, "body": "Hey guys,\r\n\r\nI'm working on finishing up a pull request that will add drawing support (circles, polygons, and polylines) to the map. \r\nhttps://github.com/Sitata/ti.map/tree/drawing\r\n\r\nThrough my testing, I'm still hitting the same errors that Travis has posted in his log file. That's how I stumbled into this issue.\r\nI have recently updated to 3.4.1.GA, and I'm still receiving this issue on my nexus5 with android 5.0. \r\n\r\nTo be clear, map tiles ARE Loading, but I'm still receiving the nasty:\r\n\"java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)\"\r\n\r\nThis is making it next to impossible to test the drawing stuff we implemented because map events (such as adding a route or a polygon) become unresponsive.\r\n\r\nAny ideas?\r\n\r\nThanks!", "updateAuthor": { "name": "astjohn", "key": "astjohn", "displayName": "Adam", "active": true, "timeZone": "America/Havana" }, "created": "2014-11-20T21:22:02.000+0000", "updated": "2014-11-20T21:22:02.000+0000" }, { "id": "334245", "author": { "name": "ygoldfeld", "key": "ygoldfeld", "displayName": "Yuri Goldfeld", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I can confirm that I was able to manually apply the patch from PR 6256 to Ti SDK 3.2.0. I then cleaned the build for the application and built it with the custom Ti SDK; cleared any installed app's data/cache; and uninstalled any installed app; and installed the built app. The problem disappeared (map showed up).\r\n\r\nJust to make sure, I went back and forth between Ti SDK with and without the patch, and the latter failed, while the former succeeded, in displaying the map each time.\r\n\r\nNote that it was not necessary to rebuild any ti.map module. (We are using a separately downloaded ti.map 2.1.2 module.)\r\n\r\nOf course, if it is possible I would always recommend using the newest Ti SDK (and the modules that come with it) available. However, this is not always practical, as in reality Ti SDK upgrades introduce lots of regressions. So I figured the above info would be helpful.", "updateAuthor": { "name": "ygoldfeld", "key": "ygoldfeld", "displayName": "Yuri Goldfeld", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-01T23:23:36.000+0000", "updated": "2014-12-01T23:23:36.000+0000" }, { "id": "346909", "author": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "updateAuthor": { "name": "buddyguards", "key": "buddyguards", "displayName": "grebulon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2015-03-22T11:19:42.000+0000", "updated": "2015-03-22T11:19:42.000+0000" } ], "maxResults": 7, "total": 7, "startAt": 0 } } }