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

Stack Overflow | Alex | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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.
  2. 0

    Jersey filter giving server error

    Stack Overflow | 2 months ago | Eswar
    java.lang.IllegalStateException: The output stream has already been closed.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    7 unregistered visitors

    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