Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 30061 invoked from network); 3 Jun 2010 21:58:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Jun 2010 21:58:23 -0000 Received: (qmail 41555 invoked by uid 500); 3 Jun 2010 21:58:22 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 41505 invoked by uid 500); 3 Jun 2010 21:58:22 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 41498 invoked by uid 99); 3 Jun 2010 21:58:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 21:58:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jun 2010 21:58:19 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o53LvvJB004975 for ; Thu, 3 Jun 2010 21:57:58 GMT Message-ID: <24234551.168551275602277881.JavaMail.jira@thor> Date: Thu, 3 Jun 2010 17:57:57 -0400 (EDT) From: "Lance Norskog (JIRA)" To: dev@lucene.apache.org Subject: [jira] Created: (SOLR-1940) SolrDispatchFilter sets content type as NULL MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org SolrDispatchFilter sets content type as NULL -------------------------------------------- Key: SOLR-1940 URL: https://issues.apache.org/jira/browse/SOLR-1940 Project: Solr Issue Type: Bug Reporter: Lance Norskog o.a.s.h.SolrDispatchFilter can set the output Content-Type to a null pointer instead of a string. Under websphere this results in a NullPointerException. This is the offending code: .bq response.setContentType(responseWriter.getContentType(solrReq, solrRsp)); Suggestions: either use a default content type or do not set the content type. -- 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: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org