{ "id": "62708", "key": "TIMOB-2076", "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:01.000+0000", "created": "2011-04-15T03:09:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "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: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.BaseUI>Views>View w/ size
\n2.tap the button

\n

results: runtime error

\n

E/KrollCallback( 8993): (kroll$4) [3343,38250] Error evaluating\nsource, invocation: [callMethod UI.Button.UI.Button:event:click\nnull], message: Wrapped java.lang.NoSuchFieldException: dynamic\nproperty \"size\" of proxy \"UI.View\" doesn't have write support\n(app://examples/view_with_size.js#36)
\nE/KrollCallback( 8993): org.mozilla.javascript.WrappedException:\nWrapped java.lang.NoSuchFieldException: dynamic property \"size\" of\nproxy \"UI.View\" doesn't have write support\n(app://examples/view_with_size.js#36)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1781)
\nE/KrollCallback( 8993): at\norg.appcelerator.kroll.KrollObject.put(Unknown Source)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:2126)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1623)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1613)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1417)
\nE/KrollCallback( 8993): at\nscript(app://examples/view_with_size.js:36)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
\nE/KrollCallback( 8993): at\norg.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
\nE/KrollCallback( 8993): at\norg.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown\nSource)
\nE/KrollCallback( 8993): at\nandroid.os.Handler.handleCallback(Handler.java:587)
\nE/KrollCallback( 8993): at\nandroid.os.Handler.dispatchMessage(Handler.java:92)
\nE/KrollCallback( 8993): at\nandroid.os.Looper.loop(Looper.java:123)
\nE/KrollCallback( 8993): at\norg.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown\nSource)
\nE/KrollCallback( 8993): Caused by: java.lang.NoSuchFieldException:\ndynamic property \"size\" of proxy \"UI.View\" doesn't have write\nsupport
\nE/KrollCallback( 8993): at\norg.appcelerator.kroll.KrollProxy.setDynamicProperty(Unknown\nSource)
\nE/KrollCallback( 8993): at\norg.appcelerator.kroll.KrollProxy.set(Unknown Source)
\nE/KrollCallback( 8993): at\norg.appcelerator.kroll.KrollObject.put(Unknown Source)
\nE/KrollCallback( 8993): ... 14 more

{html}", "attachment": [], "flagged": false, "summary": "Android: View with size generates runtime error ", "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": "127419", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

(from [5e5d4eadf67bb0699472404349a948383c353aba])\nfall through to internal properties for bindings that only have a\ngetter or setter [#2076 state:fixed-in-qa] \nhttp://github.com/appcelerator/titanium_mobile/commit/5e5d4eadf67bb...

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

G2 2.2 mobile sdk 1.5.0.2c1cae

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