Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E6FFA987B for ; Wed, 10 Dec 2014 20:05:12 +0000 (UTC) Received: (qmail 68193 invoked by uid 500); 10 Dec 2014 20:05:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 68157 invoked by uid 500); 10 Dec 2014 20:05:12 -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 68144 invoked by uid 99); 10 Dec 2014 20:05:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 20:05:12 +0000 Date: Wed, 10 Dec 2014 20:05:12 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-8455) IndexOutOfBoundsException when building SyntaxError message snippet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tyler Hobbs created CASSANDRA-8455: -------------------------------------- Summary: IndexOutOfBoundsException when building SyntaxError message snippet Key: CASSANDRA-8455 URL: https://issues.apache.org/jira/browse/CASSANDRA-8455 Project: Cassandra Issue Type: Bug Components: Core Reporter: Tyler Hobbs Assignee: Benjamin Lerer Priority: Minor Fix For: 2.1.3 It looks like some syntax errors can result in an IndexOutOfBoundsException when the error message snippet is being built: {noformat} cqlsh> create table foo (a int primary key, b int; {noformat} There isn't any error or stacktrace in the server logs. It would be good to fix that as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)