com.nst.cropio.api.utils.RetrofitException: retrofit.RetrofitError: Unexpected end of file from server; url = http://localhost:8080/api/v3/field_scout_reports

Google Groups | Larion Babych | 7 months 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

    Test success depends on ordering

    Google Groups | 7 months ago | Larion Babych
    com.nst.cropio.api.utils.RetrofitException: retrofit.RetrofitError: Unexpected end of file from server; url = http://localhost:8080/api/v3/field_scout_reports

    Root Cause Analysis

    1. com.nst.cropio.api.utils.RetrofitException

      retrofit.RetrofitError: Unexpected end of file from server; url = http://localhost:8080/api/v3/field_scout_reports

      at com._____.utils.CustomCallback.handleCallBack()
    2. com._____.utils
      CustomCallback.handleCallBack
      1. com._____.utils.CustomCallback.handleCallBack(CustomCallback.java:48)
      1 frame
    3. com._______.clients
      EditableApiClient.insert
      1. com._______.clients.EditableApiClient.insert(EditableApiClient.java:44)
      1 frame
    4. com________.clients
      EditableApiClientTest.test1Insert
      1. com________.clients.EditableApiClientTest.test1Insert(EditableApiClientTest.java:48)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    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. WireMock
      WireMockRule$1.evaluate
      1. com.github.tomakehurst.wiremock.junit.WireMockRule$1.evaluate(WireMockRule.java:72)
      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.runner.JUnitCore.run(JUnitCore.java:137)
      11 frames
    9. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:119)
      2. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:42)
      2 frames
    10. IDEA
      JUnitStarter.main
      1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
      2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    12. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame