logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 47957] New: SyslogAppender does not validate the existence of Layout class
Date Thu, 08 Oct 2009 03:04:18 GMT
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: log4j-dev@logging.apache.org
        ReportedBy: sanker.s@gmail.com


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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message