Bug 21932 - Exception in OpCode._getNextOffset
Summary: Exception in OpCode._getNextOffset
Status: CLOSED WORKSFORME
Alias: None
Product: ORO
Classification: Unclassified
Component: Main (show other bugs)
Version: 2.0.7
Hardware: PC FreeBSD
: P3 major (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-28 11:47 UTC by Ernst de Haan
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst de Haan 2003-07-28 11:47:39 UTC
Got an exception while matching a Perl 5 regular expression. Although I cannot reproduce the 
problem, I do have a stacktrace. You may be able to fix the problem without more 
information. If you're not, I may be able produce a reproducible test case with some effort. 
 
java.lang.ArrayIndexOutOfBoundsException: 74 
	at org.apache.oro.text.regex.OpCode._getNextOffset(Unknown Source) 
	at org.apache.oro.text.regex.OpCode._getNext(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__match(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.__tryExpression(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.matches(Unknown Source) 
	at org.apache.oro.text.regex.Perl5Matcher.matches(Unknown Source) 
	at org.xins.types.PatternType.isValidValueImpl(Unknown Source) 
	at org.xins.types.Type.isValidValue(Unknown Source) 
	at nl.wanadoo.sso.api.Login.handleCall(Login.java:79) 
	at org.xins.server.API.handleCall(Unknown Source) 
	at org.xins.server.APIServlet.service(Unknown Source)
Comment 1 Daniel F. Savarese 2003-07-29 02:19:31 UTC
Can't do anything without a test case.  At the very least, the regular expression
and the input that causes the problem.  It could well be addressed by changing
the regular expression.  There is also at least one fix in CVS for the upcoming
2.0.8 maintenance release that has a slim chance of being related and may fix
the problem.  However, without further information, unless you can also reproduce
the problem on Linux and Win32 JVMs, this sounds like it may be a FreeBSD JVM
issue.
Comment 2 Daniel F. Savarese 2003-08-17 18:08:52 UTC
No sample code has been submitted reproducing the problem and I can't recreate
it so I'm makring it WORKSFORME.  The report can always be reopened or a new
one opened if someone submits a test case.
Comment 3 Daniel F. Savarese 2004-11-07 16:02:51 UTC
This issues been resolved for a long while.  Therefore I'm closing it.