Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] IllegalArgumentException

On 2014-08-12 16:14:03 +0000, Petar Tahchiev said:
java.lang.IllegalArgumentException: setContentLength(894) when already written 25797
	at org.eclipse.jetty.server.Response.setContentLength(Response.java:1003)
at org.springframework.web.filter.ShallowEtagHeaderFilter.updateResponse(ShallowEtagHeaderFilter.java:117)

The second line of your stacktrace is from the Spring framework. The name looks like a filter. I'd guess that the filter calculated a different conent length then Jetty. Perhaps more content was written than the filter expected?

-Gunnar

--
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx




Back to the top