From adffaces-issues-return-1180-apmail-incubator-adffaces-issues-archive=incubator.apache.org@incubator.apache.org Wed Oct 04 17:29:31 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-issues-archive@locus.apache.org Received: (qmail 33964 invoked from network); 4 Oct 2006 17:29:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2006 17:29:31 -0000 Received: (qmail 8471 invoked by uid 500); 4 Oct 2006 17:29:31 -0000 Delivered-To: apmail-incubator-adffaces-issues-archive@incubator.apache.org Received: (qmail 8403 invoked by uid 500); 4 Oct 2006 17:29:31 -0000 Mailing-List: contact adffaces-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-issues@incubator.apache.org Delivered-To: mailing list adffaces-issues@incubator.apache.org Received: (qmail 8387 invoked by uid 99); 4 Oct 2006 17:29:30 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2006 10:29:30 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:52990] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id B8/73-17684-A7FE3254 for ; Wed, 04 Oct 2006 10:29:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A8F687142D1 for ; Wed, 4 Oct 2006 10:29:19 -0700 (PDT) Message-ID: <2649610.1159982959689.JavaMail.root@brutus> Date: Wed, 4 Oct 2006 10:29:19 -0700 (PDT) From: "Venkata Guddanti (JIRA)" To: adffaces-issues@incubator.apache.org Subject: [jira] Created: (ADFFACES-217) DispatchServletResponse crashes when the mime-type is not known MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DispatchServletResponse crashes when the mime-type is not known --------------------------------------------------------------- Key: ADFFACES-217 URL: http://issues.apache.org/jira/browse/ADFFACES-217 Project: MyFaces ADF-Faces Issue Type: Bug Components: Archetype Environment: Server Reporter: Venkata Guddanti Priority: Trivial Attachments: trunk.patch DispatchServletResponse does not check for contentTypeAndCharset being null in the setContentType. If a mime-type of a particular document is not set on the server, the contentTypeAndCharset can be null. This crashes the server. The fix is to check for null. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira