Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2077] Android: Progress bar generates run time error (setValue)

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:01.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0
ComponentsAndroid
Labelsandroid, android_refactor, error, regression, runtime
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:09:47.000+0000
Updated2011-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.Controls>progress bar
results: runtime error

E/KrollCallback( 7618): (kroll$13) [214,200055] ECMA Error evaluating source, invocation: [callMethod Titanium.(anonymous) org.appcelerator.titanium.kroll.KrollCallback@439b3848], message: TypeError: Cannot find function setValue in object [Ti.UI.ActivityIndicator]. (app://examples/progress_bar.js#141)
E/KrollCallback( 7618): org.mozilla.javascript.EcmaError: TypeError: Cannot find function setValue in object [Ti.UI.ActivityIndicator]. (app://examples/progress_bar.js#141)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)
E/KrollCallback( 7618): at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)
E/KrollCallback( 7618): at script(app://examples/progress_bar.js:141)
E/KrollCallback( 7618): at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
E/KrollCallback( 7618): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
E/KrollCallback( 7618): at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
E/KrollCallback( 7618): at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)
E/KrollCallback( 7618): at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)
E/KrollCallback( 7618): at org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown Source)
E/KrollCallback( 7618): at android.os.Handler.handleCallback(Handler.java:587)
E/KrollCallback( 7618): at android.os.Handler.dispatchMessage(Handler.java:92)
E/KrollCallback( 7618): at android.os.Looper.loop(Looper.java:123)
E/KrollCallback( 7618): at org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown Source)

Comments

  1. Marshall Culpepper 2011-04-15

    (from [832abf9cd65b7d82c5c7e354206280bc0f0a3de9]) add property accessors for ActivityIndicator, all views, and windows [#2077 state:fixed-in-qa] http://github.com/appcelerator/titanium_mobile/commit/832abf9cd65b7d82c5c7e354206280bc0f0a3de9"> http://github.com/appcelerator/titanium_mobile/commit/832abf9cd65b7...

  2. Thomas Huelbert 2011-04-15

    G2 2.2 mobile sdk 1.5.0.2c1cae

JSON Source