Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-2077

Android: Progress bar generates run time error (setValue)

    Details

      Description

      {html}<div><p>g1 running 1.6 and the sim running 2.2 Ti Mobile sdk
      1.5.0.02c264</p>
      <p>1.Controls>progress bar<br>
      results: runtime error</p>
      <p>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)<br>
      E/KrollCallback( 7618): org.mozilla.javascript.EcmaError:
      TypeError: Cannot find function setValue in object
      [Ti.UI.ActivityIndicator]. (app://examples/progress_bar.js#141)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)<br>
      E/KrollCallback( 7618): at
      script(app://examples/progress_bar.js:141)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)<br>
      E/KrollCallback( 7618): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)<br>
      E/KrollCallback( 7618): at
      org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown
      Source)<br>
      E/KrollCallback( 7618): at
      android.os.Handler.handleCallback(Handler.java:587)<br>
      E/KrollCallback( 7618): at
      android.os.Handler.dispatchMessage(Handler.java:92)<br>
      E/KrollCallback( 7618): at
      android.os.Looper.loop(Looper.java:123)<br>
      E/KrollCallback( 7618): at
      org.appcelerator.titanium.kroll.KrollHandlerThread.run(Unknown
      Source)</p></div>{html}

        Attachments

          Activity

            People

            • Assignee:
              dthorp Don Thorp
              Reporter:
              thomashuelbert Thomas Huelbert
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-1842
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration