Fixes https://issues.apache.org/bugzilla/post_bug.cgi
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1137996 13f79535-47bb-0310-9956-
ffa450edef68
try {
setFormatter((Formatter) cl.loadClass(formatterName).newInstance());
} catch (Exception e) {
- // Ignore
+ // Ignore and fallback to defaults
+ setFormatter(new SimpleFormatter());
}
} else {
setFormatter(new SimpleFormatter());
multiple occurrences of elements that are only allowed to appear once in
web.xml and web-fragment.xml. (kfujino)
</fix>
+ <add>
+ <bug>51403</bug>: Avoid NPE in JULI FileHandler if formatter is
+ misconfigured. (kkolinko)
+ </add>
</changelog>
</subsection>
<subsection name="Coyote">