Users are receiving parse errors when JSF attempts to parse the faces-config.xml at startup time.
Stacktrace:
java.lang.NullPointerException
at com.sun.org.apache.commons.digester.Digester.setDocumentLocator
(Digester.java:1170)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startDocument
(AbstractSAXParser.java:282)
at
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startDocument
(XMLSchemaValidator.java:619)
at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startDocument
(XMLDTDValidator.java:663)
at
The root cause of the issue is the fact that Jetty's LogFactory.getLog(String) isn't fully fleshed out.
LogFactory.getLog(Class) works:
public static Log getLog (Class c)
{
Log log = (Log)_logs.get(c.getName());
if (log == null)
{
log = new JettyLog(c.getName());
_logs.put(c.getName(), log);
}
return log;
}
However, the implementation for LogFactory.getLog(String) is incomplete:
public static Log getLog (String str)
{
return (Log)_logs.get(str);
}
It should be performing the same logic as the working verion.