{ "id": "62713", "key": "TIMOB-2081", "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:58:02.000+0000", "created": "2011-04-15T03:09:54.000+0000", "priority": { "name": "Trivial", "id": "5" }, "labels": [ "android", "android_refactor", "error", "regression", "runtime" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T01:58:02.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

test cases and failures below:

\n

1.Platform>XHR>cookies
\nresults:runtime error

\n

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

\n

regression

\n
\n

Runtime error on foursquare mashup

\n

1.Mashups>foursquare
\nresults:runtime error on load

\n

D/KrollContext( 8587): (kroll$10) [6,3895457] Running evaluated\nscript: app://examples/foursquare.js
\nD/TiApplication( 8587): (kroll$10) [202,3895659] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [2,3895661] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [42,3895703] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [2,3895705] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [44,3895749] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [3,3895752] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [137,3895889] delegating to\nTiStylesheet for style properties
\nD/TiApplication( 8587): (kroll$10) [2,3895891] delegating to\nTiStylesheet for style properties
\nE/KrollContext( 8587): (kroll$10) [31,3895922] ECMA Error\nevaluating source: TypeError: Cannot find function\nsetRightNavButton in object [Ti.UI.Window].\n(app://examples/foursquare.js#44)
\nE/KrollContext( 8587): org.mozilla.javascript.EcmaError: TypeError:\nCannot find function setRightNavButton in object [Ti.UI.Window].\n(app://examples/foursquare.js#44)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollContext( 8587): at\nscript(app://examples/foursquare.js:44)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
\nE/KrollContext( 8587): at\norg.mozilla.javascript.Context.evaluateReader(Context.java:1142)
\nE/KrollContext( 8587): at\norg.appcelerator.titanium.kroll.KrollContext.evaluateScript(Unknown\nSource)
\nE/KrollContext( 8587): at\norg.appcelerator.titanium.kroll.KrollContext.handleEvalFile(Unknown\nSource)
\nE/KrollContext( 8587): at\norg.appcelerator.titanium.kroll.KrollContext.handleMessage(Unknown\nSource)
\nE/KrollContext( 8587): at\nandroid.os.Handler.dispatchMessage(Handler.java:95)
\nE/KrollContext( 8587): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollContext( 8587): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown\nSource)

\n

regression

\n
\n

runtime error loading test case \"table search\"
\n1.BaseUI>Views>Table Views>Table search
\nresults: runtime error

\n

E/KrollContext( 8938): org.mozilla.javascript.EcmaError:\nTypeError: Cannot find function setRightNavButton in object\n[Ti.UI.Window]. (app://examples/table_view_api_search.js#70)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
\nE/KrollContext( 8938): at\nscript(app://examples/table_view_api_search.js:70)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
\nE/KrollContext( 8938): at\norg.mozilla.javascript.Context.evaluateReader(Context.java:1142)
\nE/KrollContext( 8938): at\norg.appcelerator.titanium.kroll.KrollContext.evaluateScript(Unknown\nSource)
\nE/KrollContext( 8938): at\norg.appcelerator.titanium.kroll.KrollContext.handleEvalFile(Unknown\nSource)
\nE/KrollContext( 8938): at\norg.appcelerator.titanium.kroll.KrollContext.handleMessage(Unknown\nSource)
\nE/KrollContext( 8938): at\nandroid.os.Handler.dispatchMessage(Handler.java:95)
\nE/KrollContext( 8938): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollContext( 8938): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown\nSource)

\n

regression

\n

--

\n

Facebook mashup - runtime error (setRightnavButton) on query\ntest

{html}", "attachment": [], "flagged": false, "summary": "Android: setRightNavButton runtime errors ", "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": "127435", "author": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Test defect assigning to Ralf for now.

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

(from [bf1cfadac7ef7d9a02ac5bfd26a4d9fbf23e7a31])\ncheck for iPhone before setting/adding a rightNavButton in various\nKS tests [#2081 state:fixed-in-qa] \nhttp://github.com/appcelerator/titanium_mobile/commit/bf1cfadac7ef7...

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:09:55.000+0000", "updated": "2011-04-15T03:09:55.000+0000" }, { "id": "127437", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

1.5.0.70ce98 g2 running 2.2

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