Mantis - Resin
Viewing Issue Advanced Details
2445 minor always 02-17-08 04:43 02-19-08 10:42
stbu  
ferg  
normal  
closed 3.1.5  
fixed  
none    
none 3.1.5  
0002445: Snapshot s080215: NullPointerException while Logon in /resin-admin without username/password
It's not a big thing, but if you're accidentally hitting the <Submit> Button on the /resin-admin (PHP Administration app) without having a value in Username and Password, you'll get:

java.lang.NullPointerException
    at com.caucho.server.admin.ManagementAuthenticator.getUser(ManagementAuthenticator.java:72)
    at com.caucho.server.security.AbstractPasswordAuthenticator.loginImpl(AbstractPasswordAuthenticator.java:91)
    at com.caucho.server.security.AbstractAuthenticator.login(AbstractAuthenticator.java:219)
    at com.caucho.server.security.FormLoginServlet.service(FormLoginServlet.java:77)
    at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:103)
    at com.caucho.server.webapp.NamedDispatcherImpl.forward(NamedDispatcherImpl.java:108)
    at com.caucho.server.dispatch.ForwardFilterChain.doFilter(ForwardFilterChain.java:78)
    at com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:163)
    at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:181)
    at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:266)
    at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:269)
    at com.caucho.server.port.TcpConnection.run(TcpConnection.java:603)
    at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
    at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
    at java.lang.Thread.run(Thread.java:619


BTW: A <user ...> exists in resin.conf under <management ...>

Resin Professional 3.1.s080215 (built Fri, 15 Feb 2008 12:10:51 PST)
Windows XP 5.1 x86
Java 1.6.0_02-b06, 32, mixed mode, Cp1252, de, Sun Microsystems Inc.

There are no notes attached to this issue.