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

Android: Facebook query/properites runtime error (setrightnavbutton)

    Details

      Description

      {html}<div><p>1.Mashups> Facebook<br>
      2.Log in, then do the query test or properties test</p>
      <p>results: runtime error:<br>
      E/KrollCallback(17712): (kroll$6) [97,58043] ECMA Error evaluating
      source, invocation: [callMethod UI.Button.UI.Button:event:click
      null], message: TypeError: Cannot find function setRightNavButton
      in object [Ti.UI.Window]. (app://examples/facebook_query.js#36)<br>
      E/KrollCallback(17712): org.mozilla.javascript.EcmaError:
      TypeError: Cannot find function setRightNavButton in object
      [Ti.UI.Window]. (app://examples/facebook_query.js#36)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3761)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3739)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3767)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3786)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.notFunctionError(ScriptRuntime.java:3850)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2343)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2310)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1524)<br>
      E/KrollCallback(17712): at
      script.runQuery(app://examples/facebook_query.js:36)<br>
      E/KrollCallback(17712): at
      script(app://examples/facebook_query.js:129)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3161)<br>
      E/KrollCallback(17712): at
      org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:162)<br>
      E/KrollCallback(17712): at
      org.appcelerator.titanium.kroll.KrollCallback$1.run(KrollCallback.java:97)<br>
      E/KrollCallback(17712): at
      android.os.Handler.handleCallback(Handler.java:587)<br>
      E/KrollCallback(17712): at
      android.os.Handler.dispatchMessage(Handler.java:92)<br>
      E/KrollCallback(17712): at
      android.os.Looper.loop(Looper.java:123)<br>
      E/KrollCallback(17712): at
      org.appcelerator.titanium.kroll.KrollHandlerThread.run(KrollHandlerThread.java:73)<br>
      D/PowerManagerService( 1435): New lightsensor value:320,
      lcdValue:160<br>
      D/PowerManagerService( 1435): lightSensorChangedLocked, buttonValue
      >= 0, mPowerState = 3<br>
      D/dalvikvm(16206): GC_EXPLICIT freed 9810 objects / 879184 bytes in
      807ms<br>
      D/dalvikvm( 1533): GC_EXPLICIT freed 718 objects / 89928 bytes in
      1246ms<br>
      D/dalvikvm( 1532): GC_FOR_MALLOC freed 10543 objects / 525160 bytes
      in 112ms<br>
      D/dalvikvm( 1600): GC_EXPLICIT freed 474 objects / 121056 bytes in
      819ms<br>
      D/dalvikvm( 2472): GC_EXPLICIT freed 4 objects / 112 bytes in
      595ms<br>
      D/PowerManagerService( 1435): New lightsensor value:160,
      lcdValue:160<br>
      D/PowerManagerService( 1435): lightSensorChangedLocked, buttonValue
      >= 0, mPowerState = 3<br>
      D/PowerManagerService( 1435): New lightsensor value:320,
      lcdValue:160<br>
      D/PowerManagerService( 1435): lightSensorChangedLocked, buttonValue
      >= 0, mPowerState = 3</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-1910
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration