Return-Path: Delivered-To: apmail-ibatis-dev-archive@www.apache.org Received: (qmail 98443 invoked from network); 30 Aug 2006 20:11:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Aug 2006 20:11:48 -0000 Received: (qmail 21557 invoked by uid 500); 30 Aug 2006 20:11:43 -0000 Delivered-To: apmail-ibatis-dev-archive@ibatis.apache.org Received: (qmail 21483 invoked by uid 500); 30 Aug 2006 20:11:43 -0000 Mailing-List: contact dev-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ibatis.apache.org Delivered-To: mailing list dev@ibatis.apache.org Received: (qmail 21392 invoked by uid 99); 30 Aug 2006 20:11:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 13:11:43 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Aug 2006 13:11:42 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 212227142D4 for ; Wed, 30 Aug 2006 20:08:23 +0000 (GMT) Message-ID: <895074.1156968503117.JavaMail.jira@brutus> Date: Wed, 30 Aug 2006 13:08:23 -0700 (PDT) From: "adamb (JIRA)" To: dev@ibatis.apache.org Subject: [jira] Commented: (IBATIS-338) NestedSqlException stack overflow In-Reply-To: <20207157.1156910362252.JavaMail.jira@brutus> 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/IBATIS-338?page=comments#action_12431675 ] adamb commented on IBATIS-338: ------------------------------ No sorry. We use a code generator, and the SqlMap formats have changed for 2. We currenly have no plan to invest time in updating the generator to make it 1.2 compatible (Plus our clients require the use of n-1 technology so would not accept a solution based on 1.2) > NestedSqlException stack overflow > --------------------------------- > > Key: IBATIS-338 > URL: http://issues.apache.org/jira/browse/IBATIS-338 > Project: iBatis for Java > Issue Type: Bug > Affects Versions: 2.1.5 > Reporter: adamb > > ... > at com.ibatis.common.jdbc.exception.NestedSQLException.toString(NestedSQLException.java:113) > at com.ibatis.common.jdbc.exception.NestedSQLException.toString(NestedSQLException.java:113) > ... > In the code you can see that if cause==this then the NestedSqlException.toString() method will infinitely recurse causing a stack overflow. I'm not sure what is causeing (cause==this) to be set to this though... -- 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