Details
Description
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)
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.
Activity
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Jan Bartel [ janb ] |
| Fix Version/s | 6.1.2rc0 [ 13151 ] | |
| Resolution | Fixed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Status | Resolved [ 5 ] | Closed [ 6 ] |