jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Re: Stack Overflow Error while parsing a long String
Date Fri, 19 Jan 2007 00:07:26 GMT
Sinha, Sahasrangshu(Anshinsoft) wrote:
> Hi,
>   We use regexp package in our application. We have encountered an error
> while parsing a long string (with over than 8000 characters) as a value
> of a tag during SWIFT processing.
> 
> encountered exception
> java.lang.StackOverflowError
>  at org.apache.regexp.StringCharacterIterator.charAt(Unknown Source)
>  at org.apache.regexp.RE.matchNodes(Unknown Source)
> 
> Is there any environmental remedy required (i.e. increasing Stack size of
> JVM) or is it incapability of regexp to parse long string?

Yes.

> Thanks in advance for your valuable comments or suggestion.

That is a well known issue, details are in Bug #764 [1]

Vadim

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=764


---------------------------------------------------------------------
To unsubscribe, e-mail: regexp-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: regexp-dev-help@jakarta.apache.org


Mime
View raw message