java.lang.IllegalArgumentException: Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.

Stack Overflow | Bronx | 3 months ago
  1. 0

    How to unit test a webservice call with Junit4 and android-async-http?

    Stack Overflow | 3 months ago | Bronx
    java.lang.IllegalArgumentException: Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.
  2. 0

    android-async-http 1.4.5+ not supported

    GitHub | 2 years ago | newaz
    java.lang.IllegalArgumentException: Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.
  3. 0

    Android loopj Async Http crashes after 1.4.5 update

    Stack Overflow | 2 years ago | Phil
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Send Async Http Get Request After Every X Second Inside Service

    Stack Overflow | 2 years ago | dakait
    java.lang.IllegalArgumentException: Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.
  6. 0

    Android loopj Async Http crashes after 1.4.5 update - scriptscoop.com

    scriptscoop.com | 1 year ago
    java.lang.RuntimeException: An error occured while executing doInBackground()

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Synchronous ResponseHandler used in AsyncHttpClient. You should create your response handler in a looper thread or use SyncHttpClient instead.

      at com.loopj.android.http.AsyncHttpClient.sendRequest()
    2. android-async-http Library
      AsyncHttpClient.post
      1. com.loopj.android.http.AsyncHttpClient.sendRequest(AsyncHttpClient.java:1493)
      2. com.loopj.android.http.AsyncHttpClient.post(AsyncHttpClient.java:1169)
      3. com.loopj.android.http.AsyncHttpClient.post(AsyncHttpClient.java:1152)
      3 frames
    3. com.mr_apps.androidbase
      BaseLoopJSecurity.baseOperationWithPath
      1. com.mr_apps.androidbase.webservice.BaseLoopJSecurity.baseOperationWithPath(BaseLoopJSecurity.java:253)
      2. com.mr_apps.androidbase.webservice.BaseLoopJSecurity.baseOperationWithPath(BaseLoopJSecurity.java:204)
      2 frames
    4. com.mr_apps.smoll
      WebServiceTest.configurationCall
      1. com.mr_apps.smoll.webservice.WebServiceSecurity.secureOperationWithPath(WebServiceSecurity.java:39)
      2. com.mr_apps.smoll.webservice.ShopService.getConfigurations(ShopService.java:89)
      3. com.mr_apps.smoll.WebServiceTest.configurationCall(WebServiceTest.java:49)
      3 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    6. JUnit
      RunBefores.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
      5 frames
    7. android.support.test
      ServiceTestRule$ServiceStatement.evaluate
      1. android.support.test.rule.ServiceTestRule$ServiceStatement.evaluate(ServiceTestRule.java:329)
      1 frame
    8. JUnit
      JUnitCore.run
      1. org.junit.rules.RunRules.evaluate(RunRules.java:20)
      2. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      3. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      4. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      5. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      6. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      7. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      8. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      9. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      10. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      11. org.junit.runners.Suite.runChild(Suite.java:128)
      12. org.junit.runners.Suite.runChild(Suite.java:27)
      13. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      14. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      15. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      16. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      17. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      18. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      19. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      20. org.junit.runner.JUnitCore.run(JUnitCore.java:115)
      20 frames
    9. android.support.test
      AndroidJUnitRunner.onStart
      1. android.support.test.internal.runner.TestExecutor.execute(TestExecutor.java:59)
      2. android.support.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:262)
      2 frames
    10. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1879)
      1 frame