jira-importer opened a new issue, #1375: URL: https://github.com/apache/httpcomponents-core/issues/1375
**[Anders Wallgren](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=awallgren)** opened **[HTTPCORE-83](https://issues.apache.org/jira/browse/HTTPCORE-83?redirect=false)** and commented In the current svn head (revision 547953), I'm getting these test failures: --- T E S T S --- Running org.apache.http.nio.TestAll Exception in thread "worker-thread-28" java.lang.IllegalStateException: Buffer already closed for writing at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112) at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67) at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274) at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204) Exception in thread "worker-thread-34" java.lang.IllegalStateException: Buffer already closed for writing at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112) at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67) at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274) at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204) Exception in thread "worker-thread-39" java.lang.IllegalStateException: Buffer already closed for writing at org.apache.http.nio.util.SharedOutputBuffer.write(SharedOutputBuffer.java:112) at org.apache.http.nio.entity.ContentOutputStream.write(ContentOutputStream.java:67) at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:76) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.handleRequest(ThrottlingHttpServiceHandler.java:578) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler.access$000(ThrottlingHttpServiceHandler.java:94) at org.apache.http.nio.protocol.ThrottlingHttpServiceHandler$1.run(ThrottlingHttpServiceHandler.java:274) at org.apache.http.nio.mockup.SimpleThreadPoolExecutor$WorkerThread.run(SimpleThreadPoolExecutor.java:204) Tests run: 100, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 11.224 sec <<< FAILURE! Results : Failed tests: testSimpleHttpGets(org.apache.http.nio.protocol.TestNIOHttp) testSimpleHttpPostsWithContentLength(org.apache.http.nio.protocol.TestNIOHttp) testSimpleHttpPostsHTTP10(org.apache.http.nio.protocol.TestNIOHttp) testSimpleHttpHeads(org.apache.http.nio.protocol.TestNIOHttp) Tests run: 100, Failures: 4, Errors: 0, Skipped: 0 --- **Affects:** 4.0-alpha5 **Attachments:** - [throttling-service-bug.patch](https://issues.apache.org/jira/secure/attachment/12360133/throttling-service-bug.patch) (_37.86 kB_) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
