{ "id": "62711", "key": "TIMOB-2079", "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": "11230", "name": "Release 1.5.0 M05", "archived": true, "released": true, "releaseDate": "2010-12-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T01:58:01.000+0000", "created": "2011-04-15T03:09:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "defect", "error", "regression", "runtime" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:01.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}

g1 running 1.6 and the sim running 2.2 Ti Mobile sdk\n1.5.0.02c264.

\n

1.Phone>sound>any test case
\nresults: runtime errors on load

\n

E/KrollContext( 7843): (kroll$8) [2437,96278] ECMA Error\nevaluating source: TypeError: Cannot find function setToolbar in\nobject [Ti.UI.Window]. (app://examples/sound_file.js#167)
\nE/KrollContext( 7843): org.mozilla.javascript.EcmaError: TypeError:\nCannot find function setToolbar in object [Ti.UI.Window].\n(app://examples/sound_file.js#167)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollContext( 7843): at\nscript(app://examples/sound_file.js:167)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
\nE/KrollContext( 7843): at\norg.mozilla.javascript.Context.evaluateReader(Context.java:1142)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollContext.evaluateScript(Unknown\nSource)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollContext.handleEvalFile(Unknown\nSource)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollContext.handleMessage(Unknown\nSource)
\nE/KrollContext( 7843): at\nandroid.os.Handler.dispatchMessage(Handler.java:95)
\nE/KrollContext( 7843): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollContext( 7843): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown\nSource)

{html}", "attachment": [], "flagged": false, "summary": "Android: runtime errors on sound test cases (setToolbar) ", "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": "127426", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This is actually a test defect. Calling an iPhone only method.\nWe're going to start getting out of providing dummy methods for\niPhone especially since it makes it harder on the end user when\nthey don't see the code in the test and iPhone doesn't do the same\nfor Android or BB features. It just won't scale.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:50.000+0000", "updated": "2011-04-15T03:09:50.000+0000" }, { "id": "127427", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Assigning to Ralf right now until we can figure the general\nproblem out.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:51.000+0000", "updated": "2011-04-15T03:09:51.000+0000" }, { "id": "127428", "author": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

I am assigning to Don to take the action to modify the KS such\nthat Android (and IOS) does not fail

{html}", "updateAuthor": { "name": "rpfeiffer", "key": "rpfeiffer", "displayName": "Ralf Pfeiffer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:51.000+0000", "updated": "2011-04-15T03:09:51.000+0000" }, { "id": "127429", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Not yet working on it.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:51.000+0000", "updated": "2011-04-15T03:09:51.000+0000" }, { "id": "127430", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [43358e5f7b4bb194f79e343398f648008b353293])\n-[#2079] fixed examples, local sound has a path\nproblem to look at still \nhttps://github.com/appcelerator/titanium_mobile/commit/43358e5f7b4b...

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:52.000+0000", "updated": "2011-04-15T03:09:52.000+0000" }, { "id": "127431", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Fixed with the patch last night. Fixing this exposed the Android\nequivalent of #1913 entered new bug #2544 for\nAndroid.

{html}", "updateAuthor": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:52.000+0000", "updated": "2011-04-15T03:09:52.000+0000" }, { "id": "127432", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Titanium SDK version: 1.5.0 (12/10/10 08:19 f37ab6c) G2\n(2.2)

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