jira-importer opened a new issue, #810: URL: https://github.com/apache/httpcomponents-core/issues/810
**[Steffen Pingel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=spingel)** opened **[HTTPCORE-72](https://issues.apache.org/jira/browse/HTTPCORE-72?redirect=false)** and commented I was using an object of type BasicHttpParams which had no properties set and got an exception in the constructor of ExpandableBuffer when I tried to create a DefaultNHttpServerConnection. It is somewhat difficult for a caller to tell from the trace was the cause of the error actually is: java.lang.IllegalArgumentException at java.nio.Buffer.\<init>(Buffer.java:174) at java.nio.ByteBuffer.\<init>(ByteBuffer.java:259) at java.nio.ByteBuffer.\<init>(ByteBuffer.java:267) at java.nio.MappedByteBuffer.\<init>(MappedByteBuffer.java:64) at java.nio.DirectByteBuffer.\<init>(DirectByteBuffer.java:94) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288) at org.apache.http.nio.util.ExpandableBuffer.\<init>(ExpandableBuffer.java:46) at org.apache.http.impl.nio.reactor.SessionInputBuffer.\<init>(SessionInputBuffer.java:55) at org.apache.http.impl.nio.NHttpConnectionBase.\<init>(NHttpConnectionBase.java:111) at org.apache.http.impl.nio.DefaultNHttpServerConnection.\<init>(DefaultNHttpServerConnection.java:63) [...] --- **Affects:** 4.0-alpha5 -- 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]
