Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] HttpClient: what is "IllegalStateException: SENDING => HEADERS" error

Hi,
can somebody rephrase into English what does mean this exception
thrown by HttpClient?

java.lang.IllegalStateException: SENDING => HEADERS
	at org.eclipse.jetty.client.HttpExchange.setStatus(HttpExchange.java:370)
	at org.eclipse.jetty.client.AbstractHttpConnection$Handler.startResponse(AbstractHttpConnection.java:298)
	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:485)
	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
	at org.eclipse.jetty.client.AsyncHttpConnection.handle(AsyncHttpConnection.java:133)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
	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:722)

Such message is very cryptic. It saying simply nothing and, moreover,
HttpClient is de facto without javadoc. But tcpdump is showing that
server is responding with normal HTTP 200 response.


Back to the top