Return-Path: Delivered-To: apmail-jakarta-regexp-dev-archive@jakarta.apache.org Received: (qmail 53462 invoked by uid 500); 22 Jun 2001 10:34:44 -0000 Mailing-List: contact regexp-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: regexp-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list regexp-dev@jakarta.apache.org Received: (qmail 53241 invoked from network); 22 Jun 2001 10:34:37 -0000 Date: 22 Jun 2001 10:34:31 -0000 Message-ID: <20010622103431.18817.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: regexp-dev@jakarta.apache.org, lieu_isabelle@yahoo.fr Cc: gilbert.langevin@bell.ca, pointeau_sylvain@yahoo.fr Subject: [Bug 764] - java.lang.StackOverflowError X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N http://nagoya.apache.org/bugzilla/show_bug.cgi?id=764 *** shadow/764 Tue Jun 12 10:10:24 2001 --- shadow/764.tmp.18814 Fri Jun 22 03:34:31 2001 *************** *** 191,193 **** --- 191,408 ---- ------- Additional Comments From mailtomark@gmx.net 2001-06-12 10:10 ------- Oh, I forgot: I had this problem with both regexp 1.1 and 1.2 + + ------- Additional Comments From scorpiel@yahoo.com 2001-06-22 03:34 ------- + I have come up with an Error using Regular Expression. A + java.lang.StackOverflowError + occuring at the line where i am trying to match an RE against some String. + + Please, help me. I'll be very thankfull to you. + + System: x86 + OS: Red Hat Linux 7 + Database: Sybase 11 + Development Tool: JSP + Regular Expression: jakarta-regexp-1.2 + + + Code Snippet: + try + { + ObjRegExpExt = new org.apache.regexp.RE(mstrDetailExtRegEx) ; // RE + is provided below + ObjRegExpExt.setMatchFlags(ObjRegExpExt.MATCH_CASEINDEPENDENT) ; + } + catch (Exception e) + { + System.out.println("Exception Rose: " + e.toString()); + } + + // Match the RegExp + boolean bMatched1= ObjRegExpExt.match(mstrHTMLSource) ; // This line is + responsible for StackOverflowError + + Java Documentaion says that; + public class StackOverflowError + extends VirtualMachineError + Thrown when a stack overflow occurs because an application recurses too deeply. + + + + RE(mstrDetailExtRegEx): + (.*)Silver + Plan(.*)
+ + String is (mstrHTMLSource): + Unicard Travel Association Quote + & Buy
+
+
< + img name="Image5" border="0" src="images/bt_quote.gif" + width="88"> < + img name="Image9" border="0" src="images/bt_links.gif" + width="85">  

Quote & + Buy

Silver Plan
US$835

+
Gold Plan
US$1115

+
+ +
Platinum Plan
US$1230

Click here to review plan costs + and benefits
Click + here to bring up a currency converter

+
Number of + Travelers   Length of + Membership
Under Age 2
Ages 2 - 15 Is this a + Family Plan?
Ages 16 - + 64
+ Family Plan is limited to 4 travelers
Family plan is limited + to parent(s) traveling
with dependent children age 23 or + under.
Ages 65 - 74
Ages 75 - 84


Home | Quote & + Buy | Cost & + Benefits | Plan + Details | FAQ | Links
Help | Member + Services | Affiliates | + Privacy Statement

© Copyright 1999, Unicard Travel + Association

+ + + + regards, + Ahmed Shaikh \ No newline at end of file