Bug 43468

Summary: HTMLManagerServlet NullPointerException listing context
Product: Tomcat 6 Reporter: Gary Feltham <gary.feltham>
Component: Manager applicationAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 6.0.14   
Target Milestone: default   
Hardware: Sun   
OS: Solaris   
URL: http://localhost:8080/manager/html/list

Description Gary Feltham 2007-09-24 18:46:12 UTC
Obtained the following NullPointerException, stack trace below

java.lang.NullPointerException
	org.apache.catalina.manager.HTMLManagerServlet.list(HTMLManagerServlet.java:437)
	org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)

Code is:

args[11] = new Integer(context.getManager().getMaxInactiveInterval()/60);

Seemingly the getManager() is returning null.
Comment 1 Mark Thomas 2008-01-16 15:50:00 UTC
This has been fixed in trunk and proposed for 6.0.x
Comment 2 Mark Thomas 2008-01-17 11:32:41 UTC
This has been fixed in svn and will be included in 6.0.16 onwards.