java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Closed

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

    Extract results from WSResponse PlayWS - Java

    Stack Overflow | 9 months ago | Akila Hettiarachchi
    java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Closed

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Closed

      at org.asynchttpclient.netty.request.NettyRequestSender.sendRequest()
    2. org.asynchttpclient.netty
      NettyRequestSender.sendRequest
      1. org.asynchttpclient.netty.request.NettyRequestSender.sendRequest(NettyRequestSender.java:91)
      1 frame
    3. org.asynchttpclient
      DefaultAsyncHttpClient.executeRequest
      1. org.asynchttpclient.DefaultAsyncHttpClient.execute(DefaultAsyncHttpClient.java:220)
      2. org.asynchttpclient.DefaultAsyncHttpClient.executeRequest(DefaultAsyncHttpClient.java:188)
      2 frames
    4. play.libs.ws
      AhcWSRequest.get
      1. play.libs.ws.ahc.AhcWSRequest.execute(AhcWSRequest.java:582)
      2. play.libs.ws.ahc.AhcWSRequest.lambda$execute$2(AhcWSRequest.java:427)
      3. play.libs.ws.ahc.AhcWSRequest.execute(AhcWSRequest.java:429)
      4. play.libs.ws.ahc.AhcWSRequest.execute(AhcWSRequest.java:419)
      5. play.libs.ws.ahc.AhcWSRequest.get(AhcWSRequest.java:284)
      5 frames
    5. com.kohls.bi
      PlayWSClientTest.testHandle
      1. com.kohls.bi.koedt.utils.PlayWSClient.handle(PlayWSClient.java:64)
      2. com.kohls.bi.koedt.utils.PlayWSClientTest.testHandle(PlayWSClientTest.java:29)
      2 frames
    6. 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
    7. JUnit
      JUnitCore.run
      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.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      14. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
      14 frames
    8. IntelliJ junit4 module
      JUnit4IdeaTestRunner.startRunnerWithArgs
      1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
      1 frame
    9. 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
    10. 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
    11. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
      1 frame