java.lang.Throwable: getResult() has timed out.

Appcelerator JIRA | Ping Wang | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Steps to reproduce: 1. Create an alloy project 2. Run the project in Appcelerator Studio with live view enabled Expected: It should run with no errors Actual: You will get an error like: {code} [ERROR] : TiMessenger: (main) [3475,4199] Unable to get the result from the blocking message. [ERROR] : TiMessenger: java.lang.Throwable: getResult() has timed out. [ERROR] : TiMessenger: at org.appcelerator.kroll.common.TiMessenger$2.getResult(TiMessenger.java:257) [ERROR] : TiMessenger: at org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:284) [ERROR] : TiMessenger: at org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:202) [ERROR] : TiMessenger: at org.appcelerator.kroll.KrollProxy.fireSyncEvent(KrollProxy.java:784) [ERROR] : TiMessenger: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:531) [ERROR] : TiMessenger: at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:144) [ERROR] : TiMessenger: at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97) [ERROR] : TiMessenger: at android.app.Activity.performCreate(Activity.java:5243) [ERROR] : TiMessenger: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) [ERROR] : TiMessenger: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140) [ERROR] : TiMessenger: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226) [ERROR] : TiMessenger: at android.app.ActivityThread.access$700(ActivityThread.java:135) [ERROR] : TiMessenger: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397) [ERROR] : TiMessenger: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiMessenger: at android.os.Looper.loop(Looper.java:137) [ERROR] : TiMessenger: at android.app.ActivityThread.main(ActivityThread.java:4998) [ERROR] : TiMessenger: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiMessenger: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : TiMessenger: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777) [ERROR] : TiMessenger: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593) [ERROR] : TiMessenger: at dalvik.system.NativeStart.main(Native Method) {code}

    Appcelerator JIRA | 3 years ago | Ping Wang
    java.lang.Throwable: getResult() has timed out.
  2. 0

    Steps to reproduce: 1. Create an alloy project 2. Run the project in Appcelerator Studio with live view enabled Expected: It should run with no errors Actual: You will get an error like: {code} [ERROR] : TiMessenger: (main) [3475,4199] Unable to get the result from the blocking message. [ERROR] : TiMessenger: java.lang.Throwable: getResult() has timed out. [ERROR] : TiMessenger: at org.appcelerator.kroll.common.TiMessenger$2.getResult(TiMessenger.java:257) [ERROR] : TiMessenger: at org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:284) [ERROR] : TiMessenger: at org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:202) [ERROR] : TiMessenger: at org.appcelerator.kroll.KrollProxy.fireSyncEvent(KrollProxy.java:784) [ERROR] : TiMessenger: at org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:531) [ERROR] : TiMessenger: at org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:144) [ERROR] : TiMessenger: at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97) [ERROR] : TiMessenger: at android.app.Activity.performCreate(Activity.java:5243) [ERROR] : TiMessenger: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) [ERROR] : TiMessenger: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140) [ERROR] : TiMessenger: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226) [ERROR] : TiMessenger: at android.app.ActivityThread.access$700(ActivityThread.java:135) [ERROR] : TiMessenger: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397) [ERROR] : TiMessenger: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiMessenger: at android.os.Looper.loop(Looper.java:137) [ERROR] : TiMessenger: at android.app.ActivityThread.main(ActivityThread.java:4998) [ERROR] : TiMessenger: at java.lang.reflect.Method.invokeNative(Native Method) [ERROR] : TiMessenger: at java.lang.reflect.Method.invoke(Method.java:515) [ERROR] : TiMessenger: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777) [ERROR] : TiMessenger: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593) [ERROR] : TiMessenger: at dalvik.system.NativeStart.main(Native Method) {code}

    Appcelerator JIRA | 3 years ago | Ping Wang
    java.lang.Throwable: getResult() has timed out.

    Root Cause Analysis

    1. java.lang.Throwable

      getResult() has timed out.

      at org.appcelerator.kroll.common.TiMessenger$2.getResult()
    2. org.appcelerator.kroll
      KrollProxy.fireSyncEvent
      1. org.appcelerator.kroll.common.TiMessenger$2.getResult(TiMessenger.java:257)
      2. org.appcelerator.kroll.common.TiMessenger.sendBlockingMessage(TiMessenger.java:284)
      3. org.appcelerator.kroll.common.TiMessenger.sendBlockingRuntimeMessage(TiMessenger.java:202)
      4. org.appcelerator.kroll.KrollProxy.fireSyncEvent(KrollProxy.java:784)
      4 frames
    3. org.appcelerator.titanium
      TiRootActivity.onCreate
      1. org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:531)
      2. org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:144)
      3. org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:97)
      3 frames
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5243)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
      5. android.app.ActivityThread.access$700(ActivityThread.java:135)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:137)
      9. android.app.ActivityThread.main(ActivityThread.java:4998)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
      2 frames
    7. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame