DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40212>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40212





------- Additional Comments From [EMAIL PROTECTED]  2007-08-25 08:54 -------
Created an attachment (id=20709)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=20709&action=view)
Patch to fix the same NPE in Category.java

Here is a patch which fixes the same issue for Category.isXxxEnabled().

Two comments: Check the TODO in the patch. There are several places where
repository is written to despite the comment in setHierarchy(). To make the
patch compile, I had to make it protected.

Also, I'm not sure if anyone ever calls setHierarchy(null) during shutdown of
Log4j. So feel free to remove the code which uses "nulledBy". Otherwise, this
might help to track down these bugs.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to