hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HTTPCORE-44) NPE in BufferingHttpServiceHandler when request is invalid
Date Mon, 12 Feb 2007 17:25:06 GMT

     [ https://issues.apache.org/jira/browse/HTTPCORE-44?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski reassigned HTTPCORE-44:
-----------------------------------------

    Assignee: Oleg Kalnichevski

> 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
>
> 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: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message