https://issues.apache.org/bugzilla/show_bug.cgi?id=47957
Summary: SyslogAppender does not validate the existence of
Layout class
Product: Log4j
Version: 1.2
Platform: All
OS/Version: Windows XP
Status: NEW
Severity: blocker
Priority: P2
Component: Appender
AssignedTo: [email protected]
ReportedBy: [email protected]
Configure SyslogAppender with a Layout class that does not exist; it throws a
NullPointerException.
Following is the exception trace:
10052009 01:36:46 ERROR [Default : 1] struts.CPExceptionHandler.execute
RID[(null;25KbxlK0voima4h00ZLBQFC;236Al8E60000045C3A7D74272C4B4A61)]
Wrapping Exception in ModuleException
java.lang.NullPointerException
at org.apache.log4j.net.SyslogAppender.append(SyslogAppender.java:250)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at
org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65)
at org.apache.log4j.Category.callAppenders(Category.java:203)
at org.apache.log4j.Category.forcedLog(Category.java:388)
at org.apache.log4j.Category.info(Category.java:663)
.
.
.
.
.
.
.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]