Hi,
> PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
> ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
> AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
> DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
> BE LOST SOMEWHERE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3524
>
> *** shadow/3524 Mon Sep 10 07:40:23 2001
> --- shadow/3524.tmp.7486 Mon Sep 10 07:40:23 2001
> ***************
> *** 0 ****
> --- 1,72 ----
> +
+===========================================================================
=+
> + | NullPointerException in MemoryRealm
|
> +
+---------------------------------------------------------------------------
-+
> + | Bug #: 3524 Product: Tomcat 4
|
> + | Status: NEW Version: 4.0 Beta 8
|
> + | Resolution: Platform: PC
|
> + | Severity: Normal OS/Version: Windows NT/2K
|
> + | Priority: Other Component: Catalina
|
> +
+---------------------------------------------------------------------------
-+
> + | Assigned To: [EMAIL PROTECTED]
|
> + | Reported By: [EMAIL PROTECTED]
|
> + | CC list: Cc:
|
> +
+---------------------------------------------------------------------------
-+
> + | URL:
|
> +
+===========================================================================
=+
> + | DESCRIPTION
|
> + This is actually a bug for Tomcat 4.0 RC1 but that's not yet available
in
> + the "version" list :-)
> +
> + I'm getting a NullPointerException in MemoryRealm, line 213, when trying
to do
> + anything with BASIC authentication. (Will upload a test case in a
moment.) As
> + an alternative quick demonstration of the problem, the manager
application is
> + showing the problem.
> +
> + Symptoms:
> +
> + * In the browser window, "HTTP Status 500 - Internal Server Error" with
> + no further message
> + * In the catalina_log.2001-09-10.txt file, the following stack trace:
> +
> + 2001-09-10 14:24:01 HttpProcessor[80][0] process.invoke
> + java.lang.NullPointerException
> + at
org.apache.catalina.realm.MemoryRealm.authenticate(MemoryRealm.java:2
> + 13)
> + at
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(Bas
> + icAuthenticator.java:161)
> + at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
> + torBase.java:493)
> + at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> + .java:564)
> + at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> + a:472)
> + at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> + at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
> + 2366)
> + at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
> + ava:164)
> + at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> + .java:566)
> + at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> + 462)
> + at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> + .java:564)
> + at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> + a:472)
> + at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> + at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
> + ve.java:163)
> + at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
> + .java:566)
> + at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
> + a:472)
> + at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> + at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcesso
> + r.java:1005)
> + at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.ja
> + va:1098)
> + at java.lang.Thread.run(Unknown Source)
> +
> +
> + These lines of code (around MemoryRealm.java:213) are among those
altered
> + lately to do case-insensitive comparison of digested passwords.
Christopher, did you run the tester before committing your patch ? ;-)
Remy