[
https://issues.apache.org/jira/browse/HTTPCORE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Kalnichevski resolved HTTPCORE-44.
---------------------------------------
Resolution: Fixed
Checked in a fix for the bug. Please re-test and re-open the report of the
problem persists.
Oleg
> NPE in BufferingHttpServiceHandler when request is invalid
> ----------------------------------------------------------
>
> Key: HTTPCORE-44
> URL: https://issues.apache.org/jira/browse/HTTPCORE-44
> Project: HttpComponents Core
> Issue Type: Bug
> Components: HttpCore NIO
> Reporter: Steffen Pingel
> Assigned To: Oleg Kalnichevski
> Fix For: 4.0-alpha4
>
>
> 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)
> [...]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]