Re: Error matching patterns problem

Torgeir Veimo <[email protected]> 25 Feb 2003 10:09:51 +0000
Newsgroups gmane.comp.java.securityfilter.user
Message-ID <[email protected]>
On Tue, 2003-02-25 at 06:10, Max Cooper wrote:
> Alexander,
> 
> It seems to occur in the Perl5Matcher.matches() method from the Jakarta-ORO
> regular expression library when it tries to match the form-login-page or
> form-error-page patterns. Your login and error page patterns look fine to
> me, so I am not sure what is going wrong.

> > I'm trying securityfilter 1.0 with tomcat 4.0.4 (under netbeans 3.4.1),
> > with Struts 1.1b3
> >
> > I get this error when starting the webapp:
> >
> > =====================================================
> >
> > javax.servlet.ServletException: Error matching patterns
> > at
> > ....
> >
> > root cause
> >
> > java.lang.NullPointerException
> > at
> org.securityfilter.filter.URLPatternMatcher.match(URLPatternMatcher.java:89)
> > at

Does the match algorithm check to see if the input it gets from the
servlet container is non-null?

-- 
Torgeir Veimo <[email protected]>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf