Is this a bug with oro?
"Balaji" <[email protected]> Tue, 31 Mar 2009 17:52:21 +0530
| Newsgroups | gmane.comp.jakarta.oro.user |
|---|---|
| Organization | Lister |
| Message-ID | <[email protected]> |
------=_NextPart_000_011A_01C9B229.72E519B0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Hello,
I occassionally get the below exception. The call to getMatch is causing a
NullPointerException.
Caused by: java.lang.NullPointerException
at org.apache.oro.text.regex.Perl5Matcher.__setLastMatchResult(Unknown
Source)
at org.apache.oro.text.regex.Perl5Matcher.getMatch(Unknown Source)
Here is what the API documentation says,
A MatchResult instance containing the pattern match found by the last call
to any one of the matches() or contains() methods. If no match was found by
the last call, returns null.
I believe this is a bug. Can you guys, please confirm?
If so, is there a fix or a workaround for this bug?
Any help will be greatly appreciated.
Thanks,
Balaji Prabhakaran
------=_NextPart_000_011A_01C9B229.72E519B0--