jira-importer opened a new issue, #939: URL: https://github.com/apache/httpcomponents-core/issues/939
**[Steffen Pingel](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=spingel)** opened **[HTTPCORE-44](https://issues.apache.org/jira/browse/HTTPCORE-44?redirect=false)** and commented I get a NullPointerException in BufferingHttpServiceHandler on head of HttpCore when sending an invalid request. The exception is "org.apache.http.ProtocolException: Invalid request line: / HTTP/1.1" which is delegated in DefaultNHttpServerConnection.consumeInput() to BufferingHttpServiceHandler which assumes that a valid request has been constructed which is not the case: Caused by: java.lang.NullPointerException at org.apache.http.nio.protocol.BufferingHttpServiceHandler.handleException(BufferingHttpServiceHandler.java:294) at org.apache.http.nio.protocol.BufferingHttpServiceHandler.exception(BufferingHttpServiceHandler.java:196) at org.apache.http.impl.nio.DefaultNHttpServerConnection.consumeInput(DefaultNHttpServerConnection.java:119) at org.apache.http.impl.nio.DefaultServerIOEventDispatch.inputReady(DefaultServerIOEventDispatch.java:77) [...] --- No further details from [HTTPCORE-44](https://issues.apache.org/jira/browse/HTTPCORE-44?redirect=false) -- 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]
