Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002445 [Resin] minor always 02-17-08 04:43 02-19-08 10:42
Reporter stbu View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.5 Product Version 3.1.5
  Product Build
Summary 0002445: Snapshot s080215: NullPointerException while Logon in /resin-admin without username/password
Description 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 ...>

Steps To Reproduce
Additional Information 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.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
02-17-08 04:43 stbu New Issue
02-19-08 10:42 ferg Assigned To  => ferg
02-19-08 10:42 ferg Status new => closed
02-19-08 10:42 ferg Resolution open => fixed
02-19-08 10:42 ferg Fixed in Version  => 3.1.5


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker