java.lang.IllegalStateException: response is already committed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.
java.lang.IllegalStateException: response is already committed
at com.terracotta.session.util.DefaultCookieWriter.writeCookie(DefaultCookieWriter.java:62)
at com.terracotta.session.TerracottaSessionManager.writeCookieIfHop(TerracottaSessionManager.java:442)
at com.terracotta.session.TerracottaSessionManager.getSessionIfExists(TerracottaSessionManager.java:435)
at com.terracotta.session.SessionRequest.getTerracottaSession(SessionRequest.java:104)
at com.terracotta.session.TerracottaSessionManager.postprocessSession(TerracottaSessionManager.java:351)
at com.terracotta.session.TerracottaSessionManager.basicPostprocess(TerracottaSessionManager.java:327)
at com.terracotta.session.TerracottaSessionManager.postprocess(TerracottaSessionManager.java:307)
at com.terracotta.session.SessionFilter.doHttpFilter(SessionFilter.java:76)
at com.terracotta.session.SessionFilter.doFilter(SessionFilter.java:58)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1139)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:378)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:535)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:865)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.