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

Android: runtime errors on sound test cases (setToolbar)

    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.Phone>sound>any test case<br>
      results: runtime errors on load</p>
      <p>E/KrollContext( 7843): (kroll$8) [2437,96278] ECMA Error
      evaluating source: TypeError: Cannot find function setToolbar in
      object [Ti.UI.Window]. (app://examples/sound_file.js#167)<br>
      E/KrollContext( 7843): org.mozilla.javascript.EcmaError: TypeError:
      Cannot find function setToolbar in object [Ti.UI.Window].
      (app://examples/sound_file.js#167)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)<br>
      E/KrollContext( 7843): at
      script(app://examples/sound_file.js:167)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)<br>
      E/KrollContext( 7843): at
      org.mozilla.javascript.Context.evaluateReader(Context.java:1142)<br>
      E/KrollContext( 7843): at
      org.appcelerator.titanium.kroll.KrollContext.evaluateScript(Unknown
      Source)<br>
      E/KrollContext( 7843): at
      org.appcelerator.titanium.kroll.KrollContext.handleEvalFile(Unknown
      Source)<br>
      E/KrollContext( 7843): at
      org.appcelerator.titanium.kroll.KrollContext.handleMessage(Unknown
      Source)<br>
      E/KrollContext( 7843): at
      android.os.Handler.dispatchMessage(Handler.java:95)<br>
      E/KrollContext( 7843): at
      android.os.Looper.loop(Looper.java:123)<br>
      E/KrollContext( 7843): 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-1844
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration