[TIMOB-2076] Android: View with size generates runtime error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:58:01.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | Android |
Labels | android, android_refactor, error, regression, runtime |
Reporter | Thomas Huelbert |
Assignee | Don Thorp |
Created | 2011-04-15T03:09:46.000+0000 |
Updated | 2011-04-17T01:58:01.000+0000 |
Description
g1 running 1.6 and the sim running 2.2 Ti Mobile sdk 1.5.0.02c264.
1.BaseUI>Views>View w/ size
2.tap the button
results: runtime error
E/KrollCallback( 8993): (kroll$4) [3343,38250] Error evaluating
source, invocation: [callMethod UI.Button.UI.Button:event:click
null], message: Wrapped java.lang.NoSuchFieldException: dynamic
property "size" of proxy "UI.View" doesn't have write support
(app://examples/view_with_size.js#36)
E/KrollCallback( 8993): org.mozilla.javascript.WrappedException:
Wrapped java.lang.NoSuchFieldException: dynamic property "size" of
proxy "UI.View" doesn't have write support
(app://examples/view_with_size.js#36)
E/KrollCallback( 8993): at
org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1781)
E/KrollCallback( 8993): at
org.appcelerator.kroll.KrollObject.put(Unknown Source)
E/KrollCallback( 8993): at
org.mozilla.javascript.ScriptableObject.putProperty(ScriptableObject.java:2126)
E/KrollCallback( 8993): at
org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1623)
E/KrollCallback( 8993): at
org.mozilla.javascript.ScriptRuntime.setObjectProp(ScriptRuntime.java:1613)
E/KrollCallback( 8993): at
org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1417)
E/KrollCallback( 8993): at
script(app://examples/view_with_size.js:36)
E/KrollCallback( 8993): at
org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollCallback( 8993): at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollCallback( 8993): at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollCallback( 8993): at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/KrollCallback( 8993): at
org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/KrollCallback( 8993): at
org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown
Source)
E/KrollCallback( 8993): at
android.os.Handler.handleCallback(Handler.java:587)
E/KrollCallback( 8993): at
android.os.Handler.dispatchMessage(Handler.java:92)
E/KrollCallback( 8993): at
android.os.Looper.loop(Looper.java:123)
E/KrollCallback( 8993): at
org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown
Source)
E/KrollCallback( 8993): Caused by: java.lang.NoSuchFieldException:
dynamic property "size" of proxy "UI.View" doesn't have write
support
E/KrollCallback( 8993): at
org.appcelerator.kroll.KrollProxy.setDynamicProperty(Unknown
Source)
E/KrollCallback( 8993): at
org.appcelerator.kroll.KrollProxy.set(Unknown Source)
E/KrollCallback( 8993): at
org.appcelerator.kroll.KrollObject.put(Unknown Source)
E/KrollCallback( 8993): ... 14 more
(from [5e5d4eadf67bb0699472404349a948383c353aba]) fall through to internal properties for bindings that only have a getter or setter [#2076 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/5e5d4eadf67bb0699472404349a948383c353aba"> http://github.com/appcelerator/titanium_mobile/commit/5e5d4eadf67bb...
G2 2.2 mobile sdk 1.5.0.2c1cae