SmartGwt: 4.1p
JDK: 1.6 and 1.7
Very recently we upgraded to 4.1p from 3.1p.
Now I am getting IllegalStateException NO CONTENT when I try to run my application in the Eclipse Kepler which is using Jetty.
=== 2014-07-08 08:39:00,167 - [4-29] INFO com.isomorphic.compression.Compression:398 - /Triad40.html: 0 -> 20 bytes
=== 2014-07-08 08:39:00,167 - [4-29] ERROR com.isomorphic.compression.Compression:334 - Caught exception in doFilter() - for URI: /Triad40.html
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:387)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:662)
Please give me some idea on how to fix this.
JDK: 1.6 and 1.7
Very recently we upgraded to 4.1p from 3.1p.
Now I am getting IllegalStateException NO CONTENT when I try to run my application in the Eclipse Kepler which is using Jetty.
=== 2014-07-08 08:39:00,167 - [4-29] INFO com.isomorphic.compression.Compression:398 - /Triad40.html: 0 -> 20 bytes
=== 2014-07-08 08:39:00,167 - [4-29] ERROR com.isomorphic.compression.Compression:334 - Caught exception in doFilter() - for URI: /Triad40.html
java.lang.IllegalStateException: NO CONTENT
at org.eclipse.jetty.http.HttpGenerator.addContent(HttpGenerator.java:176)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:155)
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:107)
at java.io.ByteArrayOutputStream.writeTo(ByteArrayOutputStream.java:109)
at com.isomorphic.compression.ServletCompression.compressAndSend(ServletCompression.java:159)
at com.isomorphic.servlet.CompressionFilter.doFilter(CompressionFilter.java:387)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:68)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:662)
Please give me some idea on how to fix this.
Comment