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

Android: Email Dialog generates runtime error (setSubject)

    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.BaseUI>Views>email Dialog</p>
      <p>results: runtime error</p>
      <p>E/KrollCallback( 8965): (kroll$5) [1617,19877] ECMA Error
      evaluating source, invocation: [callMethod Media.(anonymous)
      org.appcelerator.titanium.kroll.KrollCallback@439b6ba8], message:
      TypeError: Cannot find function setSubject in object
      [Ti.UI.EmailDialog]. (app://examples/email_dialog.js#16)<br>
      E/KrollCallback( 8965): org.mozilla.javascript.EcmaError:
      TypeError: Cannot find function setSubject in object
      [Ti.UI.EmailDialog]. (app://examples/email_dialog.js#16)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)<br>
      E/KrollCallback( 8965): at
      script(app://examples/email_dialog.js:16)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)<br>
      E/KrollCallback( 8965): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)<br>
      E/KrollCallback( 8965): at
      org.appcelerator.titanium.kroll.KrollCallback$1.run(Unknown
      Source)<br>
      E/KrollCallback( 8965): at
      android.os.Handler.handleCallback(Handler.java:587)<br>
      E/KrollCallback( 8965): at
      android.os.Handler.dispatchMessage(Handler.java:92)<br>
      E/KrollCallback( 8965): at
      android.os.Looper.loop(Looper.java:123)<br>
      E/KrollCallback( 8965): 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-1840
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration