Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 13973 invoked from network); 25 Feb 2011 19:59:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 19:59:46 -0000 Received: (qmail 11635 invoked by uid 500); 25 Feb 2011 19:59:45 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 11601 invoked by uid 500); 25 Feb 2011 19:59:45 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 11593 invoked by uid 99); 25 Feb 2011 19:59:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 19:59:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 19:59:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B9C331ADB4A for ; Fri, 25 Feb 2011 19:59:21 +0000 (UTC) Date: Fri, 25 Feb 2011 19:59:21 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <338552740.402.1298663961757.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <786302452.169.1298662101767.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (CASSANDRA-2251) unhelpful exception when failing to set keyspace 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 [ https://issues.apache.org/jira/browse/CASSANDRA-2251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999520#comment-12999520 ] Jonathan Ellis commented on CASSANDRA-2251: ------------------------------------------- maybe we should move the check into getKeyspace? there's a bunch of callers that don't call vCF afterwards. > unhelpful exception when failing to set keyspace > ------------------------------------------------ > > Key: CASSANDRA-2251 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2251 > Project: Cassandra > Issue Type: Bug > Reporter: Eric Evans > Assignee: Eric Evans > Attachments: v1-0001-CASSANDRA-2251-raise-IRE-for-null-keyspace-argument.txt > > > If you fail to set the keyspace, {{ThriftValidation.validateColumnFamily()}} raises an {{AssertionError}}, which remotely results in a {{TApplicationException}}. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira