java.lang.IllegalStateException: The output stream has already been closed.

Stack Overflow | Alex | 5 months ago
  1. 0

    Jersey throws NPE for each call after using ContainerRequestContext.abortWith()

    Stack Overflow | 5 months ago | Alex
    java.lang.IllegalStateException: The output stream has already been closed.
  2. 0

    0.8.0-rc3 IllegalStateException on 2nd PUT returning 400

    GitHub | 2 years ago | brackxm
    java.lang.IllegalStateException: The output stream has already been closed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Jetbrains' Team Tools Setup

    Stack Overflow | 4 months ago | Dylan Van Bommel
    javax.ws.rs.client.ResponseProcessingException: Failed to convert a response into an exception.

    7 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.IllegalStateException

      The output stream has already been closed.

      at org.glassfish.jersey.message.internal.CommittingOutputStream.setStreamProvider()
    2. Jersey Core
      OutboundMessageContext.setStreamProvider
      1. org.glassfish.jersey.message.internal.CommittingOutputStream.setStreamProvider(CommittingOutputStream.java:147)
      2. org.glassfish.jersey.message.internal.OutboundMessageContext.setStreamProvider(OutboundMessageContext.java:803)
      2 frames
    3. jersey-core-server
      ServerRuntime$2.run
      1. org.glassfish.jersey.server.ContainerResponse.setStreamProvider(ContainerResponse.java:372)
      2. org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:694)
      3. org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444)
      4. org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434)
      5. org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329)
      5 frames
    4. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)
      2. org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      4. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      5. org.glassfish.jersey.internal.Errors.process(Errors.java:267)
      6. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)
      6 frames
    5. jersey-core-server
      ApplicationHandler.handle
      1. org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)
      2. org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)
      2 frames
    6. jersey-container-grizzly2-http
      GrizzlyHttpContainer.service
      1. org.glassfish.jersey.grizzly2.httpserver.GrizzlyHttpContainer.service(GrizzlyHttpContainer.java:384)
      1 frame
    7. Grizzly Server
      HttpHandler$1.run
      1. org.glassfish.grizzly.http.server.HttpHandler$1.run(HttpHandler.java:224)
      1 frame
    8. Grizzly
      AbstractThreadPool$Worker.run
      1. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:591)
      2. org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:571)
      2 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame