Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Submitted By: Eelco Hillenius (eelco12)
Assigned to: Greg Wilkins (gregwilkins)
Summary: avoid NPE when there is no WEB-INF dir
getWebInf dir in WebAppContext may return null, but
calling methods do not check for it. Attached is a
patch that does a null check and thus prevents Jetty
from throwing an NPE when used with a web app without
WEB-INF. Admitted, this is illegal according to the
servlet spec, but the extra check doesn't hurt, or
alternatively, Jetty could throw an exception with a
better error description.