Return-Path: Delivered-To: apmail-incubator-ibatis-user-java-archive@www.apache.org Received: (qmail 63959 invoked from network); 24 Feb 2005 22:50:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 Feb 2005 22:50:41 -0000 Received: (qmail 68495 invoked by uid 500); 24 Feb 2005 22:50:40 -0000 Delivered-To: apmail-incubator-ibatis-user-java-archive@incubator.apache.org Received: (qmail 68468 invoked by uid 500); 24 Feb 2005 22:50:40 -0000 Mailing-List: contact ibatis-user-java-help@incubator.apache.org; run by ezmlm Precedence: bulk Reply-To: ibatis-user-java@incubator.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list ibatis-user-java@incubator.apache.org Received: (qmail 68447 invoked by uid 99); 24 Feb 2005 22:50:40 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of brandon.goodin@gmail.com designates 64.233.170.200 as permitted sender) Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (64.233.170.200) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 24 Feb 2005 14:50:40 -0800 Received: by rproxy.gmail.com with SMTP id c16so483908rne for ; Thu, 24 Feb 2005 14:50:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=VZ8/ivCuDPo4dqVI1gyUH/46nHzhkiN51+SGUfieM/3yPOelxywzoxFzUOskQ6f4XrDG0onLYaIFb3hGKDwJ/M1B38y8O/7QKIXvstt0SfSYbrj3va9ybwzmtwgY5fZcQyvyzpKNbGpt7buja3sK1+FBbd3OmYmdr8kwGvHPEUQ= Received: by 10.38.74.7 with SMTP id w7mr186447rna; Thu, 24 Feb 2005 14:50:38 -0800 (PST) Received: by 10.38.74.53 with HTTP; Thu, 24 Feb 2005 14:50:38 -0800 (PST) Message-ID: <2fe5ef5b05022414505f27e53c@mail.gmail.com> Date: Thu, 24 Feb 2005 15:50:38 -0700 From: Brandon Goodin Reply-To: Brandon Goodin To: ibatis-user-java@incubator.apache.org Subject: Re: java.lang.NoSuchMethodError at com.ibatis.common.xml.NodeletP arse r.processNodelet(NodeletParser.java:112) In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry, The 1.4 exception handling has been changed. It is now 1.3 compatible. Yes, it is in the 2.0.9b release. If you still get the error it is possible you have a xml parser problem. What xml parser implementation are you using? Brandon On Thu, 24 Feb 2005 22:36:09 -0000, Yee, Richard K, CTR,, DMDCWEST wrote: > Brandon, > Thanks for your reply. Which release is it fixed in? 2.0.9b? Which problem > are you referring to? I tried replacing the call to RuntimeException(Object, > Throwable) on line 112 with a RuntimeException(String) and still got the > same error. I want to know if the exception that is thrown when > nodelet.process(Node) is called on line 110. > > Thanks, > > Richard > > > -----Original Message----- > From: Brandon Goodin [mailto:brandon.goodin@gmail.com] > Sent: Thursday, February 24, 2005 2:11 PM > To: ibatis-user-java@incubator.apache.org > Subject: Re: java.lang.NoSuchMethodError at > com.ibatis.common.xml.NodeletParse r.processNodelet(NodeletParser.java:112) > > This is a known problem. It has been fixed for the next release. > > Brandon > > On Thu, 24 Feb 2005 21:50:26 -0000, Yee, Richard K, CTR,, DMDCWEST > wrote: > > Hello list, > > I'm using JDK 1.3.1_04 and Oracle Application Server 9.0.2. I'm > > getting the following error: > > > > 2/24/05 1:31 PM: java.lang.NoSuchMethodError > > 2/24/05 1:31 PM: at > > com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.java:112) > > 2/24/05 1:31 PM: at > > com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:94) > > 2/24/05 1:31 PM: at > > com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:91) > > 2/24/05 1:31 PM: at > > com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:91) > > 2/24/05 1:31 PM: at > > com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:61) > > 2/24/05 1:31 PM: at > > com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:49) > > 2/24/05 1:31 PM: at > > com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapCo > > nfigPa > > rser.java:77) > > 2/24/05 1:31 PM: at > > > com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigPa > > rser.java:68) > > 2/24/05 1:31 PM: at > > > com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB > > uilder.java:78) > > 2/24/05 1:31 PM: at > > > com.ibatis.dao.engine.transaction.sqlmap.SqlMapDaoTransactionManager.configu > > re(SqlMapDaoTransactionManager.java:52) > > 2/24/05 1:31 PM: at > > > com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.parseTransactionManag > > er(XmlDaoManagerBuilder.java:190) > > 2/24/05 1:31 PM: at > > > com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.parseContext(XmlDaoMa > > nagerBuilder.java:154) > > 2/24/05 1:31 PM: at > > > com.ibatis.dao.engine.builder.xml.XmlDaoManagerBuilder.buildDaoManager(XmlDa > > oManagerBuilder.java:99) > > > > Here is the code for processNodelet() from > > com.ibatis.common.xml.NodeletParser.java > > private void processNodelet(Node node, String pathString) { > > Nodelet nodelet = (Nodelet) letMap.get(pathString); > > if (nodelet != null) { > > try { > > nodelet.process(node); > > } catch (Exception e) { > > throw new RuntimeException("Error parsing XPath '" + > > pathString + "'. Cause: " + e); > > } > > } > > } > > > > One thing I know is that the call to new RuntimeException(String, > > Throwable) is a 1.4 specific method signature. I'm trying to find the > > problem thats causing the application to fail in the first place. The > > same application and sqlMap files work on JDeveloper 10g. Is this a > > XML library compatibility problem? > > > > Thanks, > > > > Richard > > > > >