Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 43415 invoked from network); 12 Feb 2007 17:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Feb 2007 17:25:31 -0000 Received: (qmail 76525 invoked by uid 500); 12 Feb 2007 17:25:36 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 76334 invoked by uid 500); 12 Feb 2007 17:25:35 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 76313 invoked by uid 99); 12 Feb 2007 17:25:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 09:25:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Feb 2007 09:25:27 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CD39B71432B for ; Mon, 12 Feb 2007 09:25:06 -0800 (PST) Message-ID: <28749807.1171301106838.JavaMail.jira@brutus> Date: Mon, 12 Feb 2007 09:25:06 -0800 (PST) From: "Oleg Kalnichevski (JIRA)" To: httpcomponents-dev@jakarta.apache.org Subject: [jira] Assigned: (HTTPCORE-44) NPE in BufferingHttpServiceHandler when request is invalid In-Reply-To: <16081550.1171300985728.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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