{ "id": "62495", "key": "TIMOB-1863", "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": "11225", "name": "Release 1.5.0", "archived": true, "released": true, "releaseDate": "2010-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:57:23.000+0000", "created": "2011-04-15T03:04:12.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "defect", "regression" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:57: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}

Seen on g1 running 1.6. TiMobileSDK 1.4.2.dc7b90

\n

1.Platform>XHR>xml properties (with device plugged in a db\nlogcat going)
\n2.view output

\n

results: app crashes, HeapWorker may be wedged: 6884ms in\noutput

\n

log at - http://pastie.org/1172754

{html}", "attachment": [], "flagged": false, "summary": "Android: xml properties test case crashing application with \" HeapWorker may be wedged: 6884ms \" message", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "126854", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is the real error

\n
\n(kroll$6) [2464,12685] Error parsing XML\nE/XMLModule(  343): org.xml.sax.SAXParseException: Unexpected end of document\nE/XMLModule(  343):     at org.apache.harmony.xml.parsers.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:129)\nE/XMLModule(  343):     at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:157)\nE/XMLModule(  343):     at ti.modules.titanium.xml.XMLModule.parse(XMLModule.java:61)\nE/XMLModule(  343):     at ti.modules.titanium.xml.XMLModule.parse(XMLModule.java:54)\nE/XMLModule(  343):     at ti.modules.titanium.network.TiHTTPClient.getResponseXML(TiHTTPClient.java:479)\nE/XMLModule(  343):     at ti.modules.titanium.network.HTTPClientProxy.getResponseXML(HTTPClientProxy.java:67)\nE/XMLModule(  343):     at java.lang.reflect.Method.invokeNative(Native Method)\nE/XMLModule(  343):     at java.lang.reflect.Method.invoke(Method.java:521)\nE/XMLModule(  343):     at org.appcelerator.titanium.kroll.KrollObject.handleMethodOrProperty(KrollObject.java:241)\nE/XMLModule(  343):     at org.appcelerator.titanium.kroll.KrollObject.get(KrollObject.java:148)\nE/XMLModule(  343):     at org.mozilla.javascript.ScriptableObject.getProperty(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.ScriptRuntime.getObjectProp(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.ScriptRuntime.getObjectProp(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.Interpreter.interpret(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.InterpretedFunction.exec(Unknown Source)\nE/XMLModule(  343):     at org.mozilla.javascript.Context.evaluateReader(Unknown Source)\nE/XMLModule(  343):     at org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(KrollContext.java:159)\nE/XMLModule(  343):     at org.appcelerator.titanium.kroll.KrollContext.handleMessage(KrollContext.java:101)\nE/XMLModule(  343):     at android.os.Handler.dispatchMessage(Handler.java:95)\nE/XMLModule(  343):     at android.os.Looper.loop(Looper.java:123)\nE/XMLModule(  343):     at android.os.HandlerThread.run(HandlerThread.java:60)\n
{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:13.000+0000", "updated": "2011-04-15T03:04:13.000+0000" }, { "id": "126855", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

I got this covered, but I'M having a hard time with master\nbranch at the moment. Fix coming.

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:13.000+0000", "updated": "2011-04-15T03:04:13.000+0000" }, { "id": "126856", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [b0ed12634f608e1047d3ab34602fa6410a4e66f1])\n[#1863 state:fixed-in-qa] Stop trying to\nxml-parse empty strings, and stop letting TiBlob try to turn known\nbinary data into UTF-8 strings for getText \nhttp://github.com/appcelerator/titanium_mobile/commit/b0ed12634f608...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:13.000+0000", "updated": "2011-04-15T03:04:13.000+0000" }, { "id": "126857", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [97f3f71520940fea3f0a4bea031834bc165c3a1b])\n[#1863] Quick fix to avoid NPE in\nKrollObject.get. Was crashing my tests for this ticket. \nhttp://github.com/appcelerator/titanium_mobile/commit/97f3f71520940...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:04:13.000+0000", "updated": "2011-04-15T03:04:13.000+0000" }, { "id": "126858", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

crash gone, as per Don the heapworker message is relate dot the\ntets downloading a large unsupported file type. closing.\n1.4.2.4ce7ff G1 running 1.6, 2.2 simulator

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:14.000+0000", "updated": "2011-04-15T03:04:14.000+0000" }, { "id": "126859", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

copy past error, build closed against is Mobile sdk\n1.5.0.02c264.

{html}", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:04:14.000+0000", "updated": "2011-04-15T03:04:14.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }