Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 70726 invoked from network); 8 Oct 2007 01:20:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2007 01:20:50 -0000 Received: (qmail 52244 invoked by uid 500); 8 Oct 2007 01:20:38 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 52222 invoked by uid 500); 8 Oct 2007 01:20:37 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 52207 invoked by uid 99); 8 Oct 2007 01:20:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Oct 2007 18:20:37 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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, 08 Oct 2007 01:20:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C085D714233 for ; Sun, 7 Oct 2007 18:19:50 -0700 (PDT) Message-ID: <12315344.1191806390786.JavaMail.jira@brutus> Date: Sun, 7 Oct 2007 18:19:50 -0700 (PDT) From: "Jonathan Purvis (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Created: (TORQUE-103) TorqueRuntimeException.splitStackTrace has invalid cast. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org TorqueRuntimeException.splitStackTrace has invalid cast. -------------------------------------------------------- Key: TORQUE-103 URL: https://issues.apache.org/jira/browse/TORQUE-103 Project: Torque Issue Type: Bug Components: Runtime Affects Versions: 3.3-RC2 Reporter: Jonathan Purvis line 225 of TorqueRuntimeException.java has: return (String[]) list.toArray(); it should be: return (String[]) list.toArray(new String[list.size()]); Otherwise the returned array will be of type Object[] and the cast will fail at runtime. -- 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: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org