Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 55916 invoked from network); 27 Feb 2006 17:37:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Feb 2006 17:37:06 -0000 Received: (qmail 48589 invoked by uid 500); 27 Feb 2006 17:37:04 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48548 invoked by uid 500); 27 Feb 2006 17:37:04 -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 48538 invoked by uid 99); 27 Feb 2006 17:37:04 -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; Mon, 27 Feb 2006 09:36:55 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 77A66DD for ; Mon, 27 Feb 2006 18:36:28 +0100 (CET) Message-ID: <1480667435.1141061788488.JavaMail.jira@ajax.apache.org> Date: Mon, 27 Feb 2006 18:36:28 +0100 (CET) From: "Anurag Shekhar (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (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=comments#action_12367992 ] Anurag Shekhar commented on DERBY-1061: --------------------------------------- runnning test case jdbcapi/connectionJdbc20.java exposes this bug > 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 > > 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