Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 35934 invoked from network); 2 Mar 2006 01:20:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Mar 2006 01:20:15 -0000 Received: (qmail 44520 invoked by uid 500); 2 Mar 2006 01:21:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44483 invoked by uid 500); 2 Mar 2006 01:21:01 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 44474 invoked by uid 99); 2 Mar 2006 01:21:01 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Mar 2006 17:21:01 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5088BDD for ; Thu, 2 Mar 2006 02:20:40 +0100 (CET) Message-ID: <807800376.1141262440327.JavaMail.jira@ajax.apache.org> Date: Thu, 2 Mar 2006 02:20:40 +0100 (CET) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1061) SqlException while fetching message results in recursive calls between SqlException.getSQLException and Sqlca.getJDBCMessage In-Reply-To: <101309949.1141061576466.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1061?page=all ] Rick Hillegas updated DERBY-1061: --------------------------------- Attachment: derbyall_report.txt Hi Anurag, I applied this patch and ran derbyall. I saw 35 failed tests. Most of these are message formatting problems and so appear to be related to your patch. I'm attaching the derbyall report. > SqlException while fetching message results in recursive calls between SqlException.getSQLException and Sqlca.getJDBCMessage > ---------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1061 > URL: http://issues.apache.org/jira/browse/DERBY-1061 > Project: Derby > Type: Sub-task > Reporter: Anurag Shekhar > Assignee: Anurag Shekhar > Attachments: derby-1061.diff, derbyall_report.txt > > stored procedure is used to fetch localised message in net work client > because of issue 1059 the call to the stored prcedures fails resulting in SqlException. When SqlException.getSQLException, to set exceptionThrownOnStoredProcInvocation_, is called it again results in a call to SqlException.getMessage which call Sqlca.getJDBCMessage. > The cycle repeats and finally ends up with StackOverfilowError > fixing 1059 will solve this problem temporarily but some other situaltion may cause it again. > Isuggest seting SqlException itself to exceptionThrownOnStoredProcInvocation_ to break this loop. -- 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