Bug 43181 - NullPointerException in MDC on Tomcat reload
Summary: NullPointerException in MDC on Tomcat reload
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
Depends on:
Reported: 2007-08-21 13:56 UTC by Curt Arnold
Modified: 2007-08-21 14:01 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2007-08-21 13:56:33 UTC
The underlying problem is the same as bug 40159 which dealt with the NDC.  The MDC code depends on 
non-private fields not being null.  Don't understand how the Tomcat reload interferes with what were 
intended to be class invariants, but since they can be modified outside the class, use inside the class 
should anticipate all potential values.
Comment 1 Curt Arnold 2007-08-21 14:01:22 UTC
Committed rev 568278.