{ "id": "130330", "key": "AC-1628", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2014-05-13T17:19:08.000+0000", "created": "2014-05-12T21:50:28.000+0000", "labels": [], "versions": [], "issuelinks": [ { "id": "37611", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "130277", "key": "TIMOB-16952", "fields": { "summary": "Android: WebView crashes with 3.2.3.GA on HTC 4.0.3 device", "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": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:38:06.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "The following Code (this is the complete project)\r\n\r\n{code}\r\nvar win = Titanium.UI.createWindow();\r\nwin.add(Ti.UI.createWebView({url:\"http://google.com\"}));\r\nwin.open();\r\n{code}\r\n\r\nCrashes on an HTC EVO V (Android 4.0.3)\r\n\r\nThe same code works fine on 3.2.1 and 3.1.4.\r\n\r\nI have confirmed this in\r\n\r\n3.2.2.GA\r\n3.2.3.GA\r\n3.2.4 (latest build)\r\n3.3.0 (latest build)\r\n\r\n{code}\r\n[ERROR] : TiApplication: (main) [6910,6910] Sending event: exception on thread: main msg:java.lang.NullPointerException; Titanium 3.2.4,2014/05/08 11:33,f6bc2e4\r\n[ERROR] : TiApplication: java.lang.NullPointerException\r\n[ERROR] : TiApplication: \tat android.webkit.WebView$PrivateHandler.handleMessage(WebView.java:9710)\r\n[ERROR] : TiApplication: \tat android.os.Handler.dispatchMessage(Handler.java:99)\r\n[ERROR] : TiApplication: \tat android.os.Looper.loop(Looper.java:154)\r\n[ERROR] : TiApplication: \tat android.app.ActivityThread.main(ActivityThread.java:4945)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invokeNative(Native Method)\r\n[ERROR] : TiApplication: \tat java.lang.reflect.Method.invoke(Method.java:511)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)\r\n[ERROR] : TiApplication: \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)\r\n[ERROR] : TiApplication: \tat dalvik.system.NativeStart.main(Native Method)\r\n[ERROR] : chromium: external/chromium/net/disk_cache/stat_hub.cc:190: [0512/144618:ERROR:stat_hub.cc(190)] StatHub::Init - App com.gsm.testWebView isn't supported.\r\n[ERROR] : chromium: external/chromium/net/disk_cache/stat_hub.cc:190: [0512/144618:ERROR:stat_hub.cc(190)] StatHub::Init - App com.gsm.testWebView isn't supported.\r\n[INFO] : qtaguid: Failed write_ctrl(t 108 43550968381440 26113048) res=-1 errno=1\r\n{code}", "attachment": [], "flagged": false, "summary": "Simple WebView crashes 3.2.2 -> 3.3.0 in HTC Evo V", "creator": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "304571", "author": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I'd also note that the crash doesn't happen until the Webview is added to another View.\r\n\r\nE.g.\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow();\r\nvar webview = Ti.UI.createWebView({url:\"http://google.com\"});\r\nwin.open();\r\nsetTimeout(function(){ win.add(webview)}, 2000);\r\n{code}\r\n\r\nWill crash as soon as the webview is added", "updateAuthor": { "name": "andrew@gstreetmedia.com", "key": "andrew@gstreetmedia.com", "displayName": "Andrew Greenstreet", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-13T15:15:17.000+0000", "updated": "2014-05-13T15:15:17.000+0000" }, { "id": "304602", "author": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thank you for bringing this to our attention. TIMOB-16952 has created for this issue. Please watch TIMOB-16952 for latest updates.", "updateAuthor": { "name": "ragrawal", "key": "ragrawal", "displayName": "Ritu Agrawal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-13T17:19:08.000+0000", "updated": "2014-05-13T17:19:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }