Project: Tomcat
Bug 10972 <Realm> without className in server.xml produces NullPointerException
Reported: 2002-07-19 02:30:07 | Status: resolved fixed

If the className attribute is not included with the <Realm> tag in server.xml, the server dies with a cryptic NullPointerException. It would be nice if it produced a more meaningful error message (like "Missing className attribute for <Realm> tag").

Files changed in fix:
java/org/apache/catalina/startup/Catalina.java java/org/apache/tomcat/util/digester/Digester.java java/org/apache/tomcat/util/digester/ObjectCreateRule.java